How to quantize a Swin transformer model?

Hello,

I’m a beginner and I have a project where I need to quantize models using pytorch. I managed to find a way to quantize a resnet model but it seems like it doesn’t work on a Swin Tranformer model since this model has a different architecture. Has anyone any ideas on how to quantize a Swin transformer model?