RunpodR
Runpod2y ago
Hello

Safetensor safeopen OS Error device not found

Running inference on severless endpoint and this line of code:
with safetensors.safe_open(path, framework="pt", device="cpu") as f:


Throws
OSError: No such device (os error 19)


Running on RTX5000. Attached a network volume. The path used in the
safe_open
leads to a safetensor file in
/runpod-volume/example.safetensor


Anyone got this error before?
Was this page helpful?