runtime error
Exit code: 1. Reason: args) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1610, in load return _load( File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 2221, in _load result = unpickler.load() File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 2210, in find_class return super().find_class(mod_name, name) File "/usr/local/lib/python3.10/site-packages/fastcore/transform.py", line 2, in __getattr__ raise ImportError( ImportError: Could not import 'Pipeline' from fastcore.transform - this module has been moved to the fasttransform package. To migrate your code, please see the migration guide at: https://answerdotai.github.io/fasttransform/fastcore_migration_guide.html During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 11, in <module> learner = from_pretrained_fastai(repo_id) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/fastai_utils.py", line 331, in from_pretrained_fastai return load_learner(os.path.join(storage_folder, "model.pkl")) File "/usr/local/lib/python3.10/site-packages/fastai/learner.py", line 460, in load_learner raise RuntimeError(f"Loading model {fname=}, attempted to import from `fastcore.dispatch` and/or `fastcore.transform` which are deprecated in `fastai>=2.8.0`.\nDowngrade to `fastai<2.8.0` if you want to load this model.") RuntimeError: Loading model fname='/home/user/.cache/huggingface/hub/models--igmarco--AWD_LSTM-text-classification/snapshots/4ee211ca89f4d08e944bc0fe4c8612a4f1f6cc38/model.pkl', attempted to import from `fastcore.dispatch` and/or `fastcore.transform` which are deprecated in `fastai>=2.8.0`. Downgrade to `fastai<2.8.0` if you want to load this model. Download complete: 100%|ββββββββββ| 139M/139M [00:02<00:00, 54.0MB/s]
Container logs:
Fetching error logs...