Deployed HF model from the hub and got an error: 'numpy.ndarray' object has no attribute 'pop'

Yes, I do make it with Serverless (I feel uncomfortable without git taking care of all my changes).

Thanks for pointing to this approach. I’ve already had this plugin installed, so I just added to requirements.txt

sagemaker == 2.59.1

It increased my package size from 40mb to 70mb, but so far that’s fine (while it is less than 250mb limit of lambda).

You are helping me the second time within the single day @philschmid

Thank you

:handshake:

1 Like