runtime error
Exit code: 3. Reason: le, **load_kwargs) 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 "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 638, in lifespan async with self.lifespan_context(app) as maybe_state: File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 257, in __aenter__ await self._router._startup() File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 6324, in _startup await handler() File "/app/server.py", line 18, in startup_event learn = (await asyncio.gather(*tasks))[0] File "/app/learner.py", line 24, in setup_learner learn = load_learner(model_filename) 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='/app/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. ERROR: Application startup failed. Exiting.
Container logs:
Fetching error logs...