Serveless memory problem when deploy Wav2Vec2 with custom inference code

Even after add transformers==4.19.2 as dependency in requirements.txt i got the same problem. I’m using transformers 4.17 in my local machine and works fine, only when deployed in sagemaker i found problems.