Error Trying Inference
#57
by JPLabsAI - opened
^^^^^^^^^^^^
File "/home/Ubuntu/miniconda3/lib/python3.12/site-packages/torch/init.py", line 1938, in getattr
raise AttributeError(f"module '{name}' has no attribute '{name}'")
AttributeError: module 'torch' has no attribute 'uint64'
I got this error. I dont know why. I just installed transformers and run the code.
pip install safetensors==0.5.3 works for me.