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
Using the bigscience/bloom-560m base model and finetuning with PEFT / LoRA, I was able to export to ONNX and perform inference, but the model predictions are degraded 🤔 Details: #670
Not sure whether ONNX export after PEFT / LoRA finetuning is actually supported yet.
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
@pacman100
hi,thanks for your excellent work
is there any way to convert a peft model to onnx?
i saw a pull request but it isn't merged.it is in the following link:
https://github.com/huggingface/peft/blob/smangrul/add-lora-model-to-onnx-conversion-notebook/examples/inference/convert_lora_model_to_onnx.ipynb
and using the code gives the following error:
AttributeError: 'str' object has no attribute 'detach'
any help is really appreciated.
The text was updated successfully, but these errors were encountered: