runtime error

Exit code: 1. Reason: o initialize NumPy: _ARRAY_API not found (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:68.) example_input = torch.tensor([[-3, -2, -1], [0, 1, 2]]) .gitattributes: 0%| | 0.00/1.52k [00:00<?, ?B/s] .gitattributes: 100%|██████████| 1.52k/1.52k [00:00<00:00, 8.07MB/s] README.md: 0%| | 0.00/768 [00:00<?, ?B/s] README.md: 100%|██████████| 768/768 [00:00<00:00, 4.57MB/s] model.pkl: 0%| | 0.00/47.0M [00:00<?, ?B/s] model.pkl: 100%|██████████| 47.0M/47.0M [00:00<00:00, 68.0MB/s] pyproject.toml: 0%| | 0.00/163 [00:00<?, ?B/s] pyproject.toml: 100%|██████████| 163/163 [00:00<00:00, 676kB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 10, in <module> learner = from_pretrained_fastai(repo_id) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/fastai_utils.py", line 339, 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 413, in load_learner try: res = torch.load(fname, map_location=map_loc, pickle_module=pickle_module) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 712, in load return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args) File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1046, in _load result = unpickler.load() File "/usr/local/lib/python3.10/site-packages/torch/_tensor.py", line 65, in _rebuild_from_type_v2 for k, v in dict_state.items(): AttributeError: Custom classes or functions exported with your `Learner` are not available in the namespace currently. Please re-declare or import them before calling `load_learner`: 'NoneType' object has no attribute 'items'

Container logs:

Fetching error logs...