Skip to content

Install is not working #189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tcapelle opened this issue Apr 7, 2025 · 3 comments
Closed

Install is not working #189

tcapelle opened this issue Apr 7, 2025 · 3 comments

Comments

@tcapelle
Copy link

tcapelle commented Apr 7, 2025

Running python install.py on a fresh environment:

Traceback (most recent call last):
  File "/workspace/tritonbench/install.py", line 17, in <module>
    from tritonbench.utils.env_utils import is_hip
  File "/workspace/tritonbench/tritonbench/utils/env_utils.py", line 13, in <module>
    import torch
ModuleNotFoundError: No module named 'torch'
@tcapelle tcapelle changed the title INstall is not working Install is not working Apr 7, 2025
@xuzhao9
Copy link
Contributor

xuzhao9 commented Apr 8, 2025

Can you try if #190 fixes the issue?

@tcapelle
Copy link
Author

tcapelle commented Apr 8, 2025

Fresh env:

(tritonbench) root@devpod-0:/workspace/tritonbench# python install.py 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'torch'
Traceback (most recent call last):
  File "/workspace/tritonbench/install.py", line 26, in <module>
    cuda_version = CUDA_VERSION_MAP[detect_cuda_version_with_nvcc(env)][
  File "/workspace/tritonbench/tools/cuda_utils.py", line 23, in detect_cuda_version_with_nvcc
    output = subprocess.check_output(test_nvcc, stderr=subprocess.STDOUT).decode()
  File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 503, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'nvcc'

@xuzhao9
Copy link
Contributor

xuzhao9 commented Apr 8, 2025

@tcapelle Updated, can you help retry?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants