Closed Clement-Lelievre closed 2 months ago
thanks for reporting @Clement-Lelievre
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
same error
It appears that safetensors model files stored in certain mounted directories, such as Ceph, may encounter this issue. Copying the model to the local hard drive (" ~/ ") allows it to load correctly. Additionally, saving it as a .bin model file does not encounter this issue. Maybe the same problem here
System Info
safetensors 0.4.3
transformers
version: 4.39.3Information
Reproduction
mkdir some_folder/
this produces the error
OSError: No such device (os error 19)
Expected behavior
instead of an error mentioning a missing device, it should say that the path passed does not point to a safetensors file, or am I missing something?