# CUDA.jl: Warning about loading library from system path

**URL:** <https://discourse.julialang.org/t/cuda-jl-warning-about-loading-library-from-system-path/131904>\
**Category:** GPU\
**Created:** [August 28, 2025, 6:29am UTC](https://discourse.julialang.org/t/cuda-jl-warning-about-loading-library-from-system-path/131904 "2025-08-28T06:29:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![CaG21](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@CaG21](https://discourse.julialang.org/u/CaG21)\
**Post date:** [August 28, 2025, 6:29am UTC](https://discourse.julialang.org/t/cuda-jl-warning-about-loading-library-from-system-path/131904/1 "2025-08-28T06:29:02Z")

</div>

I am using CUDA.jl on two different computers with a completely different configuration but both equipped with Windows 11. In both cases, I got a warning when loading CUDA. The warning is

```julia-auto
┌ Warning: CUDA runtime library `nvcudart_hybrid64.dll` was loaded from a system path, `C:\WINDOWS\System32\DriverStore\FileRepository\nvtfi.inf_amd64_9bef1e779a7be7ba\nvcudart_hybrid64.dll`.
│ This may cause errors.
│
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│
│ In any other case, please file an issue.
└ @ CUDA C:\Users\cagio\.julia\packages\CUDA\Wfi8S\src\initialization.jl:218

```

The version of Julia is 1.11.6 while CUDA is 5.8.3. I am using an environment with only CUDA.jl installed (checked with `Pkg.status()`).  
I checked the `PATH` environment variable on both systems (both user- and system-wide) and it does not contain any string related to the path `C:\WINDOWS\System32\DriverStore\FileRepository`. Below an example of `ENV["PATH"]` in one of the systems

```julia-auto
"C:\\Program Files\\PowerShell\\7;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\NVIDIA Corporation\\NVIDIA App\\NvDLISR;C:\\Program Files\\MATLAB\\R2025a\\runtime\\win64;C:\\Program Files\\MATLAB\\R2025a\\bin;C:\\Program Files\\Mosek\\11.0\\tools\\platform\\win64x86\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Git\\cmd;C:\\Users\\cagio\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\cagio\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\texlive\\2025\\bin\\windows;C:\\Users\\cagio\\AppData\\Local\\Programs\\Pulsar\\resources;C:\\Users\\cagio\\AppData\\Local\\Programs\\Pulsar\\resources\\app\\ppm\\bin"

```

I made some tests and it seems there are no issues in using correctly CUDA.  
However, I’d like to understand why I get this warning and what I can do to avoid to get that.

---

<div class="post-metadata">

**Author:** ![eldee](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@eldee](https://discourse.julialang.org/u/eldee)\
**Post date:** [August 30, 2025, 9:33am UTC](https://discourse.julialang.org/t/cuda-jl-warning-about-loading-library-from-system-path/131904/2 "2025-08-30T09:33:54Z")

</div>

Could you post the output of `CUDA.versioninfo()`?

---

<div class="post-metadata">

**Author:** ![CaG21](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@CaG21](https://discourse.julialang.org/u/CaG21)\
**Post date:** [August 30, 2025, 9:45am UTC](https://discourse.julialang.org/t/cuda-jl-warning-about-loading-library-from-system-path/131904/3 "2025-08-30T09:45:13Z")

</div>

Sure. Here you go

```julia-auto
CUDA toolchain:
- runtime 13.0, artifact installation
- driver 581.15.0 for 13.0
- compiler 13.0

CUDA libraries:
- CUBLAS: 13.0.0
- CURAND: 10.4.0
- CUFFT: 12.0.0
- CUSOLVER: 12.0.3
- CUSPARSE: 12.6.2
- CUPTI: 2025.3.0 (API 130000.0.0)
- NVML: 13.0.0+581.15

Julia packages:
- CUDA: 5.8.3
- CUDA_Driver_jll: 13.0.0+0
- CUDA_Compiler_jll: 0.2.0+2
- CUDA_Runtime_jll: 0.19.0+0

Toolchain:
- Julia: 1.11.6
- LLVM: 16.0.6

1 device:
  0: NVIDIA GeForce RTX 5070 Ti Laptop GPU (sm_120, 11.544 GiB / 11.940 GiB available)

```

It is exactly the same for the second machine, except for the device that is

```julia-auto
  0: NVIDIA RTX 4000 Ada Generation (sm_89, 18.779 GiB / 19.995 GiB available)

```

---

<div class="post-metadata">

**Author:** ![eldee](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@eldee](https://discourse.julialang.org/u/eldee)\
**Post date:** [August 30, 2025, 10:00am UTC](https://discourse.julialang.org/t/cuda-jl-warning-about-loading-library-from-system-path/131904/4 "2025-08-30T10:00:12Z")

</div>

I’m not an expert, but that looks fine to me (though I’m a bit surprised about the `130000.0.0`, I have `28.0.0` 🙂 ).

Anyway, it seems like this is a known issue

> <https://github.com/JuliaGPU/CUDA.jl/issues/2836>
>
> \*\*Describe the bug\*\*
> CUDA runtime library \`nvcudart\_hybrid64.dll\` was loaded fro…m a system path, \`C:\\WINDOWS\\System32\\DriverStore\\FileRepository\\nv\_dispi.inf\_amd64\_fe5f369669db2f36\\nvcudart\_hybrid64.dll\`.
> │ │ This may cause errors.
> │ │ 
> │ │ If you're running under a profiler, this situation is expected. Otherwise,
> │ │ ensure that your library path environment variable (e.g., \`PATH\` on Windows
> │ │ or \`LD\_LIBRARY\_PATH\` on Linux) does not include CUDA library paths.
> │ │ 
> │ │ In any other case, please file an issue.
> 
> \*\*To reproduce\*\*
> 
> \`\`\`julia
> using CUDA
> \`\`\`
> 
> \<details\>\<summary\>Manifest.toml\</summary\>
> \<p\>
> 
> \`\`\`
> \# This file is machine-generated - editing it directly is not advised
> 
> julia\_version = "1.11.6"
> manifest\_format = "2.0"
> project\_hash = "4d6f52122ea9741175c8c71d00021be0a921f3ad"
> 
> \[\[deps.AbstractFFTs\]\]
> deps = \["LinearAlgebra"\]
> git-tree-sha1 = "d92ad398961a3ed262d8bf04a1a2b8340f915fef"
> uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c"
> version = "1.5.0"
> 
> \[deps.AbstractFFTs.extensions\]
> AbstractFFTsChainRulesCoreExt = "ChainRulesCore"
> AbstractFFTsTestExt = "Test"
> 
> \[deps.AbstractFFTs.weakdeps\]
> ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
> Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
> 
> \[\[deps.Adapt\]\]
> deps = \["LinearAlgebra", "Requires"\]
> git-tree-sha1 = "f7817e2e585aa6d924fd714df1e2a84be7896c60"
> uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
> version = "4.3.0"
> weakdeps = \["SparseArrays", "StaticArrays"\]
> 
> \[deps.Adapt.extensions\]
> AdaptSparseArraysExt = "SparseArrays"
> AdaptStaticArraysExt = "StaticArrays"
> 
> \[\[deps.ArgTools\]\]
> uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
> version = "1.1.2"
> 
> \[\[deps.Artifacts\]\]
> uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
> version = "1.11.0"
> 
> \[\[deps.Atomix\]\]
> deps = \["UnsafeAtomics"\]
> git-tree-sha1 = "b5bb4dc6248fde467be2a863eb8452993e74d402"
> uuid = "a9b6321e-bd34-4604-b9c9-b65b8de01458"
> version = "1.1.1"
> 
> \[deps.Atomix.extensions\]
> AtomixCUDAExt = "CUDA"
> AtomixMetalExt = "Metal"
> AtomixOpenCLExt = "OpenCL"
> AtomixoneAPIExt = "oneAPI"
> 
> \[deps.Atomix.weakdeps\]
> CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
> Metal = "dde4c033-4e86-420c-a63e-0dd931031962"
> OpenCL = "08131aa3-fb12-5dee-8b74-c09406e224a2"
> oneAPI = "8f75cd03-7ff8-4ecb-9b8f-daf728133b1b"
> 
> \[\[deps.BFloat16s\]\]
> deps = \["LinearAlgebra", "Printf", "Random"\]
> git-tree-sha1 = "3b642331600250f592719140c60cf12372b82d66"
> uuid = "ab4f0b2a-ad5b-11e8-123f-65d77653426b"
> version = "0.5.1"
> 
> \[\[deps.Base64\]\]
> uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
> version = "1.11.0"
> 
> \[\[deps.CEnum\]\]
> git-tree-sha1 = "389ad5c84de1ae7cf0e28e381131c98ea87d54fc"
> uuid = "fa961155-64e5-5f13-b03f-caf6b980ea82"
> version = "0.5.0"
> 
> \[\[deps.CUDA\]\]
> deps = \["AbstractFFTs", "Adapt", "BFloat16s", "CEnum", "CUDA\_Compiler\_jll", "CUDA\_Driver\_jll", "CUDA\_Runtime\_Discovery", "CUDA\_Runtime\_jll", "Crayons", "DataFrames", "ExprTools", "GPUArrays", "GPUCompiler", "GPUToolbox", "KernelAbstractions", "LLVM", "LLVMLoopInfo", "LazyArtifacts", "Libdl", "LinearAlgebra", "Logging", "NVTX", "Preferences", "PrettyTables", "Printf", "Random", "Random123", "RandomNumbers", "Reexport", "Requires", "SparseArrays", "StaticArrays", "Statistics", "demumble\_jll"\]
> git-tree-sha1 = "27f69b3923e58730f0a71396070e9114fc0bba40"
> uuid = "052768ef-5323-5732-b1bb-66c8b64840ba"
> version = "5.8.3"
> 
> \[deps.CUDA.extensions\]
> ChainRulesCoreExt = "ChainRulesCore"
> EnzymeCoreExt = "EnzymeCore"
> SparseMatricesCSRExt = "SparseMatricesCSR"
> SpecialFunctionsExt = "SpecialFunctions"
> 
> \[deps.CUDA.weakdeps\]
> ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
> EnzymeCore = "f151be2c-9106-41f4-ab19-57ee4f262869"
> SparseMatricesCSR = "a0a7dd2c-ebf4-11e9-1f05-cf50bc540ca1"
> SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
> 
> \[\[deps.CUDA\_Compiler\_jll\]\]
> deps = \["Artifacts", "CUDA\_Driver\_jll", "JLLWrappers", "LazyArtifacts", "Libdl", "TOML"\]
> git-tree-sha1 = "144046baf05523e2e8510505d45e50fe5d18feef"
> uuid = "d1e2174e-dfdc-576e-b43e-73b79eb1aca8"
> version = "0.2.0+0"
> 
> \[\[deps.CUDA\_Driver\_jll\]\]
> deps = \["Artifacts", "JLLWrappers", "Libdl", "Pkg"\]
> git-tree-sha1 = "12621de83838b5ce6a185050db5a184f4540679b"
> uuid = "4ee394cb-3365-5eb0-8335-949819d2adfc"
> version = "13.0.0+0"
> 
> \[\[deps.CUDA\_Runtime\_Discovery\]\]
> deps = \["Libdl"\]
> git-tree-sha1 = "f9a521f52d236fe49f1028d69e549e7f2644bb72"
> uuid = "1af6417a-86b4-443c-805f-a4643ffb695f"
> version = "1.0.0"
> 
> \[\[deps.CUDA\_Runtime\_jll\]\]
> deps = \["Artifacts", "CUDA\_Driver\_jll", "JLLWrappers", "LazyArtifacts", "Libdl", "TOML"\]
> git-tree-sha1 = "cc727d90c9769db27945219f9ba149dbddc74f06"
> uuid = "76a88914-d11a-5bdc-97e0-2f5a05c973a2"
> version = "0.19.0+0"
> 
> \[\[deps.ColorTypes\]\]
> deps = \["FixedPointNumbers", "Random"\]
> git-tree-sha1 = "67e11ee83a43eb71ddc950302c53bf33f0690dfe"
> uuid = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
> version = "0.12.1"
> 
> \[deps.ColorTypes.extensions\]
> StyledStringsExt = "StyledStrings"
> 
> \[deps.ColorTypes.weakdeps\]
> StyledStrings = "f489334b-da3d-4c2e-b8f0-e476e12c162b"
> 
> \[\[deps.Colors\]\]
> deps = \["ColorTypes", "FixedPointNumbers", "Reexport"\]
> git-tree-sha1 = "37ea44092930b1811e666c3bc38065d7d87fcc74"
> uuid = "5ae59095-9a9b-59fe-a467-6f913c188581"
> version = "0.13.1"
> 
> \[\[deps.Compat\]\]
> deps = \["TOML", "UUIDs"\]
> git-tree-sha1 = "0037835448781bb46feb39866934e243886d756a"
> uuid = "34da2185-b29b-5c13-b0c7-acf172513d20"
> version = "4.18.0"
> weakdeps = \["Dates", "LinearAlgebra"\]
> 
> \[deps.Compat.extensions\]
> CompatLinearAlgebraExt = "LinearAlgebra"
> 
> \[\[deps.CompilerSupportLibraries\_jll\]\]
> deps = \["Artifacts", "Libdl"\]
> uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae"
> version = "1.1.1+0"
> 
> \[\[deps.Crayons\]\]
> git-tree-sha1 = "249fe38abf76d48563e2f4556bebd215aa317e15"
> uuid = "a8cc5b0e-0ffa-5ad4-8c14-923d3ee1735f"
> version = "4.1.1"
> 
> \[\[deps.DataAPI\]\]
> git-tree-sha1 = "abe83f3a2f1b857aac70ef8b269080af17764bbe"
> uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a"
> version = "1.16.0"
> 
> \[\[deps.DataFrames\]\]
> deps = \["Compat", "DataAPI", "DataStructures", "Future", "InlineStrings", "InvertedIndices", "IteratorInterfaceExtensions", "LinearAlgebra", "Markdown", "Missings", "PooledArrays", "PrecompileTools", "PrettyTables", "Printf", "Random", "Reexport", "SentinelArrays", "SortingAlgorithms", "Statistics", "TableTraits", "Tables", "Unicode"\]
> git-tree-sha1 = "fb61b4812c49343d7ef0b533ba982c46021938a6"
> uuid = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
> version = "1.7.0"
> 
> \[\[deps.DataStructures\]\]
> deps = \["Compat", "InteractiveUtils", "OrderedCollections"\]
> git-tree-sha1 = "4e1fe97fdaed23e9dc21d4d664bea76b65fc50a0"
> uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
> version = "0.18.22"
> 
> \[\[deps.DataValueInterfaces\]\]
> git-tree-sha1 = "bfc1187b79289637fa0ef6d4436ebdfe6905cbd6"
> uuid = "e2d170a0-9d28-54be-80f0-106bbe20a464"
> version = "1.0.0"
> 
> \[\[deps.Dates\]\]
> deps = \["Printf"\]
> uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
> version = "1.11.0"
> 
> \[\[deps.Downloads\]\]
> deps = \["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"\]
> uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
> version = "1.6.0"
> 
> \[\[deps.ExprTools\]\]
> git-tree-sha1 = "27415f162e6028e81c72b82ef756bf321213b6ec"
> uuid = "e2ba6199-217a-4e67-a87a-7c52f15ade04"
> version = "0.1.10"
> 
> \[\[deps.FileWatching\]\]
> uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
> version = "1.11.0"
> 
> \[\[deps.FixedPointNumbers\]\]
> deps = \["Statistics"\]
> git-tree-sha1 = "05882d6995ae5c12bb5f36dd2ed3f61c98cbb172"
> uuid = "53c48c17-4a7d-5ca2-90c5-79b7896eea93"
> version = "0.8.5"
> 
> \[\[deps.Future\]\]
> deps = \["Random"\]
> uuid = "9fa8497b-333b-5362-9e8d-4d0656e87820"
> version = "1.11.0"
> 
> \[\[deps.GPUArrays\]\]
> deps = \["Adapt", "GPUArraysCore", "KernelAbstractions", "LLVM", "LinearAlgebra", "Printf", "Random", "Reexport", "ScopedValues", "Serialization", "Statistics"\]
> git-tree-sha1 = "be941842a40b6daac98496994ea69054ba4c5144"
> uuid = "0c68f7d7-f131-5f86-a1c3-88cf8149b2d7"
> version = "11.2.3"
> 
> \[\[deps.GPUArraysCore\]\]
> deps = \["Adapt"\]
> git-tree-sha1 = "83cf05ab16a73219e5f6bd1bdfa9848fa24ac627"
> uuid = "46192b85-c4d5-4398-a991-12ede77f4527"
> version = "0.2.0"
> 
> \[\[deps.GPUCompiler\]\]
> deps = \["ExprTools", "InteractiveUtils", "LLVM", "Libdl", "Logging", "PrecompileTools", "Preferences", "Scratch", "Serialization", "TOML", "Tracy", "UUIDs"\]
> git-tree-sha1 = "eb1e212e12cc058fa16712082d44be499d23638c"
> uuid = "61eb1bfa-7361-4325-ad38-22787b887f55"
> version = "1.6.1"
> 
> \[\[deps.GPUToolbox\]\]
> deps = \["LLVM"\]
> git-tree-sha1 = "5bfe837129bf49e2e049b4f1517546055cc16a93"
> uuid = "096a3bc2-3ced-46d0-87f4-dd12716f4bfc"
> version = "0.3.0"
> 
> \[\[deps.HashArrayMappedTries\]\]
> git-tree-sha1 = "2eaa69a7cab70a52b9687c8bf950a5a93ec895ae"
> uuid = "076d061b-32b6-4027-95e0-9a2c6f6d7e74"
> version = "0.2.0"
> 
> \[\[deps.InlineStrings\]\]
> git-tree-sha1 = "8594fac023c5ce1ef78260f24d1ad18b4327b420"
> uuid = "842dd82b-1e85-43dc-bf29-5d0ee9dffc48"
> version = "1.4.4"
> 
> \[deps.InlineStrings.extensions\]
> ArrowTypesExt = "ArrowTypes"
> ParsersExt = "Parsers"
> 
> \[deps.InlineStrings.weakdeps\]
> ArrowTypes = "31f734f8-188a-4ce0-8406-c8a06bd891cd"
> Parsers = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
> 
> \[\[deps.InteractiveUtils\]\]
> deps = \["Markdown"\]
> uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
> version = "1.11.0"
> 
> \[\[deps.InvertedIndices\]\]
> git-tree-sha1 = "6da3c4316095de0f5ee2ebd875df8721e7e0bdbe"
> uuid = "41ab1584-1d38-5bbf-9106-f11c6c58b48f"
> version = "1.3.1"
> 
> \[\[deps.IteratorInterfaceExtensions\]\]
> git-tree-sha1 = "a3f24677c21f5bbe9d2a714f95dcd58337fb2856"
> uuid = "82899510-4779-5014-852e-03e436cf321d"
> version = "1.0.0"
> 
> \[\[deps.JLLWrappers\]\]
> deps = \["Artifacts", "Preferences"\]
> git-tree-sha1 = "0533e564aae234aff59ab625543145446d8b6ec2"
> uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
> version = "1.7.1"
> 
> \[\[deps.JuliaNVTXCallbacks\_jll\]\]
> deps = \["Artifacts", "JLLWrappers", "Libdl", "Pkg"\]
> git-tree-sha1 = "af433a10f3942e882d3c671aacb203e006a5808f"
> uuid = "9c1d0b0a-7046-5b2e-a33f-ea22f176ac7e"
> version = "0.2.1+0"
> 
> \[\[deps.KernelAbstractions\]\]
> deps = \["Adapt", "Atomix", "InteractiveUtils", "MacroTools", "PrecompileTools", "Requires", "StaticArrays", "UUIDs"\]
> git-tree-sha1 = "83c617e9e9b02306a7acab79e05ec10253db7c87"
> uuid = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
> version = "0.9.38"
> 
> \[deps.KernelAbstractions.extensions\]
> EnzymeExt = "EnzymeCore"
> LinearAlgebraExt = "LinearAlgebra"
> SparseArraysExt = "SparseArrays"
> 
> \[deps.KernelAbstractions.weakdeps\]
> EnzymeCore = "f151be2c-9106-41f4-ab19-57ee4f262869"
> LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
> SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
> 
> \[\[deps.LLVM\]\]
> deps = \["CEnum", "LLVMExtra\_jll", "Libdl", "Preferences", "Printf", "Unicode"\]
> git-tree-sha1 = "9c7c721cfd800d87d48c745d8bfb65144f0a91df"
> uuid = "929cbde3-209d-540e-8aea-75f648917ca0"
> version = "9.4.2"
> weakdeps = \["BFloat16s"\]
> 
> \[deps.LLVM.extensions\]
> BFloat16sExt = "BFloat16s"
> 
> \[\[deps.LLVMExtra\_jll\]\]
> deps = \["Artifacts", "JLLWrappers", "LazyArtifacts", "Libdl", "TOML"\]
> git-tree-sha1 = "2ea068aac1e7f0337d381b0eae3110581e3f3216"
> uuid = "dad2f222-ce93-54a1-a47d-0025e8a3acab"
> version = "0.0.37+2"
> 
> \[\[deps.LLVMLoopInfo\]\]
> git-tree-sha1 = "2e5c102cfc41f48ae4740c7eca7743cc7e7b75ea"
> uuid = "8b046642-f1f6-4319-8d3c-209ddc03c586"
> version = "1.0.0"
> 
> \[\[deps.LaTeXStrings\]\]
> git-tree-sha1 = "dda21b8cbd6a6c40d9d02a73230f9d70fed6918c"
> uuid = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
> version = "1.4.0"
> 
> \[\[deps.LazyArtifacts\]\]
> deps = \["Artifacts", "Pkg"\]
> uuid = "4af54fe1-eca0-43a8-85a7-787d91b784e3"
> version = "1.11.0"
> 
> \[\[deps.LibCURL\]\]
> deps = \["LibCURL\_jll", "MozillaCACerts\_jll"\]
> uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21"
> version = "0.6.4"
> 
> \[\[deps.LibCURL\_jll\]\]
> deps = \["Artifacts", "LibSSH2\_jll", "Libdl", "MbedTLS\_jll", "Zlib\_jll", "nghttp2\_jll"\]
> uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0"
> version = "8.6.0+0"
> 
> \[\[deps.LibGit2\]\]
> deps = \["Base64", "LibGit2\_jll", "NetworkOptions", "Printf", "SHA"\]
> uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
> version = "1.11.0"
> 
> \[\[deps.LibGit2\_jll\]\]
> deps = \["Artifacts", "LibSSH2\_jll", "Libdl", "MbedTLS\_jll"\]
> uuid = "e37daf67-58a4-590a-8e99-b0245dd2ffc5"
> version = "1.7.2+0"
> 
> \[\[deps.LibSSH2\_jll\]\]
> deps = \["Artifacts", "Libdl", "MbedTLS\_jll"\]
> uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8"
> version = "1.11.0+1"
> 
> \[\[deps.LibTracyClient\_jll\]\]
> deps = \["Artifacts", "JLLWrappers", "Libdl"\]
> git-tree-sha1 = "d2bc4e1034b2d43076b50f0e34ea094c2cb0a717"
> uuid = "ad6e5548-8b26-5c9f-8ef3-ef0ad883f3a5"
> version = "0.9.1+6"
> 
> \[\[deps.Libdl\]\]
> uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
> version = "1.11.0"
> 
> \[\[deps.LinearAlgebra\]\]
> deps = \["Libdl", "OpenBLAS\_jll", "libblastrampoline\_jll"\]
> uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
> version = "1.11.0"
> 
> \[\[deps.Logging\]\]
> uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
> version = "1.11.0"
> 
> \[\[deps.MacroTools\]\]
> git-tree-sha1 = "1e0228a030642014fe5cfe68c2c0a818f9e3f522"
> uuid = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
> version = "0.5.16"
> 
> \[\[deps.Markdown\]\]
> deps = \["Base64"\]
> uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
> version = "1.11.0"
> 
> \[\[deps.MbedTLS\_jll\]\]
> deps = \["Artifacts", "Libdl"\]
> uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1"
> version = "2.28.6+0"
> 
> \[\[deps.Missings\]\]
> deps = \["DataAPI"\]
> git-tree-sha1 = "ec4f7fbeab05d7747bdf98eb74d130a2a2ed298d"
> uuid = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28"
> version = "1.2.0"
> 
> \[\[deps.MozillaCACerts\_jll\]\]
> uuid = "14a3606d-f60d-562e-9121-12d972cd8159"
> version = "2023.12.12"
> 
> \[\[deps.NVTX\]\]
> deps = \["Colors", "JuliaNVTXCallbacks\_jll", "Libdl", "NVTX\_jll"\]
> git-tree-sha1 = "6b573a3e66decc7fc747afd1edbf083ff78c813a"
> uuid = "5da4648a-3479-48b8-97b9-01cb529c0a1f"
> version = "1.0.1"
> 
> \[\[deps.NVTX\_jll\]\]
> deps = \["Artifacts", "JLLWrappers", "Libdl"\]
> git-tree-sha1 = "af2232f69447494514c25742ba1503ec7e9877fe"
> uuid = "e98f9f5b-d649-5603-91fd-7774390e6439"
> version = "3.2.2+0"
> 
> \[\[deps.NetworkOptions\]\]
> uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
> version = "1.2.0"
> 
> \[\[deps.OpenBLAS\_jll\]\]
> deps = \["Artifacts", "CompilerSupportLibraries\_jll", "Libdl"\]
> uuid = "4536629a-c528-5b80-bd46-f80d51c5b363"
> version = "0.3.27+1"
> 
> \[\[deps.OrderedCollections\]\]
> git-tree-sha1 = "05868e21324cede2207c6f0f466b4bfef6d5e7ee"
> uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
> version = "1.8.1"
> 
> \[\[deps.Pkg\]\]
> deps = \["Artifacts", "Dates", "Downloads", "FileWatching", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "Random", "SHA", "TOML", "Tar", "UUIDs", "p7zip\_jll"\]
> uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
> version = "1.11.0"
> 
> \[deps.Pkg.extensions\]
> REPLExt = "REPL"
> 
> \[deps.Pkg.weakdeps\]
> REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
> 
> \[\[deps.PooledArrays\]\]
> deps = \["DataAPI", "Future"\]
> git-tree-sha1 = "36d8b4b899628fb92c2749eb488d884a926614d3"
> uuid = "2dfb63ee-cc39-5dd5-95bd-886bf059d720"
> version = "1.4.3"
> 
> \[\[deps.PrecompileTools\]\]
> deps = \["Preferences"\]
> git-tree-sha1 = "5aa36f7049a63a1528fe8f7c3f2113413ffd4e1f"
> uuid = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
> version = "1.2.1"
> 
> \[\[deps.Preferences\]\]
> deps = \["TOML"\]
> git-tree-sha1 = "9306f6085165d270f7e3db02af26a400d580f5c6"
> uuid = "21216c6a-2e73-6563-6e65-726566657250"
> version = "1.4.3"
> 
> \[\[deps.PrettyTables\]\]
> deps = \["Crayons", "LaTeXStrings", "Markdown", "PrecompileTools", "Printf", "Reexport", "StringManipulation", "Tables"\]
> git-tree-sha1 = "1101cd475833706e4d0e7b122218257178f48f34"
> uuid = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
> version = "2.4.0"
> 
> \[\[deps.Printf\]\]
> deps = \["Unicode"\]
> uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
> version = "1.11.0"
> 
> \[\[deps.Random\]\]
> deps = \["SHA"\]
> uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
> version = "1.11.0"
> 
> \[\[deps.Random123\]\]
> deps = \["Random", "RandomNumbers"\]
> git-tree-sha1 = "dbe5fd0b334694e905cb9fda73cd8554333c46e2"
> uuid = "74087812-796a-5b5d-8853-05524746bad3"
> version = "1.7.1"
> 
> \[\[deps.RandomNumbers\]\]
> deps = \["Random"\]
> git-tree-sha1 = "c6ec94d2aaba1ab2ff983052cf6a606ca5985902"
> uuid = "e6cf234a-135c-5ec9-84dd-332b85af5143"
> version = "1.6.0"
> 
> \[\[deps.Reexport\]\]
> git-tree-sha1 = "45e428421666073eab6f2da5c9d310d99bb12f9b"
> uuid = "189a3867-3050-52da-a836-e630ba90ab69"
> version = "1.2.2"
> 
> \[\[deps.Requires\]\]
> deps = \["UUIDs"\]
> git-tree-sha1 = "62389eeff14780bfe55195b7204c0d8738436d64"
> uuid = "ae029012-a4dd-5104-9daa-d747884805df"
> version = "1.3.1"
> 
> \[\[deps.SHA\]\]
> uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
> version = "0.7.0"
> 
> \[\[deps.ScopedValues\]\]
> deps = \["HashArrayMappedTries", "Logging"\]
> git-tree-sha1 = "7f44eef6b1d284465fafc66baf4d9bdcc239a15b"
> uuid = "7e506255-f358-4e82-b7e4-beb19740aa63"
> version = "1.4.0"
> 
> \[\[deps.Scratch\]\]
> deps = \["Dates"\]
> git-tree-sha1 = "9b81b8393e50b7d4e6d0a9f14e192294d3b7c109"
> uuid = "6c6a2e73-6563-6170-7368-637461726353"
> version = "1.3.0"
> 
> \[\[deps.SentinelArrays\]\]
> deps = \["Dates", "Random"\]
> git-tree-sha1 = "712fb0231ee6f9120e005ccd56297abbc053e7e0"
> uuid = "91c51154-3ec4-41a3-a24f-3f23e20d615c"
> version = "1.4.8"
> 
> \[\[deps.Serialization\]\]
> uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
> version = "1.11.0"
> 
> \[\[deps.SortingAlgorithms\]\]
> deps = \["DataStructures"\]
> git-tree-sha1 = "64d974c2e6fdf07f8155b5b2ca2ffa9069b608d9"
> uuid = "a2af1166-a08f-5f64-846c-94a0d3cef48c"
> version = "1.2.2"
> 
> \[\[deps.SparseArrays\]\]
> deps = \["Libdl", "LinearAlgebra", "Random", "Serialization", "SuiteSparse\_jll"\]
> uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
> version = "1.11.0"
> 
> \[\[deps.StaticArrays\]\]
> deps = \["LinearAlgebra", "PrecompileTools", "Random", "StaticArraysCore"\]
> git-tree-sha1 = "cbea8a6bd7bed51b1619658dec70035e07b8502f"
> uuid = "90137ffa-7385-5640-81b9-e52037218182"
> version = "1.9.14"
> 
> \[deps.StaticArrays.extensions\]
> StaticArraysChainRulesCoreExt = "ChainRulesCore"
> StaticArraysStatisticsExt = "Statistics"
> 
> \[deps.StaticArrays.weakdeps\]
> ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
> Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
> 
> \[\[deps.StaticArraysCore\]\]
> git-tree-sha1 = "192954ef1208c7019899fbf8049e717f92959682"
> uuid = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
> version = "1.4.3"
> 
> \[\[deps.Statistics\]\]
> deps = \["LinearAlgebra"\]
> git-tree-sha1 = "ae3bb1eb3bba077cd276bc5cfc337cc65c3075c0"
> uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
> version = "1.11.1"
> weakdeps = \["SparseArrays"\]
> 
> \[deps.Statistics.extensions\]
> SparseArraysExt = \["SparseArrays"\]
> 
> \[\[deps.StringManipulation\]\]
> deps = \["PrecompileTools"\]
> git-tree-sha1 = "725421ae8e530ec29bcbdddbe91ff8053421d023"
> uuid = "892a3eda-7b42-436c-8928-eab12a02cf0e"
> version = "0.4.1"
> 
> \[\[deps.SuiteSparse\_jll\]\]
> deps = \["Artifacts", "Libdl", "libblastrampoline\_jll"\]
> uuid = "bea87d4a-7f5b-5778-9afe-8cc45184846c"
> version = "7.7.0+0"
> 
> \[\[deps.TOML\]\]
> deps = \["Dates"\]
> uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
> version = "1.0.3"
> 
> \[\[deps.TableTraits\]\]
> deps = \["IteratorInterfaceExtensions"\]
> git-tree-sha1 = "c06b2f539df1c6efa794486abfb6ed2022561a39"
> uuid = "3783bdb8-4a98-5b6b-af9a-565f29a5fe9c"
> version = "1.0.1"
> 
> \[\[deps.Tables\]\]
> deps = \["DataAPI", "DataValueInterfaces", "IteratorInterfaceExtensions", "OrderedCollections", "TableTraits"\]
> git-tree-sha1 = "f2c1efbc8f3a609aadf318094f8fc5204bdaf344"
> uuid = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
> version = "1.12.1"
> 
> \[\[deps.Tar\]\]
> deps = \["ArgTools", "SHA"\]
> uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
> version = "1.10.0"
> 
> \[\[deps.Tracy\]\]
> deps = \["ExprTools", "LibTracyClient\_jll", "Libdl"\]
> git-tree-sha1 = "91dbaee0f50faa4357f7e9fc69442c7b6364dfe5"
> uuid = "e689c965-62c8-4b79-b2c5-8359227902fd"
> version = "0.1.5"
> 
> \[deps.Tracy.extensions\]
> TracyProfilerExt = "TracyProfiler\_jll"
> 
> \[deps.Tracy.weakdeps\]
> TracyProfiler\_jll = "0c351ed6-8a68-550e-8b79-de6f926da83c"
> 
> \[\[deps.UUIDs\]\]
> deps = \["Random", "SHA"\]
> uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
> version = "1.11.0"
> 
> \[\[deps.Unicode\]\]
> uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
> version = "1.11.0"
> 
> \[\[deps.UnsafeAtomics\]\]
> git-tree-sha1 = "b13c4edda90890e5b04ba24e20a310fbe6f249ff"
> uuid = "013be700-e6cd-48c3-b4a1-df204f14c38f"
> version = "0.3.0"
> weakdeps = \["LLVM"\]
> 
> \[deps.UnsafeAtomics.extensions\]
> UnsafeAtomicsLLVM = \["LLVM"\]
> 
> \[\[deps.Zlib\_jll\]\]
> deps = \["Libdl"\]
> uuid = "83775a58-1f1d-513f-b197-d71354ab007a"
> version = "1.2.13+1"
> 
> \[\[deps.demumble\_jll\]\]
> deps = \["Artifacts", "JLLWrappers", "Libdl"\]
> git-tree-sha1 = "6498e3581023f8e530f34760d18f75a69e3a4ea8"
> uuid = "1e29f10c-031c-5a83-9565-69cddfc27673"
> version = "1.3.0+0"
> 
> \[\[deps.libblastrampoline\_jll\]\]
> deps = \["Artifacts", "Libdl"\]
> uuid = "8e850b90-86db-534c-a0d3-1478176c7d93"
> version = "5.11.0+0"
> 
> \[\[deps.nghttp2\_jll\]\]
> deps = \["Artifacts", "Libdl"\]
> uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d"
> version = "1.59.0+0"
> 
> \[\[deps.p7zip\_jll\]\]
> deps = \["Artifacts", "Libdl"\]
> uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0"
> version = "17.4.0+2"
> 
> \`\`\`
> 
> \</p\>
> \</details\>
> 
> 
> \*\*Expected behavior\*\*
> No such warning
> 
> \*\*Version info\*\*
> 
> Details on Julia:
> 
> \`\`\`
> \# please post the output of:
> Julia Version 1.11.6
> Commit 9615af0f26 (2025-07-09 12:58 UTC)
> Build Info:
> Official https://julialang.org/ release
> Platform Info:
> OS: Windows (x86\_64-w64-mingw32)
> CPU: 28 × Intel(R) Core(TM) i7-14700KF
> WORD\_SIZE: 64
> LLVM: libLLVM-16.0.6 (ORCJIT, alderlake)
> Threads: 1 default, 0 interactive, 1 GC (on 28 virtual cores)
> \`\`\`
> 
> Details on CUDA:
> 
> \`\`\`
> CUDA toolchain: 
> \- runtime 13.0, artifact installation
> \- driver 580.88.0 for 13.0
> \- compiler 13.0
> 
> CUDA libraries:
> \- CUBLAS: 13.0.0
> \- CURAND: 10.4.0
> \- CUFFT: 12.0.0
> \- CUSOLVER: 12.0.3
> \- CUSPARSE: 12.6.2
> \- CUPTI: 2025.3.0 (API 130000.0.0)
> \- NVML: 13.0.0+580.88
> 
> Julia packages:
> \- CUDA: 5.8.3
> \- CUDA\_Driver\_jll: 13.0.0+0
> \- CUDA\_Compiler\_jll: 0.2.0+0
> \- CUDA\_Runtime\_jll: 0.19.0+0
> 
> Toolchain:
> \- Julia: 1.11.6
> \- LLVM: 16.0.6
> 
> 1 device:
> 0: NVIDIA GeForce RTX 4090 (sm\_89, 21.787 GiB / 23.988 GiB available)
> \`\`\`
> 
> 
> \*\*Additional context\*\*
> 
> Updated the latest CUDA.jl now it support the latest driver. Thank you! but it raises this warning, there is C:\\Windows\\system32 in the path, no CUDA path set in the path, and I do not have CUDA installed in the system seperately. And I'm not using profiler. So it lands in the any other case, reporting here.
> C:\\Windows\\System32\\DriverStore\\FileRepository\\nv\_dispi.inf\_amd64\_fe5f369669db2f36, i look into other folder start with nv\_dispi.inf there is just one bin file in it, but in this one, it seems to contain the whole CUDA which is not installed by me, i think it's a strange new behavior by driver installer. Also why it's used even it's not in the PATH is another quesiton.

with a potential fix ready

> <https://github.com/JuliaGPU/CUDA.jl/pull/2847>
>
> Fix #2836. I‘ve also run into this issue when I update my NVIDIA driver to the l…atest release. And this warning is so annoying so I prefer to fix it myself.
> 
> \`\`\`julia
> julia\> using CUDA
> ┌ Warning: CUDA runtime library \`nvcudart\_hybrid64.dll\` was loaded from a system path, \`C:\\WINDOWS\\System32\\DriverStore\\FileRepository\\nvdmi.inf\_amd64\_84c88fdcdcf1f878\\nvcudart\_hybrid64.dll\`.
> │ This may cause errors.
> │
> │ If you're running under a profiler, this situation is expected. Otherwise,
> │ ensure that your library path environment variable (e.g., \`PATH\` on Windows
> │ or \`LD\_LIBRARY\_PATH\` on Linux) does not include CUDA library paths.
> │
> │ In any other case, please file an issue.
> └ @ CUDA C:\\Users\\huiyu\\.julia\\packages\\CUDA\\Wfi8S\\src\\initialization.jl:218
> \`\`\`
> Similar warning from my CUDA.jl but not exactly the same path.
> 
> Review required @maleadt.

So presumably the warning will go away in the next update to CUDA.jl.

---

<div class="post-metadata">

**Author:** ![CaG21](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@CaG21](https://discourse.julialang.org/u/CaG21)\
**Post date:** [August 30, 2025, 11:42am UTC](https://discourse.julialang.org/t/cuda-jl-warning-about-loading-library-from-system-path/131904/5 "2025-08-30T11:42:20Z")

</div>

I completely missed the issue on github.  
Thank you
