!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

211 Members
CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda42 Servers

Load older messages


SenderMessageTime
12 Sep 2024
@connorbaker:matrix.orgconnor (he/him) (UTC-7)I'm in the process of implementing a tester (https://github.com/NixOS/nixpkgs/pull/341471) but it's taking a bit and I'd like OpenCV fixed (or at least buildable) with CUDA, without breaking a bunch of downstream consumers of OpenCV (like FFMPEG)23:35:35
13 Sep 2024
@kaya:catnip.eekaya changed their profile picture.07:16:41
@ss:someonex.netSomeoneSerge (utc+3)Sorry my availability has been limited this way10:19:52
@ss:someonex.netSomeoneSerge (utc+3) * Sorry my availability has been limited this week10:19:55
@ss:someonex.netSomeoneSerge (utc+3)
In reply to @connorbaker:matrix.org
wouldn't things like API changes between versions cause breakage?
EDIT: I guess they would cause build failures... my primary concern was that it would cause failures at runtime, but I suppose that's not really a problem for compiled targets. Relative to libc, NVIDIA's libraries change way, way more between releases (even minor versions!).
Yeah it occurred to me right after posting that for the issue you're actually describing we need very different tests. What I proposed was basically ensuring that the expected versions of dependencies are loaded when running in isolation. What you actually wanted to ensure is that when a different version has already been loaded (which is guaranteed to happen with python) the runtime still works
10:22:00
@ss:someonex.netSomeoneSerge (utc+3)
In reply to @connorbaker:matrix.org
SomeoneSerge (nix.camp): as a short-term thing, are you okay with me patching out OpenCV's requirement that CUDA version match so we can merge the CUDA fix?

Sure let's try. I'd still check something something trivial like

# test1
import torch
torch.randn(10, 10, device="cuda").sum().item()
import cv2
# do something with cv2 and cuda

# test2

import cv2
# do something with cv2 and cuda
import torch
torch.randn(10, 10, device="cuda").sum().item()
10:24:51
@connorbaker:matrix.orgconnor (he/him) (UTC-7)
In reply to @ss:someonex.net
Sorry my availability has been limited this week
No need for apology; all volunteer time :)
16:50:50
@connorbaker:matrix.orgconnor (he/him) (UTC-7)
In reply to @ss:someonex.net

Sure let's try. I'd still check something something trivial like

# test1
import torch
torch.randn(10, 10, device="cuda").sum().item()
import cv2
# do something with cv2 and cuda

# test2

import cv2
# do something with cv2 and cuda
import torch
torch.randn(10, 10, device="cuda").sum().item()
Ooh that’s a good minimal test (hopefully), mind if I use that?
16:52:03
@connorbaker:matrix.orgconnor (he/him) (UTC-7) To clarify SomeoneSerge (nix.camp), do you want a test like that in the OpenCV PR, or is it okay if that's tracked (via https://github.com/NixOS/nixpkgs/issues/341650) and added later? 23:07:24
14 Sep 2024
@ss:someonex.netSomeoneSerge (utc+3) changed their display name from SomeoneSerge (nix.camp) to SomeoneSerge (utc+3).11:37:51
@kaya:catnip.eekaya changed their profile picture.20:26:46
15 Sep 2024
@adam:robins.wtfadamcstephens
In reply to @connorbaker:matrix.org
It is surprising to me that 0.3.5 works with CUDA 12 at all; I guess there were no breaking API changes on stuff they relied on?
Ok, so I think all the version stuff was a red herring. I believe I've found the culprit, which is that this derivation isn't ending up in the final nixos system. https://github.com/NixOS/nixpkgs/blob/345c263f2f53a3710abe117f28a5cb86d0ba4059/pkgs/by-name/ol/ollama/package.nix#L122
17:33:36
@adam:robins.wtfadamcstephensI run ollama in an incus(lxc) container with the GPU passed in, but I don't build the system configuration on that host17:34:12
@adam:robins.wtfadamcstephensmanually copying it over from the build hosts allows ollama to successfully work17:34:27
@adam:robins.wtfadamcstephens * manually copying it over from the build host allows ollama to successfully work17:34:37
@ss:someonex.netSomeoneSerge (utc+3)
In reply to @connorbaker:matrix.org
To clarify SomeoneSerge (nix.camp), do you want a test like that in the OpenCV PR, or is it okay if that's tracked (via https://github.com/NixOS/nixpkgs/issues/341650) and added later?
Ouch, I thought I had replied. Just a manual test is sufficient, but also needed because I suppose we do want to make sure opencv actually works after merging?
19:00:51
@ss:someonex.netSomeoneSerge (utc+3)
In reply to @adam:robins.wtf
manually copying it over from the build host allows ollama to successfully work
Could you elaborate for the others, what is it that needs to be manually copied?
19:01:34
@adam:robins.wtfadamcstephenshttps://github.com/NixOS/nixpkgs/pull/342127 should fix it19:08:33
@adam:robins.wtfadamcstephensit's that cudaToolkit/cuda-merged env that wasn't being included19:08:56
@ss:someonex.netSomeoneSerge (utc+3)
In reply to @adam:robins.wtf
it's that cudaToolkit/cuda-merged env that wasn't being included
Ehh it shouldn't be included
19:09:27
@adam:robins.wtfadamcstephenswell, i'm open to other fixes, but without that env it fails to find cuda_cudart.so.1219:10:08
@adam:robins.wtfadamcstephensthat's the same env being used to build ollama against cuda, so i assume it's expecting the files to be there at runtime too19:10:32
@adam:robins.wtfadamcstephens * well, i'm open to other fixes, but without that env it fails to find lib_cudart.so.12 19:14:21
@adam:robins.wtfadamcstephens * well, i'm open to other fixes, but without that env it fails to find libcudart.so.12 19:14:26
16 Sep 2024
@silentlurker:matrix.orgsilentlurker joined the room.20:01:06
17 Sep 2024
@glepage:matrix.orgGaétan Lepage

connor (he/him) (UTC-5) tiny-cuda-nn fails on aarch64-linux with:

-- Build files have been written to: /build/source/build
cmake: enabled parallel building
cmake: enabled parallel installing
Running phase: buildPhase
build flags: -j80
[1/20] Building CUDA object CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o
FAILED: CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o 
/nix/store/z8g6ma876kbi5mxwq388aadn1h35yqy9-cuda-redist/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/nix/store/k0kxskxvmkw97h3z3b5y4hwd56fh9x33-gcc-wrapper-13.3.0/bin/c++ -DTCNN_MIN_GPU_ARCH=60 -DTCNN_SHAMPOO -I/build/source/include -I/build/source/dependencies -I/build/source/dependencies/cutlass/include -I/build/source/dependencies/cutlass/tools/util/include -I/build/source/dependencies/fmt/include -O3 -DNDEBUG -std=c++14 "--generate-code=arch=compute_60,code=[compute_60,sm_60]" "--generate-code=arch=compute_61,code=[compute_61,sm_61]" "--generate-code=arch=compute_70,code=[compute_70,sm_70]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" "--generate-code=arch=compute_86,code=[compute_86,sm_86]" "--generate-code=arch=compute_89,code=[compute_89,sm_89]" "--generate-code=arch=compute_90,code=[compute_90,sm_90]" "--generate-code=arch=compute_90a,code=[compute_90a,sm_90a]" -Xcompiler=-mf16c -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -Xcudafe=--diag_suppress=unrecognized_gcc_pragma --extended-lambda --expt-relaxed-constexpr -MD -MT CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o -MF CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o.d -x cu -c /build/source/src/encoding.cu -o CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
g++: error: unrecognized command-line option '-mf16c'
[2/20] Building CUDA object CMakeFiles/tiny-cuda-nn.dir/src/loss.cu.o
FAILED: CMakeFiles/tiny-cuda-nn.dir/src/loss.cu.o 
/nix/store/z8g6ma876kbi5mxwq388aadn1h35yqy9-cuda-redist/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/nix/store/k0kxskxvmkw97h3z3b5y4hwd56fh9x33-gcc-wrapper-13.3.0/bin/c++ -DTCNN_MIN_GPU_ARCH=60 -DTCNN_SHAMPOO -I/build/source/include -I/build/source/dependencies -I/build/source/dependencies/cutlass/include -I/build/source/dependencies/cutlass/tools/util/include -I/build/source/dependencies/fmt/include -O3 -DNDEBUG -std=c++14 "--generate-code=arch=compute_60,code=[compute_60,sm_60]" "--generate-code=arch=compute_61,code=[compute_61,sm_61]" "--generate-code=arch=compute_70,code=[compute_70,sm_70]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" "--generate-code=arch=compute_86,code=[compute_86,sm_86]" "--generate-code=arch=compute_89,code=[compute_89,sm_89]" "--generate-code=arch=compute_90,code=[compute_90,sm_90]" "--generate-code=arch=compute_90a,code=[compute_90a,sm_90a]" -Xcompiler=-mf16c -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -Xcudafe=--diag_suppress=unrecognized_gcc_pragma --extended-lambda --expt-relaxed-constexpr -MD -MT CMakeFiles/tiny-cuda-nn.dir/src/loss.cu.o -MF CMakeFiles/tiny-cuda-nn.dir/src/loss.cu.o.d -x cu -c /build/source/src/loss.cu -o CMakeFiles/tiny-cuda-nn.dir/src/loss.cu.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
g++: error: unrecognized command-line option '-mf16c'
[3/20] Building CUDA object CMakeFiles/tiny-cuda-nn.dir/src/reduce_sum.cu.o
FAILED: CMakeFiles/tiny-cuda-nn.dir/src/reduce_sum.cu.o 
/nix/store/z8g6ma876kbi5mxwq388aadn1h35yqy9-cuda-redist/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/nix/store/k0kxskxvmkw97h3z3b5y4hwd56fh9x33-gcc-wrapper-13.3.0/bin/c++ -DTCNN_MIN_GPU_ARCH=60 -DTCNN_SHAMPOO -I/build/source/include -I/build/source/dependencies -I/build/source/dependencies/cutlass/include -I/build/source/dependencies/cutlass/tools/util/include -I/build/source/dependencies/fmt/include -O3 -DNDEBUG -std=c++14 "--generate-code=arch=compute_60,code=[compute_60,sm_60]" "--generate-code=arch=compute_61,code=[compute_61,sm_61]" "--generate-code=arch=compute_70,code=[compute_70,sm_70]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" "--generate-code=arch=compute_86,code=[compute_86,sm_86]" "--generate-code=arch=compute_89,code=[compute_89,sm_89]" "--generate-code=arch=compute_90,code=[compute_90,sm_90]" "--generate-code=arch=compute_90a,code=[compute_90a,sm_90a]" -Xcompiler=-mf16c -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -Xcudafe=--diag_suppress=unrecognized_gcc_pragma --extended-lambda --expt-relaxed-constexpr -MD -MT CMakeFiles/tiny-cuda-nn.dir/src/reduce_sum.cu.o -MF CMakeFiles/tiny-cuda-nn.dir/src/reduce_sum.cu.o.d -x cu -c /build/source/src/reduce_sum.cu -o CMakeFiles/tiny-cuda-nn.dir/src/reduce_sum.cu.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
g++: error: unrecognized command-line option '-mf16c'
[4/20] Building CUDA object CMakeFiles/tiny-cuda-nn.dir/src/cpp_api.cu.o
FAILED: CMakeFiles/tiny-cuda-nn.dir/src/cpp_api.cu.o 
/nix/store/z8g6ma876kbi5mxwq388aadn1h35yqy9-cuda-redist/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/nix/store/k0kxskxvmkw97h3z3b5y4hwd56fh9x33-gcc-wrapper-13.3.0/bin/c++ -DTCNN_MIN_GPU_ARCH=60 -DTCNN_SHAMPOO -I/build/source/include -I/build/source/dependencies -I/build/source/dependencies/cutlass/include -I/build/source/dependencies/cutlass/tools/util/include -I/build/source/dependencies/fmt/include -O3 -DNDEBUG -std=c++14 "--generate-code=arch=compute_60,code=[compute_60,sm_60]" "--generate-code=arch=compute_61,code=[compute_61,sm_61]" "--generate-code=arch=compute_70,code=[compute_70,sm_70]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" "--generate-code=arch=compute_86,code=[compute_86,sm_86]" "--generate-code=arch=compute_89,code=[compute_89,sm_89]" "--generate-code=arch=compute_90,code=[compute_90,sm_90]" "--generate-code=arch=compute_90a,code=[compute_90a,sm_90a]" -Xcompiler=-mf16c -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -Xcudafe=--diag_suppress=unrecognized_gcc_pragma --extended-lambda --expt-relaxed-constexpr -MD -MT CMakeFiles/tiny-cuda-nn.dir/src/cpp_api.cu.o -MF CMakeFiles/tiny-cuda-nn.dir/src/cpp_api.cu.o.d -x cu -c /build/source/src/cpp_api.cu -o CMakeFiles/tiny-cuda-nn.dir/src/cpp_api.cu.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
g++: error: unrecognized command-line option '-mf16c'
[5/20] Building CUDA object CMakeFiles/tiny-cuda-nn.dir/src/object.cu.o
FAILED: CMakeFiles/tiny-cuda-nn.dir/src/object.cu.o 
/nix/store/z8g6ma876kbi5mxwq388aadn1h35yqy9-cuda-redist/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/nix/store/k0kxskxvmkw97h3z3b5y4hwd56fh9x33-gcc-wrapper-13.3.0/bin/c++ -DTCNN_MIN_GPU_ARCH=60 -DTCNN_SHAMPOO -I/build/source/include -I/build/source/dependencies -I/build/source/dependencies/cutlass/include -I/build/source/dependencies/cutlass/tools/util/include -I/build/source/dependencies/fmt/include -O3 -DNDEBUG -std=c++14 "--generate-code=arch=compute_60,code=[compute_60,sm_60]" "--generate-code=arch=compute_61,code=[compute_61,sm_61]" "--generate-code=arch=compute_70,code=[compute_70,sm_70]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" "--generate-code=arch=compute_86,code=[compute_86,sm_86]" "--generate-code=arch=compute_89,code=[compute_89,sm_89]" "--generate-code=arch=compute_90,code=[compute_90,sm_90]" "--generate-code=arch=compute_90a,code=[compute_90a,sm_90a]" -Xcompiler=-mf16c -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -Xcudafe=--diag_suppress=unrecognized_gcc_pragma --extended-lambda --expt-relaxed-constexpr -MD -MT CMakeFiles/tiny-cuda-nn.dir/src/object.cu.o -MF CMakeFiles/tiny-cuda-nn.dir/src/object.cu.o.d -x cu -c /build/source/src/object.cu -o CMakeFiles/tiny-cuda-nn.dir/src/object.cu.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
g++: error: unrecognized command-line option '-mf16c'
[6/20] Building CUDA object samples/CMakeFiles/mlp_learning_an_image.dir/mlp_learning_an_image.cu.o
FAILED: samples/CMakeFiles/mlp_learning_an_image.dir/mlp_learning_an_image.cu.o 
/nix/store/z8g6ma876kbi5mxwq388aadn1h35yqy9-cuda-redist/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/nix/store/k0kxskxvmkw97h3z3b5y4hwd56fh9x33-gcc-wrapper-13.3.0/bin/c++ -DTCNN_MIN_GPU_ARCH=60 -DTCNN_SHAMPOO -I/build/source/include -I/build/source/dependencies -I/build/source/dependencies/cutlass/include -I/build/source/dependencies/cutlass/tools/util/include -I/build/source/dependencies/fmt/include -O3 -DNDEBUG -std=c++14 "--generate-code=arch=compute_60,code=[compute_60,sm_60]" "--generate-code=arch=compute_61,code=[compute_61,sm_61]" "--generate-code=arch=compute_70,code=[compute_70,sm_70]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" "--generate-code=arch=compute_86,code=[compute_86,sm_86]" "--generate-code=arch=compute_89,code=[compute_89,sm_89]" "--generate-code=arch=compute_90,code=[compute_90,sm_90]" "--generate-code=arch=compute_90a,code=[compute_90a,sm_90a]" -Xcompiler=-mf16c -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -Xcudafe=--diag_suppress=unrecognized_gcc_pragma --extended-lambda --expt-relaxed-constexpr -MD -MT samples/CMakeFiles/mlp_learning_an_image.dir/mlp_learning_an_image.cu.o -MF samples/CMakeFiles/mlp_learning_an_image.dir/mlp_learning_an_image.cu.o.d -x cu -c /build/source/samples/mlp_learning_an_image.cu -o samples/CMakeFiles/mlp_learning_an_image.dir/mlp_learning_an_image.cu.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
g++: error: unrecognized command-line option '-mf16c'
[7/20] Building CUDA object CMakeFiles/tiny-cuda-nn.dir/src/common.cu.o
FAILED: CMakeFiles/tiny-cuda-nn.dir/src/common.cu.o 
/nix/store/z8g6ma876kbi5mxwq388aadn1h35yqy9-cuda-redist/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/nix/store/k0kxskxvmkw97h3z3b5y4hwd56fh9x33-gcc-wrapper-13.3.0/bin/c++ -DTCNN_MIN_GPU_ARCH=60 -DTCNN_SHAMPOO -I/build/source/include -I/build/source/dependencies -I/build/source/dependencies/cutlass/include -I/build/source/dependencies/cutlass/tools/util/include -I/build/source/dependencies/fmt/include -O3 -DNDEBUG -std=c++14 "--generate-code=arch=compute_60,code=[compute_60,sm_60]" "--generate-code=arch=compute_61,code=[compute_61,sm_61]" "--generate-code=arch=compute_70,code=[compute_70,sm_70]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" "--generate-code=arch=compute_86,code=[compute_86,sm_86]" "--generate-code=arch=compute_89,code=[compute_89,sm_89]" "--generate-code=arch=compute_90,code=[compute_90,sm_90]" "--generate-code=arch=compute_90a,code=[compute_90a,sm_90a]" -Xcompiler=-mf16c -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -Xcudafe=--diag_suppress=unrecognized_gcc_pragma --extended-lambda --expt-relaxed-constexpr -MD -MT CMakeFiles/tiny-cuda-nn.dir/src/common.cu.o -MF CMakeFiles/tiny-cuda-nn.dir/src/common.cu.o.d -x cu -c /build/source/src/common.cu -o CMakeFiles/tiny-cuda-nn.dir/src/common.cu.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
g++: error: unrecognized command-line option '-mf16c'
[8/20] Building CUDA object CMakeFiles/tiny-cuda-nn.dir/src/optimizer.cu.o
FAILED: CMakeFiles/tiny-cuda-nn.dir/src/optimizer.cu.o 
/nix/store/z8g6ma876kbi5mxwq388aadn1h35yqy9-cuda-redist/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/nix/store/k0kxskxvmkw97h3z3b5y4hwd56fh9x33-gcc-wrapper-13.3.0/bin/c++ -DTCNN_MIN_GPU_ARCH=60 -DTCNN_SHAMPOO -I/build/source/include -I/build/source/dependencies -I/build/source/dependencies/cutlass/include -I/build/source/dependencies/cutlass/tools/util/include -I/build/source/dependencies/fmt/include -O3 -DNDEBUG -std=c++14 "--generate-code=arch=compute_60,code=[compute_60,sm_60]" "--generate-code=arch=compute_61,code=[compute_61,sm_61]" "--generate-code=arch=compute_70,code=[compute_70,sm_70]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" "--generate-code=arch=compute_86,code=[compute_86,sm_86]" "--generate-code=arch=compute_89,code=[compute_89,sm_89]" "--generate-code=arch=compute_90,code=[compute_90,sm_90]" "--generate-code=arch=compute_90a,code=[compute_90a,sm_90a]" -Xcompiler=-mf16c -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -Xcudafe=--diag_suppress=unrecognized_gcc_pragma --extended-lambda --expt-relaxed-constexpr -MD -MT CMakeFiles/tiny-cuda-nn.dir/src/optimizer.cu.o -MF CMakeFiles/tiny-cuda-nn.dir/src/optimizer.cu.o.d -x cu -c /build/source/src/optimizer.cu -o CMakeFiles/tiny-cuda-nn.dir/src/optimizer.cu.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
g++: error: unrecognized command-line option '-mf16c'
[9/20] Building CUDA object CMakeFiles/tiny-cuda-nn.dir/src/cutlass_mlp.cu.o
FAILED: CMakeFiles/tiny-cuda-nn.dir/src/cutlass_mlp.cu.o 
/nix/store/z8g6ma876kbi5mxwq388aadn1h35yqy9-cuda-redist/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/nix/store/k0kxskxvmkw97h3z3b5y4hwd56fh9x33-gcc-wrapper-13.3.0/bin/c++ -DTCNN_MIN_GPU_ARCH=60 -DTCNN_SHAMPOO -I/build/source/include -I/build/source/dependencies -I/build/source/dependencies/cutlass/include -I/build/source/dependencies/cutlass/tools/util/include -I/build/source/dependencies/fmt/include -O3 -DNDEBUG -std=c++14 "--generate-code=arch=compute_60,code=[compute_60,sm_60]" "--generate-code=arch=compute_61,code=[compute_61,sm_61]" "--generate-code=arch=compute_70,code=[compute_70,sm_70]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" "--generate-code=arch=compute_86,code=[compute_86,sm_86]" "--generate-code=arch=compute_89,code=[compute_89,sm_89]" "--generate-code=arch=compute_90,code=[compute_90,sm_90]" "--generate-code=arch=compute_90a,code=[compute_90a,sm_90a]" -Xcompiler=-mf16c -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -Xcudafe=--diag_suppress=unrecognized_gcc_pragma --extended-lambda --expt-relaxed-constexpr -MD -MT CMakeFiles/tiny-cuda-nn.dir/src/cutlass_mlp.cu.o -MF CMakeFiles/tiny-cuda-nn.dir/src/cutlass_mlp.cu.o.d -x cu -c /build/source/src/cutlass_mlp.cu -o CMakeFiles/tiny-cuda-nn.dir/src/cutlass_mlp.cu.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
g++: error: unrecognized command-line option '-mf16c'
[10/20] Building CUDA object benchmarks/image/CMakeFiles/bench_image_ours.dir/bench_ours.cu.o
FAILED: benchmarks/image/CMakeFiles/bench_image_ours.dir/bench_ours.cu.o 
/nix/store/z8g6ma876kbi5mxwq388aadn1h35yqy9-cuda-redist/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/nix/store/k0kxskxvmkw97h3z3b5y4hwd56fh9x33-gcc-wrapper-13.3.0/bin/c++ -DTCNN_MIN_GPU_ARCH=60 -DTCNN_SHAMPOO -I/build/source/include -I/build/source/dependencies -I/build/source/dependencies/cutlass/include -I/build/source/dependencies/cutlass/tools/util/include -I/build/source/dependencies/fmt/include -O3 -DNDEBUG -std=c++14 "--generate-code=arch=compute_60,code=[compute_60,sm_60]" "--generate-code=arch=compute_61,code=[compute_61,sm_61]" "--generate-code=arch=compute_70,code=[compute_70,sm_70]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" "--generate-code=arch=compute_86,code=[compute_86,sm_86]" "--generate-code=arch=compute_89,code=[compute_89,sm_89]" "--generate-code=arch=compute_90,code=[compute_90,sm_90]" "--generate-code=arch=compute_90a,code=[compute_90a,sm_90a]" -Xcompiler=-mf16c -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -Xcudafe=--diag_suppress=unrecognized_gcc_pragma --extended-lambda --expt-relaxed-constexpr -MD -MT benchmarks/image/CMakeFiles/bench_image_ours.dir/bench_ours.cu.o -MF benchmarks/image/CMakeFiles/bench_image_ours.dir/bench_ours.cu.o.d -x cu -c /build/source/benchmarks/image/bench_ours.cu -o benchmarks/image/CMakeFiles/bench_image_ours.dir/bench_ours.cu.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
g++: error: unrecognized command-line option '-mf16c'
[11/20] Building CUDA object CMakeFiles/tiny-cuda-nn.dir/src/common_device.cu.o
FAILED: CMakeFiles/tiny-cuda-nn.dir/src/common_device.cu.o 
/nix/store/z8g6ma876kbi5mxwq388aadn1h35yqy9-cuda-redist/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/nix/store/k0kxskxvmkw97h3z3b5y4hwd56fh9x33-gcc-wrapper-13.3.0/bin/c++ -DTCNN_MIN_GPU_ARCH=60 -DTCNN_SHAMPOO -I/build/source/include -I/build/source/dependencies -I/build/source/dependencies/cutlass/include -I/build/source/dependencies/cutlass/tools/util/include -I/build/source/dependencies/fmt/include -O3 -DNDEBUG -std=c++14 "--generate-code=arch=compute_60,code=[compute_60,sm_60]" "--generate-code=arch=compute_61,code=[compute_61,sm_61]" "--generate-code=arch=compute_70,code=[compute_70,sm_70]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" "--generate-code=arch=compute_86,code=[compute_86,sm_86]" "--generate-code=arch=compute_89,code=[compute_89,sm_89]" "--generate-code=arch=compute_90,code=[compute_90,sm_90]" "--generate-code=arch=compute_90a,code=[compute_90a,sm_90a]" -Xcompiler=-mf16c -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -Xcudafe=--diag_suppress=unrecognized_gcc_pragma --extended-lambda --expt-relaxed-constexpr -MD -MT CMakeFiles/tiny-cuda-nn.dir/src/common_device.cu.o -MF CMakeFiles/tiny-cuda-nn.dir/src/common_device.cu.o.d -x cu -c /build/source/src/common_device.cu -o CMakeFiles/tiny-cuda-nn.dir/src/common_device.cu.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
g++: error: unrecognized command-line option '-mf16c'
[12/20] Building CUDA object CMakeFiles/tiny-cuda-nn.dir/src/network.cu.o
FAILED: CMakeFiles/tiny-cuda-nn.dir/src/network.cu.o 
/nix/store/z8g6ma876kbi5mxwq388aadn1h35yqy9-cuda-redist/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/nix/store/k0kxskxvmkw97h3z3b5y4hwd56fh9x33-gcc-wrapper-13.3.0/bin/c++ -DTCNN_MIN_GPU_ARCH=60 -DTCNN_SHAMPOO -I/build/source/include -I/build/source/dependencies -I/build/source/dependencies/cutlass/include -I/build/source/dependencies/cutlass/tools/util/include -I/build/source/dependencies/fmt/include -O3 -DNDEBUG -std=c++14 "--generate-code=arch=compute_60,code=[compute_60,sm_60]" "--generate-code=arch=compute_61,code=[compute_61,sm_61]" "--generate-code=arch=compute_70,code=[compute_70,sm_70]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" "--generate-code=arch=compute_86,code=[compute_86,sm_86]" "--generate-code=arch=compute_89,code=[compute_89,sm_89]" "--generate-code=arch=compute_90,code=[compute_90,sm_90]" "--generate-code=arch=compute_90a,code=[compute_90a,sm_90a]" -Xcompiler=-mf16c -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -Xcudafe=--diag_suppress=unrecognized_gcc_pragma --extended-lambda --expt-relaxed-constexpr -MD -MT CMakeFiles/tiny-cuda-nn.dir/src/network.cu.o -MF CMakeFiles/tiny-cuda-nn.dir/src/network.cu.o.d -x cu -c /build/source/src/network.cu -o CMakeFiles/tiny-cuda-nn.dir/src/network.cu.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
g++: error: unrecognized command-line option '-mf16c'
[13/20] Building CXX object dependencies/fmt/CMakeFiles/fmt.dir/src/os.cc.o
[14/20] Building CXX object dependencies/fmt/CMakeFiles/fmt.dir/src/format.cc.o
[15/20] Building CXX object samples/CMakeFiles/mlp_learning_an_image.dir/__/dependencies/stbi/stbi_wrapper.cpp.o
[16/20] Building CXX object benchmarks/image/CMakeFiles/bench_image_ours.dir/__/__/dependencies/stbi/stbi_wrapper.cpp.o
ninja: build stopped: subcommand failed.
got build log for '/nix/store/pq000fwn348gcig02sqbjrsb5n3f4yj8-tiny-cuda-nn-1.6.drv' from 'daemon'
12:19:08
@glepage:matrix.orgGaétan LepageAny idea ? Otherwise I can make a PR to mark it as broken (it builds fine on x86_64)12:19:32
@glepage:matrix.orgGaétan Lepage *

connor (he/him) (UTC-5) tiny-cuda-nn fails on aarch64-linux with:

-- Build files have been written to: /build/source/build
cmake: enabled parallel building
cmake: enabled parallel installing
Running phase: buildPhase
build flags: -j80
[1/20] Building CUDA object CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o
FAILED: CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o 
/nix/store/z8g6ma876kbi5mxwq388aadn1h35yqy9-cuda-redist/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/nix/store/k0kxskxvmkw97h3z3b5y4hwd56fh9x33-gcc-wrapper-13.3.0/bin/c++ -DTCNN_MIN_GPU_ARCH=60 -DTCNN_SHAMPOO -I/build/source/include -I/build/source/dependencies -I/build/source/dependencies/cutlass/include -I/build/source/dependencies/cutlass/tools/util/include -I/build/source/dependencies/fmt/include -O3 -DNDEBUG -std=c++14 "--generate-code=arch=compute_60,code=[compute_60,sm_60]" "--generate-code=arch=compute_61,code=[compute_61,sm_61]" "--generate-code=arch=compute_70,code=[compute_70,sm_70]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" "--generate-code=arch=compute_86,code=[compute_86,sm_86]" "--generate-code=arch=compute_89,code=[compute_89,sm_89]" "--generate-code=arch=compute_90,code=[compute_90,sm_90]" "--generate-code=arch=compute_90a,code=[compute_90a,sm_90a]" -Xcompiler=-mf16c -Xcompiler=-Wno-float-conversion -Xcompiler=-fno-strict-aliasing -Xcudafe=--diag_suppress=unrecognized_gcc_pragma --extended-lambda --expt-relaxed-constexpr -MD -MT CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o -MF CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o.d -x cu -c /build/source/src/encoding.cu -o CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
g++: error: unrecognized command-line option '-mf16c'
...
12:21:40
@connorbaker:matrix.orgconnor (he/him) (UTC-7)Mark it as broken, it needs more love than I have to give right now :(14:35:33
@glepage:matrix.orgGaétan LepageSure no worry15:26:16

Show newer messages


Back to Room ListRoom Version: 9