JarodMica / audiosplitter_whisper

MIT License
91 stars 35 forks source link

error while exec setup-cuda.py #2

Closed zhiyixu closed 1 year ago

zhiyixu commented 1 year ago

Hi there,

thanks for this repo.

when i setup this repo by python setup-cuda.py i got errors below, i understand that to solve this problem i should edit some requirements.txt file remove the platform_system == "Linux" and platform_machine == "x86_64" because i know that i am with linux, but i don't know which file should i edit.

please give me some advise.

  Cloning https://github.com/pyannote/pyannote-audio (to revision 11b56a137a578db9335efc00298f6ec1932e6317) to /tmp/pip-install-qvyhc3rj/pyannote.audio
  Running command git clone -q https://github.com/pyannote/pyannote-audio /tmp/pip-install-qvyhc3rj/pyannote.audio
  Running command git checkout -q 11b56a137a578db9335efc00298f6ec1932e6317
  Running command git submodule update --init --recursive -q
Collecting triton==2.0.0; platform_system == "Linux" and platform_machine == "x86_64" (from torch==2.0.0+cu118->-r requirements-cuda.txt (line 4))
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='download.pytorch.org', port=443): Read timed out. (read timeout=15)")': /whl/torch_stable.html
  ERROR: Could not find a version that satisfies the requirement triton==2.0.0; platform_system == "Linux" and platform_machine == "x86_64" (from torch==2.0.0+cu118->-r requirements-cuda.txt (line 4)) (from versions: 0.4.1, 0.4.2)
ERROR: No matching distribution found for triton==2.0.0; platform_system == "Linux" and platform_machine == "x86_64" (from torch==2.0.0+cu118->-r requirements-cuda.txt (line 4))
JarodMica commented 1 year ago

You'll have to check here for pytorch: https://pytorch.org/

I believe you should be able to run the CPU version of the setup and be fine, though I don't run linux so I'm not too sure here.

zhiyixu commented 1 year ago

ok, i will have a try. thx