Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SomeoneSerge/6a07ea303e17edc73b3a53cad4e24f33 to your computer and use it in GitHub Desktop.
Save SomeoneSerge/6a07ea303e17edc73b3a53cad4e24f33 to your computer and use it in GitHub Desktop.
nix log /nix/store/rz387y116931dv45d3yxcipzgvl6n57w-tiny-cuda-nn.drv
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/v6q53k8zlkm2ccd8dlms65fwm65xzp0k-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building
WARNING: The directory '/homeless-shelter/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Processing /build/source/bindings/torch
Running command python setup.py egg_info
No CUDA runtime is found, using CUDA_HOME='/nix/store/rracaiswwdhi0f34q3jilm6nlh2jvkic-cuda-redist'
Building PyTorch extension for tiny-cuda-nn version 1.6
Obtained compute capabilities [86] from environment variable TCNN_CUDA_ARCHITECTURES
running egg_info
creating /build/pip-pip-egg-info-bwp3ux1_/tinycudann.egg-info
writing /build/pip-pip-egg-info-bwp3ux1_/tinycudann.egg-info/PKG-INFO
writing dependency_links to /build/pip-pip-egg-info-bwp3ux1_/tinycudann.egg-info/dependency_links.txt
writing top-level names to /build/pip-pip-egg-info-bwp3ux1_/tinycudann.egg-info/top_level.txt
writing manifest file '/build/pip-pip-egg-info-bwp3ux1_/tinycudann.egg-info/SOURCES.txt'
reading manifest file '/build/pip-pip-egg-info-bwp3ux1_/tinycudann.egg-info/SOURCES.txt'
writing manifest file '/build/pip-pip-egg-info-bwp3ux1_/tinycudann.egg-info/SOURCES.txt'
Preparing metadata (setup.py) ... [?25l[?25hdone
Building wheels for collected packages: tinycudann
Running command python setup.py bdist_wheel
No CUDA runtime is found, using CUDA_HOME='/nix/store/rracaiswwdhi0f34q3jilm6nlh2jvkic-cuda-redist'
Building PyTorch extension for tiny-cuda-nn version 1.6
Obtained compute capabilities [86] from environment variable TCNN_CUDA_ARCHITECTURES
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/tinycudann
copying tinycudann/modules.py -> build/lib.linux-x86_64-cpython-310/tinycudann
copying tinycudann/__init__.py -> build/lib.linux-x86_64-cpython-310/tinycudann
running egg_info
creating tinycudann.egg-info
writing tinycudann.egg-info/PKG-INFO
writing dependency_links to tinycudann.egg-info/dependency_links.txt
writing top-level names to tinycudann.egg-info/top_level.txt
writing manifest file 'tinycudann.egg-info/SOURCES.txt'
reading manifest file 'tinycudann.egg-info/SOURCES.txt'
writing manifest file 'tinycudann.egg-info/SOURCES.txt'
copying tinycudann/bindings.cpp -> build/lib.linux-x86_64-cpython-310/tinycudann
running build_ext
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/build/source/bindings/torch/setup.py", line 127, in <module>
setup(
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/__init__.py", line 108, in setup
return distutils.core.setup(**attrs)
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/dist.py", line 1221, in run_command
super().run_command(command)
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/nix/store/1rgli2fs1j19zj6chqdzl2asgv9vswqh-python3.10-wheel-0.38.4/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 325, in run
self.run_command("build")
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/dist.py", line 1221, in run_command
super().run_command(command)
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/dist.py", line 1221, in run_command
super().run_command(command)
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
self.build_extensions()
File "/nix/store/zhs5i88q05v9l4c5kdmvzbwg7baixlx4-python3.10-torch-1.13.1/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 499, in build_extensions
_check_cuda_version(compiler_name, compiler_version)
File "/nix/store/zhs5i88q05v9l4c5kdmvzbwg7baixlx4-python3.10-torch-1.13.1/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 382, in _check_cuda_version
torch_cuda_version = packaging.version.parse(torch.version.cuda)
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/version.py", line 52, in parse
return Version(version)
File "/nix/store/qg3jn6cd12kphciq49grn38hk5fzgs0v-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/version.py", line 195, in __init__
match = self._regex.search(version)
TypeError: expected string or bytes-like object
error: subprocess-exited-with-error
× python setup.py bdist_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.
full command: /nix/store/syz2y6j53y5hpzbs7l0965zwxshi8iyl-python3-3.10.10/bin/python -u -c '
 exec(compile('"'"''"'"''"'"'
 # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
 #
 # - It imports setuptools before invoking setup.py, to enable projects that directly
 # import from `distutils.core` to work with newer packaging standards.
 # - It provides a clear error message when setuptools is not installed.
 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
 # manifest_maker: standard file '"'"'-c'"'"' not found".
 # - It generates a shim setup.py, for handling setup.cfg-only projects.
 import os, sys, tokenize
 
 try:
 import setuptools
 except ImportError as error:
 print(
 "ERROR: Can not execute `setup.py` since setuptools is not available in "
 "the build environment.",
 file=sys.stderr,
 )
 sys.exit(1)
 
 __file__ = %r
 sys.argv[0] = __file__
 
 if os.path.exists(__file__):
 filename = __file__
 with tokenize.open(__file__) as f:
 setup_py_code = f.read()
 else:
 filename = "<auto-generated setuptools caller>"
 setup_py_code = "from setuptools import setup; setup()"
 
 exec(compile(setup_py_code, filename, "exec"))
 '"'"''"'"''"'"' % ('"'"'/build/source/bindings/torch/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' bdist_wheel -d /build/pip-wheel-kt4rpzcg
cwd: /build/source/bindings/torch/
Building wheel for tinycudann (setup.py) ... [?25lerror
 ERROR: Failed building wheel for tinycudann
[?25h Running setup.py clean for tinycudann
Running command python setup.py clean
No CUDA runtime is found, using CUDA_HOME='/nix/store/rracaiswwdhi0f34q3jilm6nlh2jvkic-cuda-redist'
Building PyTorch extension for tiny-cuda-nn version 1.6
Obtained compute capabilities [86] from environment variable TCNN_CUDA_ARCHITECTURES
running clean
removing 'build/lib.linux-x86_64-cpython-310' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.10' does not exist -- can't clean it
removing 'build'
Failed to build tinycudann
ERROR: Failed to build one or more wheels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment