runtime error
Exit code: 1. Reason: or `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. checkpoint_dict = torch.load(checkpoint_path, map_location='cpu') Traceback (most recent call last): File "/home/user/app/app.py", line 206, in <module> hubert = torch.hub.load("bshall/hubert:main", "hubert_soft", trust_repo=True).to(device) File "/usr/local/lib/python3.10/site-packages/torch/hub.py", line 638, in load repo_or_dir = _get_cache_or_reload( File "/usr/local/lib/python3.10/site-packages/torch/hub.py", line 258, in _get_cache_or_reload _validate_not_a_forked_repo(repo_owner, repo_name, ref) File "/usr/local/lib/python3.10/site-packages/torch/hub.py", line 203, in _validate_not_a_forked_repo response = json.loads(_read_url(Request(url, headers=headers))) File "/usr/local/lib/python3.10/site-packages/torch/hub.py", line 185, in _read_url with urlopen(url) as r: File "/usr/local/lib/python3.10/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout) File "/usr/local/lib/python3.10/urllib/request.py", line 525, in open response = meth(req, response) File "/usr/local/lib/python3.10/urllib/request.py", line 634, in http_response response = self.parent.error( File "/usr/local/lib/python3.10/urllib/request.py", line 563, in error return self._call_chain(*args) File "/usr/local/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(*args) File "/usr/local/lib/python3.10/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 504: Gateway Timeout
Container logs:
Fetching error logs...