Closed yuvalwas closed 1 year ago
This might be related to #1465.
That seems unlikely; why do you think so?
I'd rather suspect https://github.com/JuliaGPU/CUDA.jl/issues/1798 or so. In any case, you are using an old version of CUDA.jl, so please test again with v4.4 or v5
That seems unlikely; why do you think so?
My comment was mainly based on ignorance, I just went over it when looking for related issues.
In any case, you are using an old version of CUDA.jl, so please test again with v4.4 or v5
I'm having problems with updating, perhaps you would know how to help? At first, when I tried to update CUDA I got
pkg> update CUDA
Updating registry at `C:\Users\yuvalw.WISMAIN\.julia\registries\General.toml`
ERROR: Unsatisfiable requirements detected for package GR_jll [d2c73de3]:
GR_jll [d2c73de3] log:
├─possible versions are: 0.51.2-0.72.9 or uninstalled
├─restricted to versions 0.72.9 by an explicit requirement, leaving only versions: 0.72.9
└─restricted by compatibility requirements with Qt6Base_jll [c0090381] to versions: 0.51.2-0.72.8 or uninstalled — no versions left
└─Qt6Base_jll [c0090381] log:
├─possible versions are: 6.0.3-6.5.2 or uninstalled
└─restricted to versions 6.5.2 by an explicit requirement, leaving only versions: 6.5.2
For some reason this doesn't show up anymore, but CUDA still won't update.
When I try to be more specific,
(Clusterless) pkg> add CUDA@4.4
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package KernelAbstractions [63c18a36]:
KernelAbstractions [63c18a36] log:
├─possible versions are: 0.1.0-0.9.8 or uninstalled
├─restricted to versions * by Clusterless [26ac66cf], leaving only versions: 0.1.0-0.9.8
│ └─Clusterless [26ac66cf] log:
│ ├─possible versions are: 0.1.0 or uninstalled
│ └─Clusterless [26ac66cf] is fixed to version 0.1.0
├─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.9.2-0.9.8
│ └─CUDA [052768ef] log:
│ ├─possible versions are: 0.1.0-5.0.0 or uninstalled
│ ├─restricted to versions * by Clusterless [26ac66cf], leaving only versions: 0.1.0-5.0.0
│ │ └─Clusterless [26ac66cf] log: see above
│ └─restricted to versions 4.4 by an explicit requirement, leaving only versions: 4.4.0-4.4.1
└─restricted by compatibility requirements with CUDAKernels [72cfdca4] to versions: 0.8.0-0.8.6 — no versions left
└─CUDAKernels [72cfdca4] log:
├─possible versions are: 0.1.0-0.4.7 or uninstalled
├─restricted to versions * by Clusterless [26ac66cf], leaving only versions: 0.1.0-0.4.7
│ └─Clusterless [26ac66cf] log: see above
└─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.4.5-0.4.7 or uninstalled, leaving only versions: 0.4.5-0.4.7
└─CUDA [052768ef] log: see above
(Clusterless) pkg> add CUDA@5
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package CUDAKernels [72cfdca4]:
CUDAKernels [72cfdca4] log:
├─possible versions are: 0.1.0-0.4.7 or uninstalled
├─restricted to versions * by Clusterless [26ac66cf], leaving only versions: 0.1.0-0.4.7
│ └─Clusterless [26ac66cf] log:
│ ├─possible versions are: 0.1.0 or uninstalled
│ └─Clusterless [26ac66cf] is fixed to version 0.1.0
└─restricted by compatibility requirements with CUDA [052768ef] to versions: uninstalled — no versions left
└─CUDA [052768ef] log:
├─possible versions are: 0.1.0-5.0.0 or uninstalled
├─restricted to versions * by Clusterless [26ac66cf], leaving only versions: 0.1.0-5.0.0
│ └─Clusterless [26ac66cf] log: see above
└─restricted to versions 5 by an explicit requirement, leaving only versions: 5.0.0
Thank you!
You could just try in a temporary, empty environment by using ]activate --temp
. In there, there should be no problem installing the latest CUDA.jl.
You are right, there is no problem in a new environment with only CUDA v5.
OK, I'm going to assume that this is the same issue as https://github.com/JuliaGPU/CUDA.jl/issues/1798 then, which is fixed in v4.4 and v5.
To upgrade your environment to CUDA.jl v4.4, I think you need to get rid of the CUDAKernels dependency, as that is now provided by CUDA.jl (using CUDA.CUDAKernels
).
Yes, I just reached the same conclusion that the problem is in CUDAKernels. The only reason I have it installed is because KernelAbstractions and CUDAKernels are supposed to be loaded (If I understood correctly) for Tullio to use them. I'll remove it. Thank you for your help.
Describe the bug
Hello, not sure if you'll consider this a bug. In the documentation about conditional use users are thought to always be able to import CUDA. However, when I import CUDA on a non-GPU server of my Institute's HPC, I get:
To reproduce To reproduce the above error I run
using CUDA
orwhich doesn't help.
Expected behavior
Hopefully not crash. At the moment, unaware of a better solution, I use a global flag to determine whether to import CUDA.
Manifest.toml
``` [[deps.CUDA]] deps = ["AbstractFFTs", "Adapt", "BFloat16s", "CEnum", "CUDA_Driver_jll", "CUDA_Runtime_Discovery", "CUDA_Runtime_jll", "CompilerSupportLibraries_jll", "ExprTools", "GPUArrays", "GPUCompiler", "LLVM", "LazyArtifacts", "Libdl", "LinearAlgebra", "Logging", "Preferences", "Printf", "Random", "Random123", "RandomNumbers", "Reexport", "Requires", "SparseArrays", "SpecialFunctions"] git-tree-sha1 = "edff14c60784c8f7191a62a23b15a421185bc8a8" uuid = "052768ef-5323-5732-b1bb-66c8b64840ba" version = "4.0.1" [[deps.GPUArrays]] deps = ["Adapt", "GPUArraysCore", "LLVM", "LinearAlgebra", "Printf", "Random", "Reexport", "Serialization", "Statistics"] git-tree-sha1 = "2e57b4a4f9cc15e85a24d603256fe08e527f48d1" uuid = "0c68f7d7-f131-5f86-a1c3-88cf8149b2d7" version = "8.8.1" [[deps.GPUArraysCore]] deps = ["Adapt"] git-tree-sha1 = "2d6ca471a6c7b536127afccfa7564b5b39227fe0" uuid = "46192b85-c4d5-4398-a991-12ede77f4527" version = "0.1.5" [[deps.GPUCompiler]] deps = ["ExprTools", "InteractiveUtils", "LLVM", "Libdl", "Logging", "TimerOutputs", "UUIDs"] git-tree-sha1 = "19d693666a304e8c371798f4900f7435558c7cde" uuid = "61eb1bfa-7361-4325-ad38-22787b887f55" version = "0.17.3" [[deps.LLVM]] deps = ["CEnum", "LLVMExtra_jll", "Libdl", "Printf", "Unicode"] git-tree-sha1 = "f044a2796a9e18e0531b9b3072b0019a61f264bc" uuid = "929cbde3-209d-540e-8aea-75f648917ca0" version = "4.17.1" [[deps.LLVMExtra_jll]] deps = ["Artifacts", "JLLWrappers", "LazyArtifacts", "Libdl", "TOML"] git-tree-sha1 = "070e4b5b65827f82c16ae0916376cb47377aa1b5" uuid = "dad2f222-ce93-54a1-a47d-0025e8a3acab" version = "0.0.18+0" [[deps.LLVMOpenMP_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] git-tree-sha1 = "f689897ccbe049adb19a065c495e75f372ecd42b" uuid = "1d63c593-3942-5779-bab2-d838dc0a180e" version = "15.0.4+0" ```
Version info
Details on Julia:
Details on CUDA:
Additional context
This might be related to #1465.