Closed sharik-siddiqi closed 3 months ago
The error message you received indicates that pip is unable to find a compatible version of the triton
package required by nemo-toolkit
. Try install triton manually.
# Upgrade pip
python --upgrade pip
# Download the appropriate Triton from https://github.com/openai/triton/releases
pip install [path_to_downloaded_file]
# Install NeMo toolkit with ASR (Automatic Speech Recognition) support
pip install nemo_toolkit[asr]
I cant get it to work either. Seems like it tries to download cuda v12 for some reason and that for linux even though im on windows. maybe it doesnt even work for windows?
pip install C:\Users\Anix\Downloads\triton\python
Processing c:\users\anix\downloads\triton\python
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [32 lines of output]
downloading and extracting https://anaconda.org/nvidia/cuda-nvcc/12.4.99/download/linux-AMD64/cuda-nvcc-12.4.99-0.tar.bz2 ...
Traceback (most recent call last):
File "C:\Users\Anix\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\Anix\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\Anix\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\Anix\AppData\Local\Temp\pip-build-env-keenrn03\overlay\Lib\site-packages\setuptools\build_meta.py", line 327, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "C:\Users\Anix\AppData\Local\Temp\pip-build-env-keenrn03\overlay\Lib\site-packages\setuptools\build_meta.py", line 297, in _get_build_requires
self.run_setup()
File "C:\Users\Anix\AppData\Local\Temp\pip-build-env-keenrn03\overlay\Lib\site-packages\setuptools\build_meta.py", line 497, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\Anix\AppData\Local\Temp\pip-build-env-keenrn03\overlay\Lib\site-packages\setuptools\build_meta.py", line 313, in run_setup
exec(code, locals())
File "<string>", line 439, in <module>
File "<string>", line 268, in download_and_copy
File "<string>", line 199, in open_url
File "C:\Users\Anix\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\Anix\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 525, in open
response = meth(req, response)
File "C:\Users\Anix\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 634, in http_response
response = self.parent.error(
File "C:\Users\Anix\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 563, in error
return self._call_chain(*args)
File "C:\Users\Anix\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
File "C:\Users\Anix\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I've got this working on windows. Writing the process down here for my future self's sake:
Using Anaconda powershell prompt (miniconda3)
should be fixed now without workarounds as triton is no longer required by NeMo
I tried to follow the steps for my Windows PC but I'm facing the following issues: