Closed roeeben closed 3 years ago
Hi! Would you be able to provide the error message?
Closing due to inactivity, will reopen if OP replies
I might have the same problem trying to install it in a Google Colab:
Collecting torchsort Downloading https://files.pythonhosted.org/packages/0b/bb/957172f82304cc60ed245c2d5bad8e84ed619fd49fda58d3803da5931bd0/torchsort-0.1.3.tar.gz Requirement already satisfied: torch in /usr/local/lib/python3.7/dist-packages (from torchsort) (1.8.1+cu101) Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (from torch->torchsort) (1.19.5) Requirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from torch->torchsort) (3.7.4.3) Building wheels for collected packages: torchsort Building wheel for torchsort (setup.py) ... error ERROR: Failed building wheel for torchsort Running setup.py clean for torchsort Failed to build torchsort Installing collected packages: torchsort Running setup.py install for torchsort ... error ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dca5svvq/torchsort/setup.py'"'"'; __file__='"'"'/tmp/pip-install-dca5svvq/torchsort/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-4bv6m6rk/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
Any idea?
Hey @juanjo3ns, the issue here is that with the CPU runtime, Collab has nvcc
installed, but no CUDA runtime. Running the following installs fine on the CPU runtime:
TORCH_CUDA_ARCH_LIST="Pascal;Volta;Turing;Ampere" pip install torchsort
If you are using the GPU runtime, the TORCH_CUDA_ARCH_LIST
environment variable can be omitted as it can infer the architecture from the runtime.
Hope this helps! - Teddy
True, my bad. I thought I had a GPU runtime by default, which I usually have. Thanks @teddykoker!
Hello! When I try "pip install torchsort" or "TORCH_CUDA_ARCH_LIST="Pascal;Volta;Turing;Ampere" pip install torchsort"
I get the following error message:
Building wheels for collected packages: torchsort
Building wheel for torchsort (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/deborahnelson/opt/anaconda3/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/q0/kvsbhs_163d77k55d0j2djdr0000gn/T/pip-install-4nqt7enz/torchsort_474857f6c87e4a8fb80671a8a16ef647/setup.py'"'"'; __file__='"'"'/private/var/folders/q0/kvsbhs_163d77k55d0j2djdr0000gn/T/pip-install-4nqt7enz/torchsort_474857f6c87e4a8fb80671a8a16ef647/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/q0/kvsbhs_163d77k55d0j2djdr0000gn/T/pip-wheel-kk4gucu8
cwd: /private/var/folders/q0/kvsbhs_163d77k55d0j2djdr0000gn/T/pip-install-4nqt7enz/torchsort_474857f6c87e4a8fb80671a8a16ef647/
Complete output (27 lines):
running bdist_wheel
/Users/deborahnelson/opt/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py:387: 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.'))
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.9
creating build/lib.macosx-10.9-x86_64-3.9/torchsort
copying torchsort/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/torchsort
copying torchsort/ops.py -> build/lib.macosx-10.9-x86_64-3.9/torchsort
running egg_info
writing torchsort.egg-info/PKG-INFO
writing dependency_links to torchsort.egg-info/dependency_links.txt
writing requirements to torchsort.egg-info/requires.txt
writing top-level names to torchsort.egg-info/top_level.txt
reading manifest file 'torchsort.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'torchsort.egg-info/SOURCES.txt'
copying torchsort/isotonic_cpu.cpp -> build/lib.macosx-10.9-x86_64-3.9/torchsort
copying torchsort/isotonic_cuda.cu -> build/lib.macosx-10.9-x86_64-3.9/torchsort
running build_ext
building 'torchsort.isotonic_cpu' extension
creating build/temp.macosx-10.9-x86_64-3.9
creating build/temp.macosx-10.9-x86_64-3.9/torchsort
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/deborahnelson/opt/anaconda3/include -arch x86_64 -I/Users/deborahnelson/opt/anaconda3/include -fPIC -O2 -isystem /Users/deborahnelson/opt/anaconda3/include -arch x86_64 -I/Users/deborahnelson/opt/anaconda3/lib/python3.9/site-packages/torch/include -I/Users/deborahnelson/opt/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/Users/deborahnelson/opt/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/Users/deborahnelson/opt/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/Users/deborahnelson/opt/anaconda3/include/python3.9 -c torchsort/isotonic_cpu.cpp -o build/temp.macosx-10.9-x86_64-3.9/torchsort/isotonic_cpu.o -Xpreprocessor -fopenmp -ffast-math -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_clang\" -DPYBIND11_STDLIB=\"_libcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1002\" -DTORCH_EXTENSION_NAME=isotonic_cpu -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for torchsort
Running setup.py clean for torchsort
Failed to build torchsort
Do you know how I could fix this?
Thanks!
Hi @rsnelson1, per the error message:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
You must have a incomplete installation of the xcode dev tools. This is likely fixed with by running the following on the command line:
xcode-select --install
This issue is completely unrelated to torchsort
. See this stack overflow for more details. Let me know if you are still running into issues!
@teddykoker Can you help me with this please ?
pip install torchsort Defaulting to user installation because normal site-packages is not writeable Collecting torchsort Using cached torchsort-0.1.9.tar.gz (12 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: torch in /data3/home/ajaymamidi/.local/lib/python3.10/site-packages (from torchsort) (1.11.0+cu115) Requirement already satisfied: typing-extensions in /data3/home/ajaymamidi/.local/lib/python3.10/site-packages (from torch->torchsort) (4.11.0) Building wheels for collected packages: torchsort Building wheel for torchsort (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [106 lines of output] 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/torchsort copying torchsort/ops.py -> build/lib.linux-x86_64-cpython-310/torchsort copying torchsort/init.py -> build/lib.linux-x86_64-cpython-310/torchsort running egg_info writing torchsort.egg-info/PKG-INFO writing dependency_links to torchsort.egg-info/dependency_links.txt writing requirements to torchsort.egg-info/requires.txt writing top-level names to torchsort.egg-info/top_level.txt reading manifest file 'torchsort.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'torchsort.egg-info/SOURCES.txt' copying torchsort/isotonic_cpu.cpp -> build/lib.linux-x86_64-cpython-310/torchsort copying torchsort/isotonic_cuda.cu -> build/lib.linux-x86_64-cpython-310/torchsort running build_ext building 'torchsort.isotonic_cpu' extension creating /tmp/pip-install-ul4qoovz/torchsort_a25939e736564ccfa9def5865d0ee3b2/build/temp.linux-x86_64-cpython-310 creating /tmp/pip-install-ul4qoovz/torchsort_a25939e736564ccfa9def5865d0ee3b2/build/temp.linux-x86_64-cpython-310/torchsort Emitting ninja build file /tmp/pip-install-ul4qoovz/torchsort_a25939e736564ccfa9def5865d0ee3b2/build/temp.linux-x86_64-cpython-310/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/1] c++ -MMD -MF /tmp/pip-install-ul4qoovz/torchsort_a25939e736564ccfa9def5865d0ee3b2/build/temp.linux-x86_64-cpython-310/torchsort/isotonic_cpu.o.d -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/include -I/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/include/TH -I/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/include/python3.10 -c -c /tmp/pip-install-ul4qoovz/torchsort_a25939e736564ccfa9def5865d0ee3b2/torchsort/isotonic_cpu.cpp -o /tmp/pip-install-ul4qoovz/torchsort_a25939e736564ccfa9def5865d0ee3b2/build/temp.linux-x86_64-cpython-310/torchsort/isotonic_cpu.o -fopenmp -ffast-math -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=isotonic_cpu -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 x86_64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 /tmp/pip-install-ul4qoovz/torchsort_a25939e73656 4ccfa9def5865d0ee3b2/build/temp.linux-x86_64-cpython-310/torchsort/isotonic_cpu.o -L/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/lib -L/usr/lib/x86_64-linux-gnu -lc10 -ltorch -ltorch_cpu -ltorch_python -o build/lib.linux-x86_64-cpython-310/torchsort/isotonic_cpu.cpython-310-x86_64-linux-gnu.so building 'torchsort.isotonic_cuda' extension Emitting ninja build file /tmp/pip-install-ul4qoovz/torchsort_a25939e736564ccfa9def5865d0ee3b2/build/temp.linux-x86_64-cpython-310/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/1] /usr/bin/nvcc -I/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/include -I/data3/home/ajaymamidi/.local/lib/python3.10/site-pa ckages/torch/include/torch/csrc/api/include -I/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/include/TH -I/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/include/python3.10 -c -c /tmp/pip-install-ul4qoovz/torchsort_a25939e736564ccfa9def5865d0ee3b2/torchsort/isotonic_cuda.cu -o /tmp/pip-install-ul4qoovz/torchsort_a25939e736564ccfa9def5865d0ee3b2/build/temp.linux-x86_64-cpython-310/torchsort/isotonic_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=isotonic_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14 FAILED: /tmp/pip-install-ul4qoovz/torchsort_a25939e736564ccfa9def5865d0ee3b2/build/temp.linux-x86_64-cpython-310/torchsort/isotonic_cuda.o /usr/bin/nvcc -I/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/include -I/data3/home/ajaymamidi/.local/lib/python3.10/site-packages /torch/include/torch/csrc/api/include -I/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/include/TH -I/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/include/python3.10 -c -c /tmp/pip-install-ul4qoovz/torchsort_a25939e736564ccfa9def5865d0ee3b2/torchsort/isotonic_cuda.cu -o /tmp/pip-install-ul4qoovz/torchsort_a25939e736564ccfa9def5865d0ee3b2/build/temp.linux-x86_64-cpython-310/torchsort/isotonic_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=isotonic_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14 /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’: 435 | function(_Functor&& __f) |
---|
^ /usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’ /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’: 530 | operator=(_Functor&& __f) |
---|
^ /usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’ ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1740, in _run_ninja_build subprocess.run( File "/usr/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-ul4qoovz/torchsort_a25939e736564ccfa9def5865d0ee3b2/setup.py", line 52, in <module>
setup(
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/__init__.py", line 104, in setup
return distutils.core.setup(**attrs)
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 184, in setup
return run_commands(dist)
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
dist.run_commands()
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 368, in run
self.run_command("build")
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 132, in run
self.run_command(cmd_name)
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 91, in run
_build_ext.run(self)
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
self.build_extensions()
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 741, in build_extensions
build_ext.build_extensions(self)
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 479, in build_extensions
self._build_extensions_serial()
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 505, in _build_extensions_serial
self.build_extension(ext)
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 252, in build_extension
_build_ext.build_extension(self, ext)
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 560, in build_extension
objects = self.compiler.compile(
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 562, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1419, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/data3/home/ajaymamidi/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1756, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for torchsort Running setup.py clean for torchsort Failed to build torchsort ERROR: Could not build wheels for torchsort, which is required to install pyproject.toml-based projects
Looks like your error is /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
. Perhaps try using a newer version of gcc
Looks like your error is
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
. Perhaps try using a newer version of gcc
Thank you
Looks like your error is
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
. Perhaps try using a newer version of gcc
I have even tried updating the gcc, can you tell me what the issue is with my code?`(base) E:\UMMAFormer-master\UMMAFormer-main>pip install torchsort WARNING: Ignoring invalid distribution -rotobuf (c:\programdata\anaconda3\lib\site-packages) Collecting torchsort Using cached torchsort-0.1.9.tar.gz (12 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: torch in c:\programdata\anaconda3\lib\site-packages (from torchsort) (1.11.0) Requirement already satisfied: typing_extensions in c:\programdata\anaconda3\lib\site-packages (from torch->torchsort) (4.4.0) Building wheels for collected packages: torchsort Building wheel for torchsort (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [1228 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\torchsort
copying torchsort\ops.py -> build\lib.win-amd64-cpython-310\torchsort
copying torchsort__init__.py -> build\lib.win-amd64-cpython-310\torchsort
running egg_info
writing torchsort.egg-info\PKG-INFO
writing dependency_links to torchsort.egg-info\dependency_links.txt
writing requirements to torchsort.egg-info\requires.txt
writing top-level names to torchsort.egg-info\top_level.txt
reading manifest file 'torchsort.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'torchsort.egg-info\SOURCES.txt'
copying torchsort\isotonic_cpu.cpp -> build\lib.win-amd64-cpython-310\torchsort
copying torchsort\isotonic_cuda.cu -> build\lib.win-amd64-cpython-310\torchsort
running build_ext
C:\ProgramData\anaconda3\lib\site-packages\torch\utils\cpp_extension.py:322: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
building 'torchsort.isotonic_cpu' extension
creating C:\Users\Administrator.DUCS-GPU\AppData\Local\Temp\1\pip-install-z85xcx4u\torchsort_8761a55886df4177938aa1b92148d83e\build\temp.win-amd64-cpython-310
creating C:\Users\Administrator.DUCS-GPU\AppData\Local\Temp\1\pip-install-z85xcx4u\torchsort_8761a55886df4177938aa1b92148d83e\build\temp.win-amd64-cpython-310\Release
creating C:\Users\Administrator.DUCS-GPU\AppData\Local\Temp\1\pip-install-z85xcx4u\torchsort_8761a55886df4177938aa1b92148d83e\build\temp.win-amd64-cpython-310\Release\torchsort
Emitting ninja build file C:\Users\Administrator.DUCS-GPU\AppData\Local\Temp\1\pip-install-z85xcx4u\torchsort_8761a55886df4177938aa1b92148d83e\build\temp.win-amd64-cpython-310\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/1] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -IC:\ProgramData\anaconda3\lib\site-packages\torch\include -IC:\ProgramData\anaconda3\lib\site-packages\torch\include\torch\csrc\api\include -IC:\ProgramData\anaconda3\lib\site-packages\torch\include\TH -IC:\ProgramData\anaconda3\lib\site-packages\torch\include\THC -IC:\ProgramData\anaconda3\include -IC:\ProgramData\anaconda3\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" -c C:\Users\Administrator.DUCS-GPU\AppData\Local\Temp\1\pip-install-z85xcx4u\torchsort_8761a55886df4177938aa1b92148d83e\torchsort\isotonic_cpu.cpp /FoC:\Users\Administrator.DUCS-GPU\AppData\Local\Temp\1\pip-install-z85xcx4u\torchsort_8761a55886df4177938aa1b92148d83e\build\temp.win-amd64-cpython-310\Release\torchsort/isotonic_cpu.obj -fopenmp -ffast-math -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=isotonic_cpu -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
cl : Command line warning D9002 : ignoring unknown option '-fopenmp'
cl : Command line warning D9002 : ignoring unknown option '-ffast-math'
C:\ProgramData\anaconda3\lib\site-packages\torch\include\c10/macros/Macros.h(142): warning C4067: unexpected tokens following preprocessor directive - expected a newline
C:\ProgramData\anaconda3\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: 'c10::constexpr_storage_t
On my potato GPU-less desktop pip install torchsort works great in the anaconda prompt, but on another machine I get a "failed building wheel" followed by a huge error message. The environment works fine with lots of libraries and I'm running a project with it, it's just torchsort that does this problem for me. Do you have any clue what could cause that? Thanks!