Dose DDP code compatible with a single card?

I have only one RTX3060, but I want to write my training code as form of DDP, hoping that DDP can compatible with one card condiction, is it possible?

DDP is compatible with single GPUs in a sense as it will fallback to a plain model and won’t use any distributed calls.