You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to create bentoml.Model from my local pretrained model.
I am following "BentoVLLM/llama2-7b-chat/import_models.py" file and I get error on this code. model.save_pretrained(bento_model_ref.path) safetensors_rust.SafetensorError: Error while serializing: IoError(Os { code: 28, kind: StorageFull, message: "No space left on device" })
bento_model_ref.path returned "/tmp/tmpgh8al39tbentoml_mymodel", but my computer doesn't have enough space on "/tmp".
I tried to change this path but I couldn't find the exact code line which returns "/tmp/..."
I found getsyspath() return "/tmp/..." prefix, but I could not find its implementation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am trying to create bentoml.Model from my local pretrained model.
I am following "BentoVLLM/llama2-7b-chat/import_models.py" file and I get error on this code.
model.save_pretrained(bento_model_ref.path)
safetensors_rust.SafetensorError: Error while serializing: IoError(Os { code: 28, kind: StorageFull, message: "No space left on device" })
bento_model_ref.path returned "/tmp/tmpgh8al39tbentoml_mymodel", but my computer doesn't have enough space on "/tmp".
I tried to change this path but I couldn't find the exact code line which returns "/tmp/..."
I found getsyspath() return "/tmp/..." prefix, but I could not find its implementation.
Can anybody help me to change bentoml.Model.path?
Beta Was this translation helpful? Give feedback.
All reactions