Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cudaPackages: drop some runfile dependencies and fix a few builds #272063

Merged
merged 24 commits into from
Dec 5, 2023

Conversation

SomeoneSerge
Copy link
Contributor

Description of changes

A bunch of fixes aggregated from #271078 and #269639. Idk the other two PRs are going to be merged, but this specific diff should be mostly a no-brainer

@NixOS/cuda-maintainers

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@SomeoneSerge SomeoneSerge changed the title Fix/cuda upkeep cudaPackages: drop some runfile dependencies and fix a few builds Dec 4, 2023
@SomeoneSerge SomeoneSerge added 6.topic: cuda Parallel computing platform and API backport staging-23.11 labels Dec 4, 2023
@ConnorBaker
Copy link
Contributor

ConnorBaker commented Dec 4, 2023

I'm getting the following eval error from Nixpkgs-review.

EDIT: I suspect it's because it references cudatoolkit-10.2.89 it's trying to reference a redistributable within the CUDA 10.x package set?

error:
       … while querying the derivation named 'dcgm-3.2.5'

       … while calling the 'getAttr' builtin

         at /derivation-internal.nix:19:19:

           18|       value = commonAttrs // {
           19|         outPath = builtins.getAttr outputName strict;
             |                   ^
           20|         drvPath = strict.drvPath;

       … while calling the 'derivationStrict' builtin

         at /derivation-internal.nix:9:12:

            8|
            9|   strict = derivationStrict drvAttrs;
             |            ^
           10|

       … while evaluating derivation 'dcgm-3.2.5'
         whose name attribute is located at /home/connorbaker/.cache/nixpkgs-review/pr-272063/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'EXTRA_CUDA_PATHS' of derivation 'dcgm-3.2.5'

         at /home/connorbaker/.cache/nixpkgs-review/pr-272063/nixpkgs/pkgs/os-specific/linux/dcgm/default.nix:98:3:

           97|   # Add our paths to the CUDA paths so FindCuda.cmake can find them.
           98|   EXTRA_CUDA_PATHS = lib.concatMapStringsSep "\n" mkAppendCudaPaths cudaPackageSetByVersion;
             |   ^
           99|   prePatch = ''

       … from call site

         at /home/connorbaker/.cache/nixpkgs-review/pr-272063/nixpkgs/pkgs/os-specific/linux/dcgm/default.nix:98:22:

           97|   # Add our paths to the CUDA paths so FindCuda.cmake can find them.
           98|   EXTRA_CUDA_PATHS = lib.concatMapStringsSep "\n" mkAppendCudaPaths cudaPackageSetByVersion;
             |                      ^
           99|   prePatch = ''

       … while calling 'concatMapStringsSep'

         at /home/connorbaker/.cache/nixpkgs-review/pr-272063/nixpkgs/lib/strings.nix:117:5:

          116|     # List of input strings
          117|     list: concatStringsSep sep (map f list);
             |     ^
          118|

       … while calling 'mkAppendCudaPaths'

         at /home/connorbaker/.cache/nixpkgs-review/pr-272063/nixpkgs/pkgs/os-specific/linux/dcgm/default.nix:65:23:

           64|   # Builds CMake code to add CUDA paths for include and lib.
           65|   mkAppendCudaPaths = { version, pkgSet }:
             |                       ^
           66|     let

       … while evaluating derivation 'cuda-combined-10'
         whose name attribute is located at /home/connorbaker/.cache/nixpkgs-review/pr-272063/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'paths' of derivation 'cuda-combined-10'

         at /home/connorbaker/.cache/nixpkgs-review/pr-272063/nixpkgs/pkgs/os-specific/linux/dcgm/default.nix:74:9:

           73|         name = "cuda-combined-${version}";
           74|         paths = pkgSet;
             |         ^
           75|       };

       … while evaluating derivation 'cudatoolkit-10.2.89'
         whose name attribute is located at /home/connorbaker/.cache/nixpkgs-review/pr-272063/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'depsTargetTargetPropagated' of derivation 'cudatoolkit-10.2.89'

         at /home/connorbaker/.cache/nixpkgs-review/pr-272063/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:403:7:

          402|       propagatedBuildInputs       = elemAt (elemAt propagatedDependencies 1) 1;
          403|       depsTargetTargetPropagated  = elemAt (elemAt propagatedDependencies 2) 0;
             |       ^
          404|

       … while evaluating derivation 'setup-cuda-hook'
         whose name attribute is located at /home/connorbaker/.cache/nixpkgs-review/pr-272063/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'cudartInclude' of derivation 'setup-cuda-hook'

         at /home/connorbaker/.cache/nixpkgs-review/pr-272063/nixpkgs/pkgs/development/compilers/cudatoolkit/extension.nix:72:11:

           71|           # - the static library, which is in the static output
           72|           substitutions.cudartInclude = "${final.cuda_cudart.dev}";
             |           ^
           73|           substitutions.cudartLib = "${final.cuda_cudart.lib}";

       error: attribute 'cuda_cudart' missing

       at /home/connorbaker/.cache/nixpkgs-review/pr-272063/nixpkgs/pkgs/development/compilers/cudatoolkit/extension.nix:72:44:

           71|           # - the static library, which is in the static output
           72|           substitutions.cudartInclude = "${final.cuda_cudart.dev}";
             |                                            ^
           73|           substitutions.cudartLib = "${final.cuda_cudart.lib}";
https://github.com/NixOS/nixpkgs/pull/272063 failed to build: Failed to list packages: nix-env failed with exit code 1

@SomeoneSerge
Copy link
Contributor Author

SomeoneSerge commented Dec 4, 2023

Oh it really does still use cuda10. Give me a moment

Note that this is only an issue until we've merged https://github.com/NixOS/nixpkgs/blob/874916d667e60009055cf36c7d550b85e5008a48/pkgs/development/compilers/cudatoolkit/hooks/setup-cuda-hook.sh#L102-L113 (just noticed a typo there, will fix)

@SomeoneSerge
Copy link
Contributor Author

From the commit message:

cudaPackages.setupCudaHook: rewrite cudartFlags, remove infinite recu…
…rsion in cudatoolkit

We don't need to add the extra nvcc flags to locate cudart when using
cudatoolkit because it comes in the merged layout and nvcc doesn't have
any trouble locating dependencies in the same prefix

@ConnorBaker
Copy link
Contributor

Result of nixpkgs-review pr 272063 --extra-nixpkgs-config '{ allowUnfree = true; allowBroken = false; cudaSupport = true; cudaCapabilities = [ "8.9" ]; }' run on x86_64-linux 1

47 packages marked as broken and skipped:
  • caffeWithCuda
  • caffeWithCuda.bin
  • cudaPackages.nvidia_driver
  • cudaPackages.nvidia_driver.bin
  • cudaPackages.nvidia_driver.lib
  • ezminc
  • octavePackages.sparsersb
  • python310Packages.caffeWithCuda
  • python310Packages.caffeWithCuda.bin
  • python310Packages.dm-sonnet
  • python310Packages.dm-sonnet.dist
  • python310Packages.elegy
  • python310Packages.elegy.dist
  • python310Packages.scikit-tda
  • python310Packages.scikit-tda.dist
  • python310Packages.sunpy
  • python310Packages.sunpy.dist
  • python310Packages.tensorflow-datasets
  • python310Packages.tensorflow-datasets.dist
  • python310Packages.theanoWithCuda
  • python310Packages.theanoWithCuda.dist
  • python310Packages.treex
  • python310Packages.treex.dist
  • python310Packages.worldengine
  • python310Packages.worldengine.dist
  • python311Packages.caffeWithCuda
  • python311Packages.caffeWithCuda.bin
  • python311Packages.dm-sonnet
  • python311Packages.dm-sonnet.dist
  • python311Packages.elegy
  • python311Packages.elegy.dist
  • python311Packages.scikit-tda
  • python311Packages.scikit-tda.dist
  • python311Packages.sunpy
  • python311Packages.sunpy.dist
  • python311Packages.tensorflow-datasets
  • python311Packages.tensorflow-datasets.dist
  • python311Packages.theanoWithCuda
  • python311Packages.theanoWithCuda.dist
  • python311Packages.treex
  • python311Packages.treex.dist
  • python311Packages.worldengine
  • python311Packages.worldengine.dist
  • t-rex
  • truecrack-cuda
  • worldengine-cli
  • worldengine-cli.dist
