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
uv run save.py will save a model with custom code that has another module to a folder with ".". uv run load.py will fail loading the saved model.
If we remove the relative import from model.py it works. If we remove the dot from the model name it also works.
Expected behavior
AutoModel.from_pretrained("MyModel-v1.0") should work.
XuehaiPan, ido-deci, eladsegal, aeeeeeep and itayleXuehaiPan