NVlabs / curobo

CUDA Accelerated Robot Library
https://curobo.org
Other
662 stars 86 forks source link

Installing curobo #287

Closed FrankSun1231 closed 1 week ago

FrankSun1231 commented 1 month ago

I already successfully installed the CUDA11.5. when I try to do this command: pip install -e . --no-build-isolation

Building editable for nvidia_curobo (pyproject.toml) ... error error: subprocess-exited-with-error

× Building editable for nvidia_curobo (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [147 lines of output] /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options !!

          ********************************************************************************
          Usage of dash-separated 'long-description-content-type' will not be supported in future
          versions. Please use the underscore name 'long_description_content_type' instead.

          By 2024-Sep-26, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  running editable_wheel
  creating /tmp/pip-wheel-ig7ucyxq/.tmp-0a3hylwj/nvidia_curobo.egg-info
  writing /tmp/pip-wheel-ig7ucyxq/.tmp-0a3hylwj/nvidia_curobo.egg-info/PKG-INFO
  writing dependency_links to /tmp/pip-wheel-ig7ucyxq/.tmp-0a3hylwj/nvidia_curobo.egg-info/dependency_links.txt
  writing requirements to /tmp/pip-wheel-ig7ucyxq/.tmp-0a3hylwj/nvidia_curobo.egg-info/requires.txt
  writing top-level names to /tmp/pip-wheel-ig7ucyxq/.tmp-0a3hylwj/nvidia_curobo.egg-info/top_level.txt
  writing manifest file '/tmp/pip-wheel-ig7ucyxq/.tmp-0a3hylwj/nvidia_curobo.egg-info/SOURCES.txt'
  /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py:499: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
    warnings.warn(msg.format('we could not find ninja.'))
  reading manifest template 'MANIFEST.in'
  warning: no directories found matching 'src/curobo/curobolib/*.so'
  adding license file 'LICENSE'
  writing manifest file '/tmp/pip-wheel-ig7ucyxq/.tmp-0a3hylwj/nvidia_curobo.egg-info/SOURCES.txt'
  creating '/tmp/pip-wheel-ig7ucyxq/.tmp-0a3hylwj/nvidia_curobo-0.7.2.post1.dev8.dist-info'
  creating /tmp/pip-wheel-ig7ucyxq/.tmp-0a3hylwj/nvidia_curobo-0.7.2.post1.dev8.dist-info/WHEEL
  running build_py
  running build_ext
  Traceback (most recent call last):
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 155, in run
      self._create_wheel_file(bdist_wheel)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 357, in _create_wheel_file
      files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 280, in _run_build_commands
      self._run_build_subcommands()
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 307, in _run_build_subcommands
      self.run_command(name)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
      self.distribution.run_command(command)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/dist.py", line 968, in run_command
      super().run_command(command)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 91, in run
      _build_ext.run(self)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
      self.build_extensions()
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 522, in build_extensions
      _check_cuda_version(compiler_name, compiler_version)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 417, in _check_cuda_version
      raise RuntimeError(CUDA_MISMATCH_MESSAGE.format(cuda_str_version, torch.version.cuda))
  RuntimeError:
  The detected CUDA version (11.5) mismatches the version that was used to compile
  PyTorch (12.1). Please make sure to use the same CUDA versions.

  /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/dist.py:988: _DebuggingTips: Problem in editable installation.
  !!

          ********************************************************************************
          An error happened while installing `nvidia_curobo` in editable mode.

          The following steps are recommended to help debug this problem:

          - Try to install the project normally, without using the editable mode.
            Does the error still persist?
            (If it does, try fixing the problem before attempting the editable mode).
          - If you are using binary extensions, make sure you have all OS-level
            dependencies installed (e.g. compilers, toolchains, binary libraries, ...).
          - Try the latest version of setuptools (maybe the error was already fixed).
          - If you (or your project dependencies) are using any setuptools extension
            or customization, make sure they support the editable mode.

          After following the steps above, if the problem still persists and
          you think this is related to how setuptools handles editable installations,
          please submit a reproducible example
          (see https://stackoverflow.com/help/minimal-reproducible-example) to:

              https://github.com/pypa/setuptools/issues

          See https://setuptools.pypa.io/en/latest/userguide/development_mode.html for details.
          ********************************************************************************

  !!
    cmd_obj.run()
  Traceback (most recent call last):
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 273, in build_editable
      return hook(wheel_directory, config_settings, metadata_directory)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/build_meta.py", line 443, in build_editable
      return self._build_with_temp_dir(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir
      self.run_setup()
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 81, in <module>
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
      return distutils.core.setup(**attrs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 184, in setup
      return run_commands(dist)
             ^^^^^^^^^^^^^^^^^^
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
      dist.run_commands()
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/dist.py", line 968, in run_command
      super().run_command(command)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 155, in run
      self._create_wheel_file(bdist_wheel)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 357, in _create_wheel_file
      files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 280, in _run_build_commands
      self._run_build_subcommands()
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 307, in _run_build_subcommands
      self.run_command(name)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
      self.distribution.run_command(command)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/dist.py", line 968, in run_command
      super().run_command(command)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 91, in run
      _build_ext.run(self)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
      self.build_extensions()
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 522, in build_extensions
      _check_cuda_version(compiler_name, compiler_version)
    File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 417, in _check_cuda_version
      raise RuntimeError(CUDA_MISMATCH_MESSAGE.format(cuda_str_version, torch.version.cuda))
  RuntimeError:
  The detected CUDA version (11.5) mismatches the version that was used to compile
  PyTorch (12.1). Please make sure to use the same CUDA versions.

  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building editable for nvidia_curobo Failed to build nvidia_curobo ERROR: Could not build wheels for nvidia_curobo, which is required to install pyproject.toml-based projects

device: lenovo R9000p2021 wsl Nvidia GeForce RTX 3060

nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Thu_Nov_18_09:45:30_PST_2021 Cuda compilation tools, release 11.5, V11.5.119 Build cuda_11.5.r11.5/compiler.30672275_0

python -c "import torch; print(torch.version)" 2.3.0+rocm6.0

blooop commented 1 month ago
RuntimeError:
  The detected CUDA version (11.5) mismatches the version that was used to compile
  PyTorch (12.1). Please make sure to use the same CUDA versions.

It looks like you need update your CUDA version.

Also see: https://github.com/NVlabs/curobo/issues/282#issuecomment-2129713296

FrankSun1231 commented 1 month ago

Thanks for your reply. I just installed the CUDA11.8 and the torch 2.21. but there a new problem happened with same command: pip install -e . --no-build-isolation seems this time is not the cuda and pytorch problem.

note for cuda, pytorch, setup tools and wheels

python -c "import torch; print(torch.version)" 2.2.1+cu118 nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Wed_Sep_21_10:33:58_PDT_2022 Cuda compilation tools, release 11.8, V11.8.89 Build cuda_11.8.r11.8/compiler.31833905_0

pip show setuptools: Name: setuptools Version: 70.0.0 Summary: Easily download, build, install, upgrade, and uninstall Python packages Home-page: https://github.com/pypa/setuptools Author: Python Packaging Authority Author-email: distutils-sig@python.org License: Location: /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages Requires: Required-by: action-tutorials-py, ament-copyright, ament-cppcheck, ament-cpplint, ament-flake8, ament-index-python, ament-lint, ament-lint-cmake, ament-pep257, ament-uncrustify, ament-xmllint, demo-nodes-py, domain-coordinator, examples-rclpy-executors, examples-rclpy-minimal-action-client, examples-rclpy-minimal-action-server, examples-rclpy-minimal-client, examples-rclpy-minimal-publisher, examples-rclpy-minimal-service, examples-rclpy-minimal-subscriber, joint-state-publisher, joint-state-publisher-gui, launch, launch-ros, launch-testing, launch-testing-ros, launch-xml, launch-yaml, quality-of-service-demo-py, rqt-action, rqt-bag, rqt-bag-plugins, rqt-console, rqt-controller-manager, rqt-gauges, rqt-graph, rqt-gui, rqt-gui-py, rqt-joint-trajectory-controller, rqt-moveit, rqt-msg, rqt-plot, rqt-publisher, rqt-py-console, rqt-reconfigure, rqt-robot-dashboard, rqt-robot-monitor, rqt-robot-steering, rqt-runtime-monitor, rqt-service-caller, rqt-shell, rqt-srv, rqt-tf-tree, rqt-topic, sensor-msgs-py, sros2, teleop-twist-keyboard, tf2-ros-py, tf2-tools, topic-monitor

pip show wheel: Name: wheel Version: 0.43.0 Summary: A built-package format for Python Home-page: Author: Author-email: Daniel Holth dholth@fastmail.fm License: Location: /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages Requires: Required-by:

note for cuda, pytorch, setup tools and wheels

typical problem:

File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 1976, in _get_cuda_arch_flags arch_list[-1] += '+PTX'


      IndexError: list index out of range
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building editable for nvidia_curobo
Failed to build nvidia_curobo
ERROR: Could not build wheels for nvidia_curobo, which is required to install pyproject.toml-based projects

# whole problem view below.

(cse571project) dengws@dengws--R9000P2021H:~/Desktop/571project/curobo$ pip install -e . --no-build-isolation
Obtaining file:///home/dengws/Desktop/571project/curobo
  Checking if build backend supports build_editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting pybind11 (from nvidia_curobo==0.0.0)
  Using cached pybind11-2.12.0-py3-none-any.whl.metadata (9.5 kB)
Requirement already satisfied: networkx in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from nvidia_curobo==0.0.0) (3.3)
Requirement already satisfied: numpy in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from nvidia_curobo==0.0.0) (1.26.4)
Collecting numpy-quaternion (from nvidia_curobo==0.0.0)
  Using cached numpy_quaternion-2023.0.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (14 kB)
Collecting pyyaml (from nvidia_curobo==0.0.0)
  Using cached PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting setuptools-scm>=6.2 (from nvidia_curobo==0.0.0)
  Using cached setuptools_scm-8.1.0-py3-none-any.whl.metadata (6.6 kB)
Requirement already satisfied: torch>=1.10 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from nvidia_curobo==0.0.0) (2.2.1+cu118)
Collecting trimesh (from nvidia_curobo==0.0.0)
  Using cached trimesh-4.4.0-py3-none-any.whl.metadata (18 kB)
Collecting yourdfpy>=0.0.53 (from nvidia_curobo==0.0.0)
  Using cached yourdfpy-0.0.56-py3-none-any.whl.metadata (9.1 kB)
Collecting warp-lang>=0.9.0 (from nvidia_curobo==0.0.0)
  Using cached warp_lang-1.1.0-py3-none-manylinux2014_x86_64.whl.metadata (18 kB)
Collecting scipy>=1.7.0 (from nvidia_curobo==0.0.0)
  Using cached scipy-1.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
Collecting tqdm (from nvidia_curobo==0.0.0)
  Using cached tqdm-4.66.4-py3-none-any.whl.metadata (57 kB)
Requirement already satisfied: wheel in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from nvidia_curobo==0.0.0) (0.43.0)
Collecting importlib-resources (from nvidia_curobo==0.0.0)
  Using cached importlib_resources-6.4.0-py3-none-any.whl.metadata (3.9 kB)
Collecting scikit-image (from nvidia_curobo==0.0.0)
  Using cached scikit_image-0.23.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (14 kB)
Collecting packaging>=20 (from setuptools-scm>=6.2->nvidia_curobo==0.0.0)
  Using cached packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Requirement already satisfied: setuptools in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from setuptools-scm>=6.2->nvidia_curobo==0.0.0) (70.0.0)
Requirement already satisfied: filelock in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (3.14.0)
Requirement already satisfied: typing-extensions>=4.8.0 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (4.12.0)
Requirement already satisfied: sympy in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (1.12.1)
Requirement already satisfied: jinja2 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (3.1.4)
Requirement already satisfied: fsspec in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (2024.5.0)
Requirement already satisfied: nvidia-cuda-nvrtc-cu11==11.8.89 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (11.8.89)
Requirement already satisfied: nvidia-cuda-runtime-cu11==11.8.89 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (11.8.89)
Requirement already satisfied: nvidia-cuda-cupti-cu11==11.8.87 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (11.8.87)
Requirement already satisfied: nvidia-cudnn-cu11==8.7.0.84 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (8.7.0.84)
Requirement already satisfied: nvidia-cublas-cu11==11.11.3.6 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (11.11.3.6)
Requirement already satisfied: nvidia-cufft-cu11==10.9.0.58 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (10.9.0.58)
Requirement already satisfied: nvidia-curand-cu11==10.3.0.86 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (10.3.0.86)
Requirement already satisfied: nvidia-cusolver-cu11==11.4.1.48 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (11.4.1.48)
Requirement already satisfied: nvidia-cusparse-cu11==11.7.5.86 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (11.7.5.86)
Requirement already satisfied: nvidia-nccl-cu11==2.19.3 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (2.19.3)
Requirement already satisfied: nvidia-nvtx-cu11==11.8.86 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (11.8.86)
Requirement already satisfied: triton==2.2.0 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from torch>=1.10->nvidia_curobo==0.0.0) (2.2.0)
Collecting lxml (from yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached lxml-5.2.2-cp311-cp311-manylinux_2_28_x86_64.whl.metadata (3.4 kB)
Collecting six (from yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting pillow>=9.1 (from scikit-image->nvidia_curobo==0.0.0)
  Using cached pillow-10.3.0-cp311-cp311-manylinux_2_28_x86_64.whl.metadata (9.2 kB)
Collecting imageio>=2.33 (from scikit-image->nvidia_curobo==0.0.0)
  Using cached imageio-2.34.1-py3-none-any.whl.metadata (4.9 kB)
Collecting tifffile>=2022.8.12 (from scikit-image->nvidia_curobo==0.0.0)
  Using cached tifffile-2024.5.22-py3-none-any.whl.metadata (30 kB)
Collecting lazy-loader>=0.4 (from scikit-image->nvidia_curobo==0.0.0)
  Using cached lazy_loader-0.4-py3-none-any.whl.metadata (7.6 kB)
Collecting colorlog (from trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached colorlog-6.8.2-py3-none-any.whl.metadata (10 kB)
Collecting mapbox-earcut (from trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached mapbox_earcut-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.0 kB)
Collecting chardet (from trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
Collecting jsonschema (from trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached jsonschema-4.22.0-py3-none-any.whl.metadata (8.2 kB)
Collecting svg.path (from trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached svg.path-6.3-py2.py3-none-any.whl.metadata (13 kB)
Collecting pycollada (from trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached pycollada-0.8-py3-none-any.whl
Collecting shapely (from trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached shapely-2.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.0 kB)
Collecting xxhash (from trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached xxhash-3.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (12 kB)
Collecting rtree (from trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached Rtree-1.2.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.1 kB)
Collecting httpx (from trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached httpx-0.27.0-py3-none-any.whl.metadata (7.2 kB)
Collecting embreex (from trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached embreex-2.17.7.post4-cp311-cp311-manylinux_2_28_x86_64.whl.metadata (3.0 kB)
Collecting vhacdx (from trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached vhacdx-0.0.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.1 kB)
Collecting xatlas (from trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached xatlas-0.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.9 kB)
Requirement already satisfied: MarkupSafe>=2.0 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from jinja2->torch>=1.10->nvidia_curobo==0.0.0) (2.1.5)
Requirement already satisfied: mpmath<1.4.0,>=1.1.0 in /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages (from sympy->torch>=1.10->nvidia_curobo==0.0.0) (1.3.0)
Collecting anyio (from httpx->trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached anyio-4.4.0-py3-none-any.whl.metadata (4.6 kB)
Collecting certifi (from httpx->trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)
Collecting httpcore==1.* (from httpx->trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached httpcore-1.0.5-py3-none-any.whl.metadata (20 kB)
Collecting idna (from httpx->trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached idna-3.7-py3-none-any.whl.metadata (9.9 kB)
Collecting sniffio (from httpx->trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx->trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
Collecting attrs>=22.2.0 (from jsonschema->trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)
Collecting jsonschema-specifications>=2023.03.6 (from jsonschema->trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB)
Collecting referencing>=0.28.4 (from jsonschema->trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached referencing-0.35.1-py3-none-any.whl.metadata (2.8 kB)
Collecting rpds-py>=0.7.1 (from jsonschema->trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached rpds_py-0.18.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB)
Collecting python-dateutil>=2.2 (from pycollada->trimesh[easy]>=3.11.2->yourdfpy>=0.0.53->nvidia_curobo==0.0.0)
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Using cached scipy-1.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.6 MB)
Using cached setuptools_scm-8.1.0-py3-none-any.whl (43 kB)
Using cached warp_lang-1.1.0-py3-none-manylinux2014_x86_64.whl (58.0 MB)
Using cached yourdfpy-0.0.56-py3-none-any.whl (22 kB)
Using cached trimesh-4.4.0-py3-none-any.whl (694 kB)
Using cached importlib_resources-6.4.0-py3-none-any.whl (38 kB)
Using cached numpy_quaternion-2023.0.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (196 kB)
Using cached pybind11-2.12.0-py3-none-any.whl (234 kB)
Using cached PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (757 kB)
Using cached scikit_image-0.23.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.7 MB)
Using cached tqdm-4.66.4-py3-none-any.whl (78 kB)
Using cached imageio-2.34.1-py3-none-any.whl (313 kB)
Using cached lazy_loader-0.4-py3-none-any.whl (12 kB)
Using cached packaging-24.0-py3-none-any.whl (53 kB)
Using cached pillow-10.3.0-cp311-cp311-manylinux_2_28_x86_64.whl (4.5 MB)
Using cached tifffile-2024.5.22-py3-none-any.whl (225 kB)
Using cached lxml-5.2.2-cp311-cp311-manylinux_2_28_x86_64.whl (5.0 MB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached chardet-5.2.0-py3-none-any.whl (199 kB)
Using cached colorlog-6.8.2-py3-none-any.whl (11 kB)
Using cached embreex-2.17.7.post4-cp311-cp311-manylinux_2_28_x86_64.whl (17.0 MB)
Using cached httpx-0.27.0-py3-none-any.whl (75 kB)
Using cached httpcore-1.0.5-py3-none-any.whl (77 kB)
Using cached jsonschema-4.22.0-py3-none-any.whl (88 kB)
Using cached mapbox_earcut-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104 kB)
Using cached Rtree-1.2.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (535 kB)
Using cached shapely-2.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB)
Using cached svg.path-6.3-py2.py3-none-any.whl (16 kB)
Using cached vhacdx-0.0.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (208 kB)
Using cached xatlas-0.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (229 kB)
Using cached xxhash-3.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (194 kB)
Using cached attrs-23.2.0-py3-none-any.whl (60 kB)
Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached referencing-0.35.1-py3-none-any.whl (26 kB)
Using cached rpds_py-0.18.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Using cached anyio-4.4.0-py3-none-any.whl (86 kB)
Using cached idna-3.7-py3-none-any.whl (66 kB)
Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Using cached certifi-2024.2.2-py3-none-any.whl (163 kB)
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Building wheels for collected packages: nvidia_curobo
  Building editable for nvidia_curobo (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building editable for nvidia_curobo (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [189 lines of output]
      No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-11.8'
      /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options
      !!

              ********************************************************************************
              Usage of dash-separated 'long-description-content-type' will not be supported in future
              versions. Please use the underscore name 'long_description_content_type' instead.

              By 2024-Sep-26, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.

              See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
              ********************************************************************************

      !!
        opt = self.warn_dash_deprecation(opt, section)
      running editable_wheel
      creating /tmp/pip-wheel-l3hcev7u/.tmp-xa_0cip2/nvidia_curobo.egg-info
      writing /tmp/pip-wheel-l3hcev7u/.tmp-xa_0cip2/nvidia_curobo.egg-info/PKG-INFO
      writing dependency_links to /tmp/pip-wheel-l3hcev7u/.tmp-xa_0cip2/nvidia_curobo.egg-info/dependency_links.txt
      writing requirements to /tmp/pip-wheel-l3hcev7u/.tmp-xa_0cip2/nvidia_curobo.egg-info/requires.txt
      writing top-level names to /tmp/pip-wheel-l3hcev7u/.tmp-xa_0cip2/nvidia_curobo.egg-info/top_level.txt
      writing manifest file '/tmp/pip-wheel-l3hcev7u/.tmp-xa_0cip2/nvidia_curobo.egg-info/SOURCES.txt'
      /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py:500: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
        warnings.warn(msg.format('we could not find ninja.'))
      reading manifest file '/tmp/pip-wheel-l3hcev7u/.tmp-xa_0cip2/nvidia_curobo.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no directories found matching 'src/curobo/curobolib/*.so'
      adding license file 'LICENSE'
      writing manifest file '/tmp/pip-wheel-l3hcev7u/.tmp-xa_0cip2/nvidia_curobo.egg-info/SOURCES.txt'
      creating '/tmp/pip-wheel-l3hcev7u/.tmp-xa_0cip2/nvidia_curobo-0.0.0.dist-info'
      creating /tmp/pip-wheel-l3hcev7u/.tmp-xa_0cip2/nvidia_curobo-0.0.0.dist-info/WHEEL
      running build_py
      running build_ext
      /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py:425: UserWarning: There are no g++ version bounds defined for CUDA version 11.8
        warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
      building 'curobo.curobolib.lbfgs_step_cu' extension
      creating /tmp/tmp_qiqvowk.build-temp/src
      creating /tmp/tmp_qiqvowk.build-temp/src/curobo
      creating /tmp/tmp_qiqvowk.build-temp/src/curobo/curobolib
      creating /tmp/tmp_qiqvowk.build-temp/src/curobo/curobolib/cpp
      gcc -pthread -B /home/dengws/anaconda3/envs/cse571project/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/dengws/anaconda3/envs/cse571project/include -fPIC -O2 -isystem /home/dengws/anaconda3/envs/cse571project/include -fPIC -I/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/include -I/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/include/TH -I/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/dengws/anaconda3/envs/cse571project/include/python3.11 -c src/curobo/curobolib/cpp/lbfgs_step_cuda.cpp -o /tmp/tmp_qiqvowk.build-temp/src/curobo/curobolib/cpp/lbfgs_step_cuda.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=lbfgs_step_cu -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
      /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/cuda/__init__.py:628: UserWarning: Can't initialize NVML
        warnings.warn("Can't initialize NVML")
      Traceback (most recent call last):
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 155, in run
          self._create_wheel_file(bdist_wheel)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 357, in _create_wheel_file
          files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 280, in _run_build_commands
          self._run_build_subcommands()
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 307, in _run_build_subcommands
          self.run_command(name)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
          self.distribution.run_command(command)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/dist.py", line 968, in run_command
          super().run_command(command)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 91, in run
          _build_ext.run(self)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
          self.build_extensions()
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 871, in build_extensions
          build_ext.build_extensions(self)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 479, in build_extensions
          self._build_extensions_serial()
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 505, in _build_extensions_serial
          self.build_extension(ext)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 252, in build_extension
          _build_ext.build_extension(self, ext)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 560, in build_extension
          objects = self.compiler.compile(
                    ^^^^^^^^^^^^^^^^^^^^^^
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/ccompiler.py", line 600, in compile
          self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 607, in unix_wrap_single_compile
          cflags = unix_cuda_flags(cflags)
                   ^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 574, in unix_cuda_flags
          cflags + _get_cuda_arch_flags(cflags))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 1976, in _get_cuda_arch_flags
          arch_list[-1] += '+PTX'
          ~~~~~~~~~^^^^
      IndexError: list index out of range
      /home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/dist.py:988: _DebuggingTips: Problem in editable installation.
      !!

              ********************************************************************************
              An error happened while installing `nvidia_curobo` in editable mode.

              The following steps are recommended to help debug this problem:

              - Try to install the project normally, without using the editable mode.
                Does the error still persist?
                (If it does, try fixing the problem before attempting the editable mode).
              - If you are using binary extensions, make sure you have all OS-level
                dependencies installed (e.g. compilers, toolchains, binary libraries, ...).
              - Try the latest version of setuptools (maybe the error was already fixed).
              - If you (or your project dependencies) are using any setuptools extension
                or customization, make sure they support the editable mode.

              After following the steps above, if the problem still persists and
              you think this is related to how setuptools handles editable installations,
              please submit a reproducible example
              (see https://stackoverflow.com/help/minimal-reproducible-example) to:

                  https://github.com/pypa/setuptools/issues

              See https://setuptools.pypa.io/en/latest/userguide/development_mode.html for details.
              ********************************************************************************

      !!
        cmd_obj.run()
      Traceback (most recent call last):
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 273, in build_editable
          return hook(wheel_directory, config_settings, metadata_directory)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/build_meta.py", line 443, in build_editable
          return self._build_with_temp_dir(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir
          self.run_setup()
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 81, in <module>
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 184, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
          dist.run_commands()
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/dist.py", line 968, in run_command
          super().run_command(command)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 155, in run
          self._create_wheel_file(bdist_wheel)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 357, in _create_wheel_file
          files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 280, in _run_build_commands
          self._run_build_subcommands()
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 307, in _run_build_subcommands
          self.run_command(name)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
          self.distribution.run_command(command)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/dist.py", line 968, in run_command
          super().run_command(command)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 91, in run
          _build_ext.run(self)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
          self.build_extensions()
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 871, in build_extensions
          build_ext.build_extensions(self)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 479, in build_extensions
          self._build_extensions_serial()
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 505, in _build_extensions_serial
          self.build_extension(ext)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 252, in build_extension
          _build_ext.build_extension(self, ext)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 560, in build_extension
          objects = self.compiler.compile(
                    ^^^^^^^^^^^^^^^^^^^^^^
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/setuptools/_distutils/ccompiler.py", line 600, in compile
          self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 607, in unix_wrap_single_compile
          cflags = unix_cuda_flags(cflags)
                   ^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 574, in unix_cuda_flags
          cflags + _get_cuda_arch_flags(cflags))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/dengws/anaconda3/envs/cse571project/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 1976, in _get_cuda_arch_flags
          arch_list[-1] += '+PTX'
          ~~~~~~~~~^^^^
      IndexError: list index out of range
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building editable for nvidia_curobo
Failed to build nvidia_curobo
ERROR: Could not build wheels for nvidia_curobo, which is required to install pyproject.toml-based projects
balakumar-s commented 1 month ago

Can you try if the below function work?

import torch
a = torch.zeros(5).cuda()