46 packages failed to build:
  • colmapWithCuda
  • cp2k
  • cudaPackages.cuda-samples
  • cudaPackages.nsight_compute (cudaPackages.nsight_compute.bin)
  • dl-poly-classic-mpi
  • getdp
  • gromacsDouble
  • gromacsDouble.dev
  • gromacsDouble.man
  • gromacsDoubleMpi
  • gromacsDoubleMpi.dev
  • gromacsDoubleMpi.man
  • mathematica-cuda
  • mathematica-webdoc-cuda
  • petsc
  • python310Packages.bsuite
  • python310Packages.bsuite.dist
  • python310Packages.gpt-2-simple
  • python310Packages.gpt-2-simple.dist
  • python310Packages.plotnine
  • python310Packages.plotnine.dist
  • python310Packages.python-mapnik
  • python310Packages.python-mapnik.dist
  • python310Packages.rlax
  • python310Packages.rlax.dist
  • python310Packages.tf2onnx
  • python310Packages.tf2onnx.dist
  • python310Packages.tiny-cuda-nn
  • python311Packages.bsuite
  • python311Packages.bsuite.dist
  • python311Packages.gpt-2-simple
  • python311Packages.gpt-2-simple.dist
  • python311Packages.hoomd-blue
  • python311Packages.plotnine
  • python311Packages.plotnine.dist
  • python311Packages.python-mapnik
  • python311Packages.python-mapnik.dist
  • python311Packages.rlax
  • python311Packages.rlax.dist
  • python311Packages.tensorrt
  • python311Packages.tensorrt.dist
  • python311Packages.tf2onnx
  • python311Packages.tf2onnx.dist
  • python311Packages.tiny-cuda-nn
  • saga
  • tiny-cuda-nn
544 packages built:
  • EBTKS
  • ants
  • apacheHttpdPackages.mod_tile (apacheHttpdPackages_2_4.mod_tile)
  • bicgl
  • bicpl
  • blender
  • blender-hip
  • c3d
  • cdo
  • cloudcompare
  • conglomerate
  • costa
  • cudaPackages.backendStdenv
  • cudaPackages.cuda_cccl (cudaPackages.cuda_cccl.dev)
  • cudaPackages.cuda_cudart (cudaPackages.cuda_cudart.dev ,cudaPackages.cuda_cudart.lib ,cudaPackages.cuda_cudart.static)
  • cudaPackages.cuda_cuobjdump (cudaPackages.cuda_cuobjdump.bin)
  • cudaPackages.cuda_cupti (cudaPackages.cuda_cupti.dev ,cudaPackages.cuda_cupti.lib ,cudaPackages.cuda_cupti.sample ,cudaPackages.cuda_cupti.static)
  • cudaPackages.cuda_cuxxfilt (cudaPackages.cuda_cuxxfilt.bin ,cudaPackages.cuda_cuxxfilt.dev ,cudaPackages.cuda_cuxxfilt.static)
  • cudaPackages.cuda_demo_suite
  • cudaPackages.cuda_documentation
  • cudaPackages.cuda_gdb (cudaPackages.cuda_gdb.bin)
  • cudaPackages.cuda_nsight (cudaPackages.cuda_nsight.bin)
  • cudaPackages.cuda_nvcc (cudaPackages.cuda_nvcc.bin ,cudaPackages.cuda_nvcc.dev ,cudaPackages.cuda_nvcc.static)
  • cudaPackages.cuda_nvdisasm (cudaPackages.cuda_nvdisasm.bin)
  • cudaPackages.cuda_nvml_dev (cudaPackages.cuda_nvml_dev.dev ,cudaPackages.cuda_nvml_dev.lib)
  • cudaPackages.cuda_nvprof (cudaPackages.cuda_nvprof.bin ,cudaPackages.cuda_nvprof.lib)
  • cudaPackages.cuda_nvprune (cudaPackages.cuda_nvprune.bin)
  • cudaPackages.cuda_nvrtc (cudaPackages.cuda_nvrtc.dev ,cudaPackages.cuda_nvrtc.lib ,cudaPackages.cuda_nvrtc.static)
  • cudaPackages.cuda_nvtx (cudaPackages.cuda_nvtx.dev ,cudaPackages.cuda_nvtx.lib)
  • cudaPackages.cuda_nvvp (cudaPackages.cuda_nvvp.bin)
  • cudaPackages.cuda_opencl (cudaPackages.cuda_opencl.dev ,cudaPackages.cuda_opencl.lib)
  • cudaPackages.cuda_profiler_api (cudaPackages.cuda_profiler_api.dev)
  • cudaPackages.cuda_sanitizer_api (cudaPackages.cuda_sanitizer_api.bin)
  • cudatoolkit (cudaPackages.cudatoolkit)
  • cudatoolkit.doc (cudaPackages.cudatoolkit.doc)
  • cudatoolkit.lib (cudaPackages.cudatoolkit.lib)
  • cudaPackages.cudnn (cudaPackages.cudnn.dev ,cudaPackages.cudnn.lib ,cudaPackages.cudnn.static ,cudaPackages.cudnn_8_9 ,cudaPackages.cudnn_8_9.dev ,cudaPackages.cudnn_8_9.lib ,cudaPackages.cudnn_8_9.static)
  • cudaPackages.cudnn_8_8 (cudaPackages.cudnn_8_8.dev ,cudaPackages.cudnn_8_8.lib ,cudaPackages.cudnn_8_8.static)
  • cudaPackages.cutensor
  • cudaPackages.cutensor.dev
  • cudaPackages.fabricmanager (cudaPackages.fabricmanager.bin ,cudaPackages.fabricmanager.dev ,cudaPackages.fabricmanager.lib)
  • cudaPackages.libcublas (cudaPackages.libcublas.dev ,cudaPackages.libcublas.lib ,cudaPackages.libcublas.static)
  • cudaPackages.libcufft (cudaPackages.libcufft.dev ,cudaPackages.libcufft.lib ,cudaPackages.libcufft.static)
  • cudaPackages.libcufile (cudaPackages.libcufile.dev ,cudaPackages.libcufile.lib ,cudaPackages.libcufile.sample ,cudaPackages.libcufile.static)
  • cudaPackages.libcurand (cudaPackages.libcurand.dev ,cudaPackages.libcurand.lib ,cudaPackages.libcurand.static)
  • cudaPackages.libcusolver (cudaPackages.libcusolver.dev ,cudaPackages.libcusolver.lib ,cudaPackages.libcusolver.static)
  • cudaPackages.libcusparse (cudaPackages.libcusparse.dev ,cudaPackages.libcusparse.lib ,cudaPackages.libcusparse.static)
  • cudaPackages.libnpp (cudaPackages.libnpp.dev ,cudaPackages.libnpp.lib ,cudaPackages.libnpp.static)
  • cudaPackages.libnvidia_nscq (cudaPackages.libnvidia_nscq.bin ,cudaPackages.libnvidia_nscq.dev ,cudaPackages.libnvidia_nscq.lib)
  • cudaPackages.libnvjitlink (cudaPackages.libnvjitlink.dev ,cudaPackages.libnvjitlink.lib ,cudaPackages.libnvjitlink.static)
  • cudaPackages.libnvjpeg (cudaPackages.libnvjpeg.dev ,cudaPackages.libnvjpeg.lib ,cudaPackages.libnvjpeg.static)
  • cudaPackages.libnvvm_samples
  • cudaPackages.nccl
  • cudaPackages.nccl-tests
  • cudaPackages.nccl.dev
  • cudaPackages.nsight_systems (cudaPackages.nsight_systems.bin)
  • cudaPackages.nvidia_fs
  • cudaPackages.saxpy
  • cudaPackages.setupCudaHook
  • cudaPackages.tensorrt (cudaPackages.tensorrt_8_6_1)
  • cudaPackages.tensorrt.dev (cudaPackages.tensorrt_8_6_1.dev)
  • cudatoolkit_11
  • cudatoolkit_11.doc
  • cudatoolkit_11.lib
  • dbcsr
  • dcgm
  • dtcmp
  • dtcmp.dev
  • eccodes
  • elastix
  • elmerfem
  • elpa
  • elpa.dev
  • elpa.doc
  • elpa.man
  • entwine
  • faissWithCuda
  • faissWithCuda.demos
  • febio
  • fftwMpi
  • fftwMpi.dev
  • fftwMpi.info
  • fftwMpi.man
  • freecad
  • frigate
  • gdal (python311Packages.gdal)
  • globalarrays
  • gmt
  • gnudatalanguage
  • gplates
  • gpt2tc
  • gpu-burn
  • grass
  • gromacs
  • gromacs.dev
  • gromacs.man
  • gromacsMpi (gromacsCudaMpi)
  • gromacsMpi.dev (gromacsCudaMpi.dev)
  • gromacsMpi.man (gromacsCudaMpi.man)
  • gromacsPlumed
  • gromacsPlumed.dev
  • gromacsPlumed.man
  • gwe
  • haskellPackages.haskell-mpi
  • haskellPackages.haskell-mpi.doc
  • haskellPackages.hgdal
  • haskellPackages.hgdal.doc
  • haskellPackages.mpi-hs-binary
  • haskellPackages.mpi-hs-binary.doc
  • haskellPackages.mpi-hs-cereal
  • haskellPackages.mpi-hs-cereal.doc
  • haskellPackages.mpi-hs-store
  • haskellPackages.mpi-hs-store.doc
  • hdf5-mpi
  • hdf5-mpi.dev
  • highfive-mpi
  • hp2p
  • hpcg
  • hpl
  • inormalize
  • intensity-normalization (python311Packages.intensity-normalization)
  • intensity-normalization.dist (python311Packages.intensity-normalization.dist)
  • ior
  • itk (itk_5)
  • itk_5_2
  • katagoTensorRT
  • katagoWithCuda
  • labplot
  • lammps-mpi
  • libcircle
  • libcircle.dev
  • libminc
  • librealsenseWithCuda
  • librealsenseWithCuda.dev
  • librsb
  • libtensorflow (libtensorflow.python)
  • libvdwxc
  • lwgrp
  • lwgrp.dev
  • magma-cuda
  • magma-cuda-static
  • mapcache
  • mapnik
  • mapproxy
  • mapproxy.dist
  • mapserver
  • merkaartor
  • migrate
  • minc_tools
  • minc_widgets
  • mirtk
  • mni_autoreg
  • mpi (openmpi)
  • mpi.man (openmpi.man)
  • mpifileutils
  • mpifileutils.dev
  • mpifileutils.man
  • mrtrix
  • mysql-workbench
  • n3
  • nco
  • ncview
  • nest-mpi
  • netcdf
  • netcdf-mpi
  • netcdfcxx4
  • netcdffortran
  • neuron-full (python311Packages.neuronpy)
  • neuron-mpi
  • nvtop
  • nvtop-nvidia
  • nwchem
  • octavePackages.mapping
  • octavePackages.ncarray
  • octavePackages.netcdf
  • octopus
  • oobicpl
  • openorienteering-mapper
  • opensubdiv
  • opensubdiv.dev
  • ovito
  • paraview
  • parmetis
  • pdal
  • perl536Packages.Tirex
  • perl536Packages.Tirex.devdoc
  • perl538Packages.Tirex
  • perl538Packages.Tirex.devdoc
  • postgresql12JitPackages.postgis
  • postgresql12JitPackages.postgis.doc
  • postgresql12Packages.postgis
  • postgresql12Packages.postgis.doc
  • postgresql13JitPackages.postgis
  • postgresql13JitPackages.postgis.doc
  • postgresql13Packages.postgis
  • postgresql13Packages.postgis.doc
  • postgresql14JitPackages.postgis
  • postgresql14JitPackages.postgis.doc
  • postgresql14Packages.postgis
  • postgresql14Packages.postgis.doc
  • postgresqlJitPackages.postgis (postgresql15JitPackages.postgis)
  • postgresqlJitPackages.postgis.doc (postgresql15JitPackages.postgis.doc)
  • postgresqlPackages.postgis (postgresql15Packages.postgis)
  • postgresqlPackages.postgis.doc (postgresql15Packages.postgis.doc)
  • postgresql16JitPackages.postgis
  • postgresql16JitPackages.postgis.doc
  • postgresql16Packages.postgis
  • postgresql16Packages.postgis.doc
  • precice
  • prometheus-dcgm-exporter
  • pymol
  • pymol.dist
  • python310Packages.arviz
  • python310Packages.arviz.dist
  • python310Packages.bambi
  • python310Packages.bambi.dist
  • python310Packages.baselines
  • python310Packages.baselines.dist
  • python310Packages.bitsandbytes
  • python310Packages.bitsandbytes.dist
  • python310Packages.boltztrap2
  • python310Packages.boltztrap2.dist
  • python310Packages.cartopy
  • python310Packages.cartopy.dist
  • python310Packages.cleanlab
  • python310Packages.cleanlab.dist
  • python310Packages.cupy
  • python310Packages.cupy.dist
  • python310Packages.dalle-mini
  • python310Packages.dalle-mini.dist
  • python310Packages.dask-mpi
  • python310Packages.dask-mpi.dist
  • python310Packages.datashader
  • python310Packages.datashader.dist
  • python310Packages.distrax
  • python310Packages.distrax.dist
  • python310Packages.django-bootstrap4
  • python310Packages.django-bootstrap4.dist
  • python310Packages.eccodes
  • python310Packages.edward
  • python310Packages.edward.dist
  • python310Packages.encodec
  • python310Packages.encodec.dist
  • python310Packages.fenics
  • python310Packages.fenics.dist
  • python310Packages.fiona
  • python310Packages.fiona.dist
  • python310Packages.fipy
  • python310Packages.fipy.dist
  • python310Packages.flax
  • python310Packages.flax.dist
  • python310Packages.folium
  • python310Packages.folium.dist
  • python310Packages.gdal
  • python310Packages.geopandas
  • python310Packages.geopandas.dist
  • python310Packages.gpaw
  • python310Packages.gpaw.dist
  • python310Packages.h5netcdf
  • python310Packages.h5netcdf.dist
  • python310Packages.h5py-mpi
  • python310Packages.h5py-mpi.dist
  • python310Packages.hoomd-blue
  • python310Packages.intensity-normalization
  • python310Packages.intensity-normalization.dist
  • python310Packages.jaxlibWithCuda
  • python310Packages.jaxlibWithCuda.dist
  • python310Packages.lightgbm
  • python310Packages.lightgbm.dist
  • python310Packages.meep
  • python310Packages.meshio
  • python310Packages.meshio.dist
  • python310Packages.mhcflurry
  • python310Packages.mhcflurry.dist
  • python310Packages.mpi4py
  • python310Packages.mpi4py.dist
  • python310Packages.n3fit
  • python310Packages.n3fit.dist
  • python310Packages.nest
  • python310Packages.netcdf4
  • python310Packages.netcdf4.dist
  • python310Packages.neuronpy
  • python310Packages.numbaWithCuda
  • python310Packages.numbaWithCuda.dist
  • python310Packages.objax
  • python310Packages.objax.dist
  • python310Packages.openai-triton-bin
  • python310Packages.openai-triton-bin.dist
  • python310Packages.openai-triton-cuda
  • python310Packages.openai-triton-cuda.dist
  • python310Packages.openllm
  • python310Packages.openllm.dist
  • python310Packages.openusd
  • python310Packages.openusd.doc
  • python310Packages.osmnx
  • python310Packages.osmnx.dist
  • python310Packages.pot
  • python310Packages.pot.dist
  • python310Packages.pycuda
  • python310Packages.pycuda.dist
  • python310Packages.pydicom-seg
  • python310Packages.pydicom-seg.dist
  • python310Packages.pygmt
  • python310Packages.pygmt.dist
  • python310Packages.pymc
  • python310Packages.pymc.dist
  • python310Packages.pymedio
  • python310Packages.pymedio.dist
  • python310Packages.pynvml
  • python310Packages.pynvml.dist
  • python310Packages.pyprecice
  • python310Packages.pyprecice.dist
  • python310Packages.pyradiomics
  • python310Packages.pyradiomics.dist
  • python310Packages.pyrealsense2WithCuda
  • python310Packages.pyrealsense2WithCuda.dev
  • python310Packages.pytensor
  • python310Packages.pytensor.dist
  • python310Packages.qcodes
  • python310Packages.qcodes-contrib-drivers
  • python310Packages.qcodes-contrib-drivers.dist
  • python310Packages.qcodes.dist
  • python310Packages.rasterio
  • python310Packages.rasterio.dist
  • python310Packages.sfepy
  • python310Packages.sfepy.dist
  • python310Packages.shap
  • python310Packages.shap.dist
  • python310Packages.simpleitk
  • python310Packages.simpleitk.dist
  • python310Packages.tensorflow (python310Packages.tensorflow-build ,python310Packages.tensorflowWithCuda)
  • python310Packages.tensorflow.dist (python310Packages.tensorflow-build.dist ,python310Packages.tensorflowWithCuda.dist)
  • python310Packages.tensorflow-probability
  • python310Packages.tensorflow-probability.dist
  • python310Packages.tensorflowWithoutCuda
  • python310Packages.tensorflowWithoutCuda.dist
  • python310Packages.tensorrt
  • python310Packages.tensorrt.dist
  • python310Packages.tflearn
  • python310Packages.tflearn.dist
  • python310Packages.torchWithCuda
  • python310Packages.torchWithCuda.dev
  • python310Packages.torchWithCuda.dist
  • python310Packages.torchWithCuda.lib
  • python310Packages.torchaudio-bin
  • python310Packages.torchaudio-bin.dist
  • python310Packages.torchio
  • python310Packages.torchio.dist
  • python310Packages.torchvision-bin
  • python310Packages.torchvision-bin.dist
  • python310Packages.trfl
  • python310Packages.trfl.dist
  • python310Packages.umap-learn
  • python310Packages.umap-learn.dist
  • python310Packages.vqgan-jax
  • python310Packages.vqgan-jax.dist
  • python310Packages.wktutils
  • python310Packages.wktutils.dist
  • python310Packages.wrf-python
  • python310Packages.wrf-python.dist
  • python311Packages.arviz
  • python311Packages.arviz.dist
  • python311Packages.bambi
  • python311Packages.bambi.dist
  • python311Packages.baselines
  • python311Packages.baselines.dist
  • python311Packages.bitsandbytes
  • python311Packages.bitsandbytes.dist
  • python311Packages.boltztrap2
  • python311Packages.boltztrap2.dist
  • python311Packages.cartopy
  • python311Packages.cartopy.dist
  • python311Packages.cleanlab
  • python311Packages.cleanlab.dist
  • python311Packages.cupy
  • python311Packages.cupy.dist
  • python311Packages.dalle-mini
  • python311Packages.dalle-mini.dist
  • python311Packages.dask-mpi
  • python311Packages.dask-mpi.dist
  • python311Packages.datashader
  • python311Packages.datashader.dist
  • python311Packages.distrax
  • python311Packages.distrax.dist
  • python311Packages.django-bootstrap4
  • python311Packages.django-bootstrap4.dist
  • python311Packages.eccodes
  • python311Packages.edward
  • python311Packages.edward.dist
  • python311Packages.encodec
  • python311Packages.encodec.dist
  • python311Packages.fenics
  • python311Packages.fenics.dist
  • python311Packages.fiona
  • python311Packages.fiona.dist
  • python311Packages.fipy
  • python311Packages.fipy.dist
  • python311Packages.flax
  • python311Packages.flax.dist
  • python311Packages.folium
  • python311Packages.folium.dist
  • python311Packages.geopandas
  • python311Packages.geopandas.dist
  • python311Packages.gpaw
  • python311Packages.gpaw.dist
  • python311Packages.h5netcdf
  • python311Packages.h5netcdf.dist
  • python311Packages.h5py-mpi
  • python311Packages.h5py-mpi.dist
  • python311Packages.jaxlibWithCuda
  • python311Packages.jaxlibWithCuda.dist
  • python311Packages.lightgbm
  • python311Packages.lightgbm.dist
  • python311Packages.meep
  • python311Packages.meshio
  • python311Packages.meshio.dist
  • python311Packages.mhcflurry
  • python311Packages.mhcflurry.dist
  • python311Packages.mpi4py
  • python311Packages.mpi4py.dist
  • python311Packages.n3fit
  • python311Packages.n3fit.dist
  • python311Packages.nest
  • python311Packages.netcdf4
  • python311Packages.netcdf4.dist
  • python311Packages.numbaWithCuda
  • python311Packages.numbaWithCuda.dist
  • python311Packages.objax
  • python311Packages.objax.dist
  • python311Packages.openai-triton-bin
  • python311Packages.openai-triton-bin.dist
  • python311Packages.openai-triton-cuda
  • python311Packages.openai-triton-cuda.dist
  • python311Packages.openllm
  • python311Packages.openllm.dist
  • python311Packages.openusd
  • python311Packages.openusd.doc
  • python311Packages.osmnx
  • python311Packages.osmnx.dist
  • python311Packages.pot
  • python311Packages.pot.dist
  • python311Packages.pycuda
  • python311Packages.pycuda.dist
  • python311Packages.pydicom-seg
  • python311Packages.pydicom-seg.dist
  • python311Packages.pygmt
  • python311Packages.pygmt.dist
  • python311Packages.pymc
  • python311Packages.pymc.dist
  • python311Packages.pymedio
  • python311Packages.pymedio.dist
  • python311Packages.pynvml
  • python311Packages.pynvml.dist
  • python311Packages.pyprecice
  • python311Packages.pyprecice.dist
  • python311Packages.pyradiomics
  • python311Packages.pyradiomics.dist
  • python311Packages.pyrealsense2WithCuda
  • python311Packages.pyrealsense2WithCuda.dev
  • python311Packages.pytensor
  • python311Packages.pytensor.dist
  • python311Packages.qcodes
  • python311Packages.qcodes-contrib-drivers
  • python311Packages.qcodes-contrib-drivers.dist
  • python311Packages.qcodes.dist
  • python311Packages.rasterio
  • python311Packages.rasterio.dist
  • python311Packages.sfepy
  • python311Packages.sfepy.dist
  • python311Packages.shap
  • python311Packages.shap.dist
  • python311Packages.simpleitk
  • python311Packages.simpleitk.dist
  • python311Packages.tensorflow (python311Packages.tensorflow-build ,python311Packages.tensorflowWithCuda)
  • python311Packages.tensorflow.dist (python311Packages.tensorflow-build.dist ,python311Packages.tensorflowWithCuda.dist)
  • python311Packages.tensorflow-probability
  • python311Packages.tensorflow-probability.dist
  • python311Packages.tensorflowWithoutCuda
  • python311Packages.tensorflowWithoutCuda.dist
  • python311Packages.tflearn
  • python311Packages.tflearn.dist
  • python311Packages.torchWithCuda
  • python311Packages.torchWithCuda.dev
  • python311Packages.torchWithCuda.dist
  • python311Packages.torchWithCuda.lib
  • python311Packages.torchaudio-bin
  • python311Packages.torchaudio-bin.dist
  • python311Packages.torchio
  • python311Packages.torchio.dist
  • python311Packages.torchvision-bin
  • python311Packages.torchvision-bin.dist
  • python311Packages.trfl
  • python311Packages.trfl.dist
  • python311Packages.umap-learn
  • python311Packages.umap-learn.dist
  • python311Packages.vqgan-jax
  • python311Packages.vqgan-jax.dist
  • python311Packages.wktutils
  • python311Packages.wktutils.dist
  • python311Packages.wrf-python
  • python311Packages.wrf-python.dist
  • pytrainer
  • pytrainer.dist
  • qgis
  • qgis-ltr
  • qmapshack
  • quantum-espresso-mpi
  • raxml-mpi
  • rocmPackages.rocalution (rocmPackages_5.rocalution)
  • rocmPackages.rocprofiler (rocmPackages_5.rocprofiler)
  • scalapack
  • scalapack.dev
  • scotch
  • siesta-mpi
  • simpleitk
  • sirius
  • spfft
  • spla
  • sumo
  • tests.pkg-config.defaultPkgConfigPackages.ompi
  • tests.pkg-config.defaultPkgConfigPackages.ompi-c
  • tests.pkg-config.defaultPkgConfigPackages.ompi-cxx
  • tests.pkg-config.defaultPkgConfigPackages.ompi-f77
  • tests.pkg-config.defaultPkgConfigPackages.ompi-f90
  • tests.pkg-config.defaultPkgConfigPackages.ompi-fort
  • tests.pkg-config.defaultPkgConfigPackages.orte
  • tests.pkg-config.defaultPkgConfigPackages.tensorflow
  • trilinos-mpi
  • tts
  • tts.dist
  • ucc
  • ucc.dev
  • ucx
  • ucx.dev
  • ucx.doc
  • udig
  • vpv
  • wyoming-openwakeword
  • wyoming-openwakeword.dist
  • xgboostWithCuda
  • xpraWithNvenc
  • xpraWithNvenc.dist
  • xyce-parallel
  • xyce-parallel.doc

@SomeoneSerge
Copy link
Contributor Author

SomeoneSerge commented Dec 5, 2023

  • Colmap broken because we didn't handle the cudaCapabilities and the upstream hard-codes old architectures unsupported by our cuda release. Also upstream uses the legacy FindCUDA.cmake by default and FindCUDAToolkit.cmake only as a fallback: https://github.com/colmap/colmap/blob/c0355417328f3706a30a9265fd52bc7a5aa4cb8c/cmake/FindDependencies.cmake#L88-L119. Since we set flags for both unconditionally, they end up using FindCUDA...
  • Gromacs seems to succeed locally
  • gromacsDouble + cuda unsupported upstream; we should add broken = true, but this is out of scope now
  • tiny-cuda-nn broken on master presumably after a cuda bump; adding a fix

@ConnorBaker
Copy link
Contributor

ConnorBaker commented Dec 5, 2023

Logs are available here: https://drive.google.com/drive/folders/1GgABhwa2ooKeZXMqf5He6PcyClNrE6cQ?usp=share_link

Log archive: 272063/x86_64-linux-cap-8_9-pr-272063-6-logs.tar.zst

Result of nixpkgs-review pr 272063 --extra-nixpkgs-config '{ allowUnfree = true; allowBroken = false; cudaSupport = true; cudaCapabilities = [ "8.9" ]; }' run on x86_64-linux 1

47 packages marked as broken and skipped:
  • caffeWithCuda
  • caffeWithCuda.bin
  • cudaPackages.nvidia_driver
  • cudaPackages.nvidia_driver.bin
  • cudaPackages.nvidia_driver.lib
  • ezminc
  • octavePackages.sparsersb
  • python310Packages.caffeWithCuda
  • python310Packages.caffeWithCuda.bin
  • python310Packages.dm-sonnet
  • python310Packages.dm-sonnet.dist
  • python310Packages.elegy
  • python310Packages.elegy.dist
  • python310Packages.scikit-tda
  • python310Packages.scikit-tda.dist
  • python310Packages.sunpy
  • python310Packages.sunpy.dist
  • python310Packages.tensorflow-datasets
  • python310Packages.tensorflow-datasets.dist
  • python310Packages.theanoWithCuda
  • python310Packages.theanoWithCuda.dist
  • python310Packages.treex
  • python310Packages.treex.dist
  • python310Packages.worldengine
  • python310Packages.worldengine.dist
  • python311Packages.caffeWithCuda
  • python311Packages.caffeWithCuda.bin
  • python311Packages.dm-sonnet
  • python311Packages.dm-sonnet.dist
  • python311Packages.elegy
  • python311Packages.elegy.dist
  • python311Packages.scikit-tda
  • python311Packages.scikit-tda.dist
  • python311Packages.sunpy
  • python311Packages.sunpy.dist
  • python311Packages.tensorflow-datasets
  • python311Packages.tensorflow-datasets.dist
  • python311Packages.theanoWithCuda
  • python311Packages.theanoWithCuda.dist
  • python311Packages.treex
  • python311Packages.treex.dist
  • python311Packages.worldengine
  • python311Packages.worldengine.dist
  • t-rex
  • truecrack-cuda
  • worldengine-cli
  • worldengine-cli.dist
46 packages failed to build:
  • colmapWithCuda
  • cp2k
  • cudaPackages.cuda-samples
  • cudaPackages.nsight_compute (cudaPackages.nsight_compute.bin)
  • dl-poly-classic-mpi
  • getdp
  • gromacsDouble
  • gromacsDouble.dev
  • gromacsDouble.man
  • gromacsDoubleMpi
  • gromacsDoubleMpi.dev
  • gromacsDoubleMpi.man
  • mathematica-cuda
  • mathematica-webdoc-cuda
  • petsc
  • python310Packages.bsuite
  • python310Packages.bsuite.dist
  • python310Packages.gpt-2-simple
  • python310Packages.gpt-2-simple.dist
  • python310Packages.plotnine
  • python310Packages.plotnine.dist
  • python310Packages.python-mapnik
  • python310Packages.python-mapnik.dist
  • python310Packages.rlax
  • python310Packages.rlax.dist
  • python310Packages.tf2onnx
  • python310Packages.tf2onnx.dist
  • python310Packages.tiny-cuda-nn
  • python311Packages.bsuite
  • python311Packages.bsuite.dist
  • python311Packages.gpt-2-simple
  • python311Packages.gpt-2-simple.dist
  • python311Packages.hoomd-blue
  • python311Packages.plotnine
  • python311Packages.plotnine.dist
  • python311Packages.python-mapnik
  • python311Packages.python-mapnik.dist
  • python311Packages.rlax
  • python311Packages.rlax.dist
  • python311Packages.tensorrt
  • python311Packages.tensorrt.dist
  • python311Packages.tf2onnx
  • python311Packages.tf2onnx.dist
  • python311Packages.tiny-cuda-nn
  • saga
  • tiny-cuda-nn
544 packages built:
  • EBTKS
  • ants
  • apacheHttpdPackages.mod_tile (apacheHttpdPackages_2_4.mod_tile)
  • bicgl
  • bicpl
  • blender
  • blender-hip
  • c3d
  • cdo
  • cloudcompare
  • conglomerate
  • costa
  • cudaPackages.backendStdenv
  • cudaPackages.cuda_cccl (cudaPackages.cuda_cccl.dev)
  • cudaPackages.cuda_cudart (cudaPackages.cuda_cudart.dev ,cudaPackages.cuda_cudart.lib ,cudaPackages.cuda_cudart.static)
  • cudaPackages.cuda_cuobjdump (cudaPackages.cuda_cuobjdump.bin)
  • cudaPackages.cuda_cupti (cudaPackages.cuda_cupti.dev ,cudaPackages.cuda_cupti.lib ,cudaPackages.cuda_cupti.sample ,cudaPackages.cuda_cupti.static)
  • cudaPackages.cuda_cuxxfilt (cudaPackages.cuda_cuxxfilt.bin ,cudaPackages.cuda_cuxxfilt.dev ,cudaPackages.cuda_cuxxfilt.static)
  • cudaPackages.cuda_demo_suite
  • cudaPackages.cuda_documentation
  • cudaPackages.cuda_gdb (cudaPackages.cuda_gdb.bin)
  • cudaPackages.cuda_nsight (cudaPackages.cuda_nsight.bin)
  • cudaPackages.cuda_nvcc (cudaPackages.cuda_nvcc.bin ,cudaPackages.cuda_nvcc.dev ,cudaPackages.cuda_nvcc.static)
  • cudaPackages.cuda_nvdisasm (cudaPackages.cuda_nvdisasm.bin)
  • cudaPackages.cuda_nvml_dev (cudaPackages.cuda_nvml_dev.dev ,cudaPackages.cuda_nvml_dev.lib)
  • cudaPackages.cuda_nvprof (cudaPackages.cuda_nvprof.bin ,cudaPackages.cuda_nvprof.lib)
  • cudaPackages.cuda_nvprune (cudaPackages.cuda_nvprune.bin)
  • cudaPackages.cuda_nvrtc (cudaPackages.cuda_nvrtc.dev ,cudaPackages.cuda_nvrtc.lib ,cudaPackages.cuda_nvrtc.static)
  • cudaPackages.cuda_nvtx (cudaPackages.cuda_nvtx.dev ,cudaPackages.cuda_nvtx.lib)
  • cudaPackages.cuda_nvvp (cudaPackages.cuda_nvvp.bin)
  • cudaPackages.cuda_opencl (cudaPackages.cuda_opencl.dev ,cudaPackages.cuda_opencl.lib)
  • cudaPackages.cuda_profiler_api (cudaPackages.cuda_profiler_api.dev)
  • cudaPackages.cuda_sanitizer_api (cudaPackages.cuda_sanitizer_api.bin)
  • cudatoolkit (cudaPackages.cudatoolkit)
  • cudatoolkit.doc (cudaPackages.cudatoolkit.doc)
  • cudatoolkit.lib (cudaPackages.cudatoolkit.lib)
  • cudaPackages.cudnn (cudaPackages.cudnn.dev ,cudaPackages.cudnn.lib ,cudaPackages.cudnn.static ,cudaPackages.cudnn_8_9 ,cudaPackages.cudnn_8_9.dev ,cudaPackages.cudnn_8_9.lib ,cudaPackages.cudnn_8_9.static)
  • cudaPackages.cudnn_8_8 (cudaPackages.cudnn_8_8.dev ,cudaPackages.cudnn_8_8.lib ,cudaPackages.cudnn_8_8.static)
  • cudaPackages.cutensor
  • cudaPackages.cutensor.dev
  • cudaPackages.fabricmanager (cudaPackages.fabricmanager.bin ,cudaPackages.fabricmanager.dev ,cudaPackages.fabricmanager.lib)
  • cudaPackages.libcublas (cudaPackages.libcublas.dev ,cudaPackages.libcublas.lib ,cudaPackages.libcublas.static)
  • cudaPackages.libcufft (cudaPackages.libcufft.dev ,cudaPackages.libcufft.lib ,cudaPackages.libcufft.static)
  • cudaPackages.libcufile (cudaPackages.libcufile.dev ,cudaPackages.libcufile.lib ,cudaPackages.libcufile.sample ,cudaPackages.libcufile.static)
  • cudaPackages.libcurand (cudaPackages.libcurand.dev ,cudaPackages.libcurand.lib ,cudaPackages.libcurand.static)
  • cudaPackages.libcusolver (cudaPackages.libcusolver.dev ,cudaPackages.libcusolver.lib ,cudaPackages.libcusolver.static)
  • cudaPackages.libcusparse (cudaPackages.libcusparse.dev ,cudaPackages.libcusparse.lib ,cudaPackages.libcusparse.static)
  • cudaPackages.libnpp (cudaPackages.libnpp.dev ,cudaPackages.libnpp.lib ,cudaPackages.libnpp.static)
  • cudaPackages.libnvidia_nscq (cudaPackages.libnvidia_nscq.bin ,cudaPackages.libnvidia_nscq.dev ,cudaPackages.libnvidia_nscq.lib)
  • cudaPackages.libnvjitlink (cudaPackages.libnvjitlink.dev ,cudaPackages.libnvjitlink.lib ,cudaPackages.libnvjitlink.static)
  • cudaPackages.libnvjpeg (cudaPackages.libnvjpeg.dev ,cudaPackages.libnvjpeg.lib ,cudaPackages.libnvjpeg.static)
  • cudaPackages.libnvvm_samples
  • cudaPackages.nccl
  • cudaPackages.nccl-tests
  • cudaPackages.nccl.dev
  • cudaPackages.nsight_systems (cudaPackages.nsight_systems.bin)
  • cudaPackages.nvidia_fs
  • cudaPackages.saxpy
  • cudaPackages.setupCudaHook
  • cudaPackages.tensorrt (cudaPackages.tensorrt_8_6_1)
  • cudaPackages.tensorrt.dev (cudaPackages.tensorrt_8_6_1.dev)
  • cudatoolkit_11
  • cudatoolkit_11.doc
  • cudatoolkit_11.lib
  • dbcsr
  • dcgm
  • dtcmp
  • dtcmp.dev
  • eccodes
  • elastix
  • elmerfem
  • elpa
  • elpa.dev
  • elpa.doc
  • elpa.man
  • entwine
  • faissWithCuda
  • faissWithCuda.demos
  • febio
  • fftwMpi
  • fftwMpi.dev
  • fftwMpi.info
  • fftwMpi.man
  • freecad
  • frigate
  • gdal (python311Packages.gdal)
  • globalarrays
  • gmt
  • gnudatalanguage
  • gplates
  • gpt2tc
  • gpu-burn
  • grass
  • gromacs
  • gromacs.dev
  • gromacs.man
  • gromacsMpi (gromacsCudaMpi)
  • gromacsMpi.dev (gromacsCudaMpi.dev)
  • gromacsMpi.man (gromacsCudaMpi.man)
  • gromacsPlumed
  • gromacsPlumed.dev
  • gromacsPlumed.man
  • gwe
  • haskellPackages.haskell-mpi
  • haskellPackages.haskell-mpi.doc
  • haskellPackages.hgdal
  • haskellPackages.hgdal.doc
  • haskellPackages.mpi-hs-binary
  • haskellPackages.mpi-hs-binary.doc
  • haskellPackages.mpi-hs-cereal
  • haskellPackages.mpi-hs-cereal.doc
  • haskellPackages.mpi-hs-store
  • haskellPackages.mpi-hs-store.doc
  • hdf5-mpi
  • hdf5-mpi.dev
  • highfive-mpi
  • hp2p
  • hpcg
  • hpl
  • inormalize
  • intensity-normalization (python311Packages.intensity-normalization)
  • intensity-normalization.dist (python311Packages.intensity-normalization.dist)
  • ior
  • itk (itk_5)
  • itk_5_2
  • katagoTensorRT
  • katagoWithCuda
  • labplot
  • lammps-mpi
  • libcircle
  • libcircle.dev
  • libminc
  • librealsenseWithCuda
  • librealsenseWithCuda.dev
  • librsb
  • libtensorflow (libtensorflow.python)
  • libvdwxc
  • lwgrp
  • lwgrp.dev
  • magma-cuda
  • magma-cuda-static
  • mapcache
  • mapnik
  • mapproxy
  • mapproxy.dist
  • mapserver
  • merkaartor
  • migrate
  • minc_tools
  • minc_widgets
  • mirtk
  • mni_autoreg
  • mpi (openmpi)
  • mpi.man (openmpi.man)
  • mpifileutils
  • mpifileutils.dev
  • mpifileutils.man
  • mrtrix
  • mysql-workbench
  • n3
  • nco
  • ncview
  • nest-mpi
  • netcdf
  • netcdf-mpi
  • netcdfcxx4
  • netcdffortran
  • neuron-full (python311Packages.neuronpy)
  • neuron-mpi
  • nvtop
  • nvtop-nvidia
  • nwchem
  • octavePackages.mapping
  • octavePackages.ncarray
  • octavePackages.netcdf
  • octopus
  • oobicpl
  • openorienteering-mapper
  • opensubdiv
  • opensubdiv.dev
  • ovito
  • paraview
  • parmetis
  • pdal
  • perl536Packages.Tirex
  • perl536Packages.Tirex.devdoc
  • perl538Packages.Tirex
  • perl538Packages.Tirex.devdoc
  • postgresql12JitPackages.postgis
  • postgresql12JitPackages.postgis.doc
  • postgresql12Packages.postgis
  • postgresql12Packages.postgis.doc
  • postgresql13JitPackages.postgis
  • postgresql13JitPackages.postgis.doc
  • postgresql13Packages.postgis
  • postgresql13Packages.postgis.doc
  • postgresql14JitPackages.postgis
  • postgresql14JitPackages.postgis.doc
  • postgresql14Packages.postgis
  • postgresql14Packages.postgis.doc
  • postgresqlJitPackages.postgis (postgresql15JitPackages.postgis)
  • postgresqlJitPackages.postgis.doc (postgresql15JitPackages.postgis.doc)
  • postgresqlPackages.postgis (postgresql15Packages.postgis)
  • postgresqlPackages.postgis.doc (postgresql15Packages.postgis.doc)
  • postgresql16JitPackages.postgis
  • postgresql16JitPackages.postgis.doc
  • postgresql16Packages.postgis
  • postgresql16Packages.postgis.doc
  • precice
  • prometheus-dcgm-exporter
  • pymol
  • pymol.dist
  • python310Packages.arviz
  • python310Packages.arviz.dist
  • python310Packages.bambi
  • python310Packages.bambi.dist
  • python310Packages.baselines
  • python310Packages.baselines.dist
  • python310Packages.bitsandbytes
  • python310Packages.bitsandbytes.dist
  • python310Packages.boltztrap2
  • python310Packages.boltztrap2.dist
  • python310Packages.cartopy
  • python310Packages.cartopy.dist
  • python310Packages.cleanlab
  • python310Packages.cleanlab.dist
  • python310Packages.cupy
  • python310Packages.cupy.dist
  • python310Packages.dalle-mini
  • python310Packages.dalle-mini.dist
  • python310Packages.dask-mpi
  • python310Packages.dask-mpi.dist
  • python310Packages.datashader
  • python310Packages.datashader.dist
  • python310Packages.distrax
  • python310Packages.distrax.dist
  • python310Packages.django-bootstrap4
  • python310Packages.django-bootstrap4.dist
  • python310Packages.eccodes
  • python310Packages.edward
  • python310Packages.edward.dist
  • python310Packages.encodec
  • python310Packages.encodec.dist
  • python310Packages.fenics
  • python310Packages.fenics.dist
  • python310Packages.fiona
  • python310Packages.fiona.dist
  • python310Packages.fipy
  • python310Packages.fipy.dist
  • python310Packages.flax
  • python310Packages.flax.dist
  • python310Packages.folium
  • python310Packages.folium.dist
  • python310Packages.gdal
  • python310Packages.geopandas
  • python310Packages.geopandas.dist
  • python310Packages.gpaw
  • python310Packages.gpaw.dist
  • python310Packages.h5netcdf
  • python310Packages.h5netcdf.dist
  • python310Packages.h5py-mpi
  • python310Packages.h5py-mpi.dist
  • python310Packages.hoomd-blue
  • python310Packages.intensity-normalization
  • python310Packages.intensity-normalization.dist
  • python310Packages.jaxlibWithCuda
  • python310Packages.jaxlibWithCuda.dist
  • python310Packages.lightgbm
  • python310Packages.lightgbm.dist
  • python310Packages.meep
  • python310Packages.meshio
  • python310Packages.meshio.dist
  • python310Packages.mhcflurry
  • python310Packages.mhcflurry.dist
  • python310Packages.mpi4py
  • python310Packages.mpi4py.dist
  • python310Packages.n3fit
  • python310Packages.n3fit.dist
  • python310Packages.nest
  • python310Packages.netcdf4
  • python310Packages.netcdf4.dist
  • python310Packages.neuronpy
  • python310Packages.numbaWithCuda
  • python310Packages.numbaWithCuda.dist
  • python310Packages.objax
  • python310Packages.objax.dist
  • python310Packages.openai-triton-bin
  • python310Packages.openai-triton-bin.dist
  • python310Packages.openai-triton-cuda
  • python310Packages.openai-triton-cuda.dist
  • python310Packages.openllm
  • python310Packages.openllm.dist
  • python310Packages.openusd
  • python310Packages.openusd.doc
  • python310Packages.osmnx
  • python310Packages.osmnx.dist
  • python310Packages.pot
  • python310Packages.pot.dist
  • python310Packages.pycuda
  • python310Packages.pycuda.dist
  • python310Packages.pydicom-seg
  • python310Packages.pydicom-seg.dist
  • python310Packages.pygmt
  • python310Packages.pygmt.dist
  • python310Packages.pymc
  • python310Packages.pymc.dist
  • python310Packages.pymedio
  • python310Packages.pymedio.dist
  • python310Packages.pynvml
  • python310Packages.pynvml.dist
  • python310Packages.pyprecice
  • python310Packages.pyprecice.dist
  • python310Packages.pyradiomics
  • python310Packages.pyradiomics.dist
  • python310Packages.pyrealsense2WithCuda
  • python310Packages.pyrealsense2WithCuda.dev
  • python310Packages.pytensor
  • python310Packages.pytensor.dist
  • python310Packages.qcodes
  • python310Packages.qcodes-contrib-drivers
  • python310Packages.qcodes-contrib-drivers.dist
  • python310Packages.qcodes.dist
  • python310Packages.rasterio
  • python310Packages.rasterio.dist
  • python310Packages.sfepy
  • python310Packages.sfepy.dist
  • python310Packages.shap
  • python310Packages.shap.dist
  • python310Packages.simpleitk
  • python310Packages.simpleitk.dist
  • python310Packages.tensorflow (python310Packages.tensorflow-build ,python310Packages.tensorflowWithCuda)
  • python310Packages.tensorflow.dist (python310Packages.tensorflow-build.dist ,python310Packages.tensorflowWithCuda.dist)
  • python310Packages.tensorflow-probability
  • python310Packages.tensorflow-probability.dist
  • python310Packages.tensorflowWithoutCuda
  • python310Packages.tensorflowWithoutCuda.dist
  • python310Packages.tensorrt
  • python310Packages.tensorrt.dist
  • python310Packages.tflearn
  • python310Packages.tflearn.dist
  • python310Packages.torchWithCuda
  • python310Packages.torchWithCuda.dev
  • python310Packages.torchWithCuda.dist
  • python310Packages.torchWithCuda.lib
  • python310Packages.torchaudio-bin
  • python310Packages.torchaudio-bin.dist
  • python310Packages.torchio
  • python310Packages.torchio.dist
  • python310Packages.torchvision-bin
  • python310Packages.torchvision-bin.dist
  • python310Packages.trfl
  • python310Packages.trfl.dist
  • python310Packages.umap-learn
  • python310Packages.umap-learn.dist
  • python310Packages.vqgan-jax
  • python310Packages.vqgan-jax.dist
  • python310Packages.wktutils
  • python310Packages.wktutils.dist
  • python310Packages.wrf-python
  • python310Packages.wrf-python.dist
  • python311Packages.arviz
  • python311Packages.arviz.dist
  • python311Packages.bambi
  • python311Packages.bambi.dist
  • python311Packages.baselines
  • python311Packages.baselines.dist
  • python311Packages.bitsandbytes
  • python311Packages.bitsandbytes.dist
  • python311Packages.boltztrap2
  • python311Packages.boltztrap2.dist
  • python311Packages.cartopy
  • python311Packages.cartopy.dist
  • python311Packages.cleanlab
  • python311Packages.cleanlab.dist
  • python311Packages.cupy
  • python311Packages.cupy.dist
  • python311Packages.dalle-mini
  • python311Packages.dalle-mini.dist
  • python311Packages.dask-mpi
  • python311Packages.dask-mpi.dist
  • python311Packages.datashader
  • python311Packages.datashader.dist
  • python311Packages.distrax
  • python311Packages.distrax.dist
  • python311Packages.django-bootstrap4
  • python311Packages.django-bootstrap4.dist
  • python311Packages.eccodes
  • python311Packages.edward
  • python311Packages.edward.dist
  • python311Packages.encodec
  • python311Packages.encodec.dist
  • python311Packages.fenics
  • python311Packages.fenics.dist
  • python311Packages.fiona
  • python311Packages.fiona.dist
  • python311Packages.fipy
  • python311Packages.fipy.dist
  • python311Packages.flax
  • python311Packages.flax.dist
  • python311Packages.folium
  • python311Packages.folium.dist
  • python311Packages.geopandas
  • python311Packages.geopandas.dist
  • python311Packages.gpaw
  • python311Packages.gpaw.dist
  • python311Packages.h5netcdf
  • python311Packages.h5netcdf.dist
  • python311Packages.h5py-mpi
  • python311Packages.h5py-mpi.dist
  • python311Packages.jaxlibWithCuda
  • python311Packages.jaxlibWithCuda.dist
  • python311Packages.lightgbm
  • python311Packages.lightgbm.dist
  • python311Packages.meep
  • python311Packages.meshio
  • python311Packages.meshio.dist
  • python311Packages.mhcflurry
  • python311Packages.mhcflurry.dist
  • python311Packages.mpi4py
  • python311Packages.mpi4py.dist
  • python311Packages.n3fit
  • python311Packages.n3fit.dist
  • python311Packages.nest
  • python311Packages.netcdf4
  • python311Packages.netcdf4.dist
  • python311Packages.numbaWithCuda
  • python311Packages.numbaWithCuda.dist
  • python311Packages.objax
  • python311Packages.objax.dist
  • python311Packages.openai-triton-bin
  • python311Packages.openai-triton-bin.dist
  • python311Packages.openai-triton-cuda
  • python311Packages.openai-triton-cuda.dist
  • python311Packages.openllm
  • python311Packages.openllm.dist
  • python311Packages.openusd
  • python311Packages.openusd.doc
  • python311Packages.osmnx
  • python311Packages.osmnx.dist
  • python311Packages.pot
  • python311Packages.pot.dist
  • python311Packages.pycuda
  • python311Packages.pycuda.dist
  • python311Packages.pydicom-seg
  • python311Packages.pydicom-seg.dist
  • python311Packages.pygmt
  • python311Packages.pygmt.dist
  • python311Packages.pymc
  • python311Packages.pymc.dist
  • python311Packages.pymedio
  • python311Packages.pymedio.dist
  • python311Packages.pynvml
  • python311Packages.pynvml.dist
  • python311Packages.pyprecice
  • python311Packages.pyprecice.dist
  • python311Packages.pyradiomics
  • python311Packages.pyradiomics.dist
  • python311Packages.pyrealsense2WithCuda
  • python311Packages.pyrealsense2WithCuda.dev
  • python311Packages.pytensor
  • python311Packages.pytensor.dist
  • python311Packages.qcodes
  • python311Packages.qcodes-contrib-drivers
  • python311Packages.qcodes-contrib-drivers.dist
  • python311Packages.qcodes.dist
  • python311Packages.rasterio
  • python311Packages.rasterio.dist
  • python311Packages.sfepy
  • python311Packages.sfepy.dist
  • python311Packages.shap
  • python311Packages.shap.dist
  • python311Packages.simpleitk
  • python311Packages.simpleitk.dist
  • python311Packages.tensorflow (python311Packages.tensorflow-build ,python311Packages.tensorflowWithCuda)
  • python311Packages.tensorflow.dist (python311Packages.tensorflow-build.dist ,python311Packages.tensorflowWithCuda.dist)
  • python311Packages.tensorflow-probability
  • python311Packages.tensorflow-probability.dist
  • python311Packages.tensorflowWithoutCuda
  • python311Packages.tensorflowWithoutCuda.dist
  • python311Packages.tflearn
  • python311Packages.tflearn.dist
  • python311Packages.torchWithCuda
  • python311Packages.torchWithCuda.dev
  • python311Packages.torchWithCuda.dist
  • python311Packages.torchWithCuda.lib
  • python311Packages.torchaudio-bin
  • python311Packages.torchaudio-bin.dist
  • python311Packages.torchio
  • python311Packages.torchio.dist
  • python311Packages.torchvision-bin
  • python311Packages.torchvision-bin.dist
  • python311Packages.trfl
  • python311Packages.trfl.dist
  • python311Packages.umap-learn
  • python311Packages.umap-learn.dist
  • python311Packages.vqgan-jax
  • python311Packages.vqgan-jax.dist
  • python311Packages.wktutils
  • python311Packages.wktutils.dist
  • python311Packages.wrf-python
  • python311Packages.wrf-python.dist
  • pytrainer
  • pytrainer.dist
  • qgis
  • qgis-ltr
  • qmapshack
  • quantum-espresso-mpi
  • raxml-mpi
  • rocmPackages.rocalution (rocmPackages_5.rocalution)
  • rocmPackages.rocprofiler (rocmPackages_5.rocprofiler)
  • scalapack
  • scalapack.dev
  • scotch
  • siesta-mpi
  • simpleitk
  • sirius
  • spfft
  • spla
  • sumo
  • tests.pkg-config.defaultPkgConfigPackages.ompi
  • tests.pkg-config.defaultPkgConfigPackages.ompi-c
  • tests.pkg-config.defaultPkgConfigPackages.ompi-cxx
  • tests.pkg-config.defaultPkgConfigPackages.ompi-f77
  • tests.pkg-config.defaultPkgConfigPackages.ompi-f90
  • tests.pkg-config.defaultPkgConfigPackages.ompi-fort
  • tests.pkg-config.defaultPkgConfigPackages.orte
  • tests.pkg-config.defaultPkgConfigPackages.tensorflow
  • trilinos-mpi
  • tts
  • tts.dist
  • ucc
  • ucc.dev
  • ucx
  • ucx.dev
  • ucx.doc
  • udig
  • vpv
  • wyoming-openwakeword
  • wyoming-openwakeword.dist
  • xgboostWithCuda
  • xpraWithNvenc
  • xpraWithNvenc.dist
  • xyce-parallel
  • xyce-parallel.doc

@ConnorBaker ConnorBaker self-requested a review December 5, 2023 19:33
@ConnorBaker ConnorBaker dismissed their stale review December 5, 2023 19:33

Changes implemented

@ConnorBaker ConnorBaker merged commit ec3c808 into NixOS:master Dec 5, 2023
4 of 5 checks passed
Copy link
Contributor

github-actions bot commented Dec 5, 2023

Backport failed for staging-23.11, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin staging-23.11
git worktree add -d .worktree/backport-272063-to-staging-23.11 origin/staging-23.11
cd .worktree/backport-272063-to-staging-23.11
git switch --create backport-272063-to-staging-23.11
git cherry-pick -x 5bda2ec626a4107f8adc3a7e58c16c0594c40d2c 3ee37e4356ef08d0a4b872e76031983288e40a80 e5b174bedb0af5f8da2be151f241b6d0174f6bfb 238138417344ba277e80ed451ce5f80f47dd86f2 5c2a368f87f0f3b0585255aaa5a2d1547da4c29c 361d7da37f7bb945a026cb15dcb5ec548bf87e95 6c63202052bb23151ca77b613357c790c5542e42 0dc161b2f806aa3d9dd7bee4f3dbb5289bc98eeb ee108108fcbe21999ecc1f36ac730c15376dc824 58819d631edc8ffa5658ef025e1b1c04903cc43f 31f1b517cdea429dc7a6c212ca650ea184c75a93 0c4b1fcfba531c8f33b416583053df2582a6843e 9cc210a7839f4e2aeb13bcadc96981daf8bc6501 3e37f3c9836da7cf6dd2c3d66a442cd8c74113b3 0f047c2372f2ebfaf67fad4aaacc131f5d879583 4c6d2b81cf4dd94398a6fc5b3727c685b439f4b3 9d729f260d023569a20c4339776e6b442a9f588c a7891f2adaf409a95b2c0d8e373270993951e69d 182e6b41d08d37c8eb817212b88b37b671abfb22 e084a6c648fecd473ff6190a5acac3369b292530 d031523a012688079e3bef68abaab2f8c5d099af 37ec2cb6b173c7d5b78ec704db533454f9bc84ba b9635cfa4d659ca652ab4c400988d6c8b1e453c0 18a2e518cdcef0764cfd7a96c39fdc0e7874e9fd

@janydoe
Copy link

janydoe commented Dec 11, 2023

I think I cannot build blender without cuda after this PR.

       error: Package ‘cuda_nvcc-11.8.89’ in /nix/store/dbr6mg66gyrx0crzjjzwrf9bxg0v4kax-source/pkgs/development/compilers/cudatoolkit/redist/build-cuda-redist-package.nix:168 has an unfree license (‘CUDA EULA’), refusing to evaluate.

       a) To temporarily allow unfree packages, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNFREE=1

          Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                then pass `--impure` in order to allow use of environment variables.

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnfree = true; }
       in configuration.nix to override this.

       Alternatively you can configure a predicate to allow specific packages:
         { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
             "cuda_nvcc-11.8.89"
           ];
         }

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnfree = true; }
       to ~/.config/nixpkgs/config.nix.

@SomeoneSerge
Copy link
Contributor Author

#272964 cc @janydoe @ConnorBaker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants