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
is valid for stable releases, but unfortunately fails on the pytorch-nightly versions strings which look like this: pytorch-2.0.0.dev20230107. This is causing our torchhub CI to fail with the following error:
E Traceback (most recent call last):
E File "python_code/snakers4_silero-vad_vad.py", line 9, in <module>
E model, utils = torch.hub.load(repo_or_dir='snakers4/silero-vad',
E File "/home/circleci/miniconda3/lib/python3.8/site-packages/torch/hub.py", line 543, in load
E model = _load_local(repo_or_dir, model, *args, **kwargs)
E File "/home/circleci/miniconda3/lib/python3.8/site-packages/torch/hub.py", line 573, in _load_local
E model = entry(*args, **kwargs)
E File "/home/circleci/.cache/torch/hub/snakers4_silero-vad_master/hubconf.py", line 32, in silero_vad
E if versiontuple(installed_version) < versiontuple(supported_version):
E File "/home/circleci/.cache/torch/hub/snakers4_silero-vad_master/hubconf.py", line 20, in versiontuple
E return tuple(map(int, (v.split('+')[0].split("."))))
E ValueError: invalid literal for int() with base 10: 'dev20230105'
Would you mind updating the version check to something that can handle the .devXYZ suffix? Thank you!
The text was updated successfully, but these errors were encountered:
The version check introduced here:
silero-vad/hubconf.py
Lines 19 to 20 in e7c4539
is valid for stable releases, but unfortunately fails on the pytorch-nightly versions strings which look like this:
pytorch-2.0.0.dev20230107
. This is causing our torchhub CI to fail with the following error:Would you mind updating the version check to something that can handle the
.devXYZ
suffix? Thank you!The text was updated successfully, but these errors were encountered: