Skip to content

nvcc problem? bare_metal version is not defined error? #12

@kimnamwook1

Description

@kimnamwook1

I use Anaconda prompt to install this program. I also install cuda 12.5 version too.

(video_infinity_vc2) D:\Development\Video-Infinity>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Wed_Apr_17_19:36:51_Pacific_Daylight_Time_2024
Cuda compilation tools, release 12.5, V12.5.40
Build cuda_12.5.r12.5/compiler.34177558_0

But still when I enter "pip install -r requirements.txt" command, this error comes out.

Using cached causal_conv1d-1.2.0.post2.tar.gz (7.1 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [13 lines of output]
      C:\Users\79223\AppData\Local\Temp\pip-install-z5nw_b1t\causal-conv1d_9a4ebdf4e08b4f789917ba615aed14fb\setup.py:74: UserWarning: causal_conv1d was requested, but nvcc was not found.  Are you sure your environment has nvcc available?  If you're installing within a container from https://hub.docker.com/r/pytorch/pytorch, only images whose names contain 'devel' will provide nvcc.
        warnings.warn(
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\79223\AppData\Local\Temp\pip-install-z5nw_b1t\causal-conv1d_9a4ebdf4e08b4f789917ba615aed14fb\setup.py", line 108, in <module>
          if bare_metal_version >= Version("11.8"):
      NameError: name 'bare_metal_version' is not defined


      torch.__version__  = 2.3.1+cpu


      [end of output]

I found some solutions for nvcc and nccl problem, So i download nccl 2.21.5 and solve .tar file and add to 'system variable' 's path too but still problem doesnt solve.
image

I use Window 11 environment. How can I solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions