EDIT:
After other progams were acting up, I updated my OS. Now everything works just fine.
The OP can be seen below, but I do not see any reason why anyone should read it.
I am sorry for simply dumping a bunch of error messages, but I think that they explain the problem much better than I would be able to. Looking for guidance on how to fix this.
First problems in first REPL:
The latest version of Julia in the `release` channel is 1.7.2+0~x64. You currently have `1.7.1+0~x64` installed. Run:
juliaup update
to install Julia 1.7.2+0~x64 and update the `release` channel to that version.
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.7.1 (2021-12-22)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Flux
[ Info: Precompiling Flux [587475ba-b771-5e3f-ad9e-33799f191a9c]
ERROR: Unable to load dependent library C:\Users\Dennis Bal\.julia\juliaup\julia-1.7.1+0~x64\bin\../bin/libjulia-internal.dll
Message:The paging file is too small for this operation to complete.
ERROR: LoadError: Failed to precompile LLVM [929cbde3-209d-540e-8aea-75f648917ca0] to C:\Users\Dennis Bal\.julia\compiled\v1.7\LLVM\jl_F0F1.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:997
[7] include
@ .\Base.jl:418 [inlined]
[8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String},
load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
@ Base .\loading.jl:1318
[9] top-level scope
@ none:1
[10] eval
@ .\boot.jl:373 [inlined]
[11] eval(x::Expr)
@ Base.MainInclude .\client.jl:453
[12] top-level scope
@ none:1
in expression starting at C:\Users\Dennis Bal\.julia\packages\GPUCompiler\1Ajz2\src\GPUCompiler.jl:1
ERROR: LoadError: Failed to precompile GPUCompiler [61eb1bfa-7361-4325-ad38-22787b887f55] to C:\Users\Dennis Bal\.julia\compiled\v1.7\GPUCompiler\jl_EE52.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:997
[7] include
@ .\Base.jl:418 [inlined]
[8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String},
load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
@ Base .\loading.jl:1318
[9] top-level scope
@ none:1
[10] eval
@ .\boot.jl:373 [inlined]
[11] eval(x::Expr)
@ Base.MainInclude .\client.jl:453
[12] top-level scope
@ none:1
in expression starting at C:\Users\Dennis Bal\.julia\packages\CUDA\bki2w\src\CUDA.jl:1
ERROR: LoadError: Failed to precompile CUDA [052768ef-5323-5732-b1bb-66c8b64840ba] to C:\Users\Dennis Bal\.julia\compiled\v1.7\CUDA\jl_ED58.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:997
[7] include
@ .\Base.jl:418 [inlined]
[8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String},
load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base .\loading.jl:1318
[9] top-level scope
@ none:1
[10] eval
@ .\boot.jl:373 [inlined]
[11] eval(x::Expr)
@ Base.MainInclude .\client.jl:453
[12] top-level scope
@ none:1
in expression starting at C:\Users\Dennis Bal\.julia\packages\Flux\qAdFM\src\Flux.jl:1
ERROR: Failed to precompile Flux [587475ba-b771-5e3f-ad9e-33799f191a9c] to C:\Users\Dennis Bal\.julia\compiled\v1.7\Flux\jl_E086.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:997
julia> using Flux
[ Info: Precompiling Flux [587475ba-b771-5e3f-ad9e-33799f191a9c]
fatal: error thrown and no exception handler available.
InitError(mod=:Profile, error=ErrorException("could not allocate space for 10000000 instruction pointers"))
ERROR: LoadError: Failed to precompile GPUCompiler [61eb1bfa-7361-4325-ad38-22787b887f55] to C:\Users\Dennis Bal\.julia\compiled\v1.7\GPUCompiler\jl_A473.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:997
[7] include
@ .\Base.jl:418 [inlined]
[8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String},
load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
@ Base .\loading.jl:1318
[9] top-level scope
@ none:1
[10] eval
@ .\boot.jl:373 [inlined]
[11] eval(x::Expr)
@ Base.MainInclude .\client.jl:453
[12] top-level scope
@ none:1
in expression starting at C:\Users\Dennis Bal\.julia\packages\CUDA\bki2w\src\CUDA.jl:1
ERROR: LoadError: Failed to precompile CUDA [052768ef-5323-5732-b1bb-66c8b64840ba] to C:\Users\Dennis Bal\.julia\compiled\v1.7\CUDA\jl_A398.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:997
[7] include
@ .\Base.jl:418 [inlined]
[8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String},
load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base .\loading.jl:1318
[9] top-level scope
@ none:1
[10] eval
@ .\boot.jl:373 [inlined]
[11] eval(x::Expr)
@ Base.MainInclude .\client.jl:453
[12] top-level scope
@ none:1
in expression starting at C:\Users\Dennis Bal\.julia\packages\Flux\qAdFM\src\Flux.jl:1
ERROR: Failed to precompile Flux [587475ba-b771-5e3f-ad9e-33799f191a9c] to C:\Users\Dennis Bal\.julia\compiled\v1.7\Flux\jl_9A04.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:997
(@v1.7) pkg> rm Flux; add Flux
[587475ba] - Flux v0.12.9
[d9f16b24] - Functors v0.2.7
[0c68f7d7] - GPUArrays v8.2.1
[61eb1bfa] - GPUCompiler v0.13.11
[7869d1d1] - IRTools v0.4.4
[e5e0dc1b] - Juno v0.8.4
[929cbde3] - LLVM v4.7.1
[e89f7d12] - Media v0.5.0
[872c559c] - NNlib v0.8.0
[a00861dc] - NNlibCUDA v0.2.0
[74087812] - Random123 v1.4.2
[e6cf234a] - RandomNumbers v1.5.3
[c1ae055f] - RealDot v0.1.0
[e88e6eb3] - Zygote v0.6.34
[dad2f222] - LLVMExtra_jll v0.0.13+3
[ Info: We haven't cleaned this depot up for a bit, running Pkg.gc()...
Active manifest files: 16 found
Active artifact files: 85 found
Active scratchspaces: 14 found
Deleted no artifacts, repos, packages or scratchspaces
Updating registry at `C:\Users\Dennis Bal\.julia\registries\General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Installed IRTools ───── v0.4.5
Installed GPUCompiler ─ v0.13.14
Installed Zygote ────── v0.6.35
Installed ChainRules ── v1.27.0
Installed LLVM ──────── v4.8.0
Installed CUDA ──────── v3.8.2
Updating ┌ Error: Error watching manifest
│ exception =
│ Non-FastMath compatible rules defined in fastmath_able.jl.
│ Definitions:
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:12 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:18 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:24 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:30 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:35 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:39 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:40 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:41 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:44 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:45 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:46 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:49 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:50 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:53 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:54 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:55 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:56 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:57 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:58 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:59 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:60 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:61 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:62 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:63 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:67 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:74 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:84 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:88 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:97 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:100 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:108 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:116 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:127 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:141 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:153 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:162 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:163 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:164 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:168 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:181 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:198 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:204 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:205 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:208 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:209 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:212 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:219 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:230 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:237 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:239 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:248 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:263 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:273 =#
│ Stacktrace:
│ [1] error(s::String)
│ @ Base error.jl:33
│ [2] top-level scope
│ @ C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:286
│ Revise evaluation error at C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:286
│
│ Stacktrace:
│ [1] methods_by_execution!(recurse::Any, methodinfo::Revise.CodeTrackingMethodInfo, docexprs::Dict{Module, Vector{Expr}}, mod::Module, ex::Expr; mode::Symbol, disablebp::Bool, always_rethrow::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
│ @ Revise C:\Users\Dennis Bal\.julia\packages\Revise\jHTGK\src\lowered.jl:227
└ @ Revise C:\Users\Dennis Bal\.julia\packages\Revise\jHTGK\src\pkgs.jl:477
`C:\Users\Dennis Bal\.julia\environments\v1.7\Project.toml`
[587475ba] + Flux v0.12.9
Updating `C:\Users\Dennis Bal\.julia\environments\v1.7\Manifest.toml`
[ab4f0b2a] + BFloat16s v0.2.0
[052768ef] + CUDA v3.8.2
[082447d4] + ChainRules v1.27.0
[587475ba] + Flux v0.12.9
[d9f16b24] + Functors v0.2.8
[0c68f7d7] + GPUArrays v8.2.1
[61eb1bfa] + GPUCompiler v0.13.14
[7869d1d1] + IRTools v0.4.5
[e5e0dc1b] + Juno v0.8.4
[929cbde3] + LLVM v4.8.0
[e89f7d12] + Media v0.5.0
[872c559c] + NNlib v0.8.2
[a00861dc] + NNlibCUDA v0.2.1
[74087812] + Random123 v1.4.2
[e6cf234a] + RandomNumbers v1.5.3
[c1ae055f] + RealDot v0.1.0
[e88e6eb3] + Zygote v0.6.35
[dad2f222] + LLVMExtra_jll v0.0.13+3
Precompiling project...
✓ ChainRules
✗ LLVM
✗ GPUCompiler
✗ CUDA
✗ Flux
3 dependencies successfully precompiled in 29 seconds (332 already precompiled, 3 skipped during auto due to previous errors)
1 dependency precompiled but a different version is currently loaded. Restart julia to access the new version
4 dependencies errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the packages
(@v1.7) pkg> ┌ Error: Error watching manifest
│ exception =
│ Non-FastMath compatible rules defined in fastmath_able.jl.
│ Definitions:
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:12 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:18 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:24 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:30 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:35 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:39 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:40 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:41 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:44 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:45 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:46 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:49 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:50 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:53 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:54 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:55 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:56 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:57 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:58 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:59 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:60 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:61 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:62 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:63 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:67 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:74 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:84 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:88 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:97 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:100 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:108 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:116 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:127 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:141 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:153 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:162 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:163 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:164 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:168 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:181 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:198 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:204 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:205 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:208 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:209 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:212 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:219 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:230 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:237 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:239 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:248 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:263 =#
│ #= C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:273 =#
│ Stacktrace:
│ [1] error(s::String)
│ @ Base error.jl:33
│ [2] top-level scope
│ @ C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:286
│ Revise evaluation error at C:\Users\Dennis Bal\.julia\packages\ChainRules\3HAQW\src\rulesets\Base\fastmath_able.jl:286
│
│ Stacktrace:
│ [1] methods_by_execution!(recurse::Any, methodinfo::Revise.CodeTrackingMethodInfo, docexprs::Dict{Module, Vector{Expr}}, mod::Module, ex::Expr; mode::Symbol, disablebp::Bool, always_rethrow::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
│ @ Revise C:\Users\Dennis Bal\.julia\packages\Revise\jHTGK\src\lowered.jl:227
└ @ Revise C:\Users\Dennis Bal\.julia\packages\Revise\jHTGK\src\pkgs.jl:477
So I opened up a new REPL, and did the following
The latest version of Julia in the `release` channel is 1.7.2+0~x64. You currently have `1.7.1+0~x64` installed. Run:
juliaup update
to install Julia 1.7.2+0~x64 and update the `release` channel to that version.
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.7.1 (2021-12-22)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Flux
[ Info: Precompiling Flux [587475ba-b771-5e3f-ad9e-33799f191a9c]
ERROR: LoadError: Failed to precompile CUDA [052768ef-5323-5732-b1bb-66c8b64840ba] to C:\Users\Dennis Bal\.julia\compiled\v1.7\CUDA\jl_8836.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:997
[7] include
@ .\Base.jl:418 [inlined]
[8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base .\loading.jl:1318
[9] top-level scope
@ none:1
[10] eval
@ .\boot.jl:373 [inlined]
[11] eval(x::Expr)
@ Base.MainInclude .\client.jl:453
[12] top-level scope
@ none:1
in expression starting at C:\Users\Dennis Bal\.julia\packages\Flux\qAdFM\src\Flux.jl:1
ERROR: Failed to precompile Flux [587475ba-b771-5e3f-ad9e-33799f191a9c] to C:\Users\Dennis Bal\.julia\compiled\v1.7\Flux\jl_7E05.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:997
(@v1.7) pkg> rm Flux, CUDA; add Flux
ERROR: The following package names could not be resolved:
* CUDA (052768ef-5323-5732-b1bb-66c8b64840ba in manifest but not in project)
(@v1.7) pkg> add CUDA
Updating registry at `C:\Users\Dennis Bal\.julia\registries\General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Updating `C:\Users\Dennis Bal\.julia\environments\v1.7\Project.toml`
[052768ef] + CUDA v3.8.2
No Changes to `C:\Users\Dennis Bal\.julia\environments\v1.7\Manifest.toml`
(@v1.7) pkg> rm Flux, CUDA; add Flux
Updating `C:\Users\Dennis Bal\.julia\environments\v1.7\Project.toml`
[052768ef] - CUDA v3.8.2
[587475ba] - Flux v0.12.9
Updating `C:\Users\Dennis Bal\.julia\environments\v1.7\Manifest.toml`
[ab4f0b2a] - BFloat16s v0.2.0
[052768ef] - CUDA v3.8.2
[082447d4] - ChainRules v1.27.0
[587475ba] - Flux v0.12.9
[d9f16b24] - Functors v0.2.8
[0c68f7d7] - GPUArrays v8.2.1
[61eb1bfa] - GPUCompiler v0.13.14
[7869d1d1] - IRTools v0.4.5
[e5e0dc1b] - Juno v0.8.4
[929cbde3] - LLVM v4.8.0
[e89f7d12] - Media v0.5.0
[872c559c] - NNlib v0.8.2
[a00861dc] - NNlibCUDA v0.2.1
[74087812] - Random123 v1.4.2
[e6cf234a] - RandomNumbers v1.5.3
[c1ae055f] - RealDot v0.1.0
[e88e6eb3] - Zygote v0.6.35
[dad2f222] - LLVMExtra_jll v0.0.13+3
Resolving package versions...
Updating `C:\Users\Dennis Bal\.julia\environments\v1.7\Project.toml`
[587475ba] + Flux v0.12.9
Updating `C:\Users\Dennis Bal\.julia\environments\v1.7\Manifest.toml`
[ab4f0b2a] + BFloat16s v0.2.0
[052768ef] + CUDA v3.8.2
[082447d4] + ChainRules v1.27.0
[587475ba] + Flux v0.12.9
[d9f16b24] + Functors v0.2.8
[0c68f7d7] + GPUArrays v8.2.1
[61eb1bfa] + GPUCompiler v0.13.14
[7869d1d1] + IRTools v0.4.5
[e5e0dc1b] + Juno v0.8.4
[929cbde3] + LLVM v4.8.0
[e89f7d12] + Media v0.5.0
[872c559c] + NNlib v0.8.2
[a00861dc] + NNlibCUDA v0.2.1
[74087812] + Random123 v1.4.2
[e6cf234a] + RandomNumbers v1.5.3
[c1ae055f] + RealDot v0.1.0
[e88e6eb3] + Zygote v0.6.35
[dad2f222] + LLVMExtra_jll v0.0.13+3
julia> using Flux
[ Info: Precompiling Flux [587475ba-b771-5e3f-ad9e-33799f191a9c]
ERROR: LoadError: Failed to precompile CUDA [052768ef-5323-5732-b1bb-66c8b64840ba] to C:\Users\Dennis Bal\.julia\compiled\v1.7\CUDA\jl_8AD1.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:997
[7] include
@ .\Base.jl:418 [inlined]
[8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base .\loading.jl:1318
[9] top-level scope
@ none:1
[10] eval
@ .\boot.jl:373 [inlined]
[11] eval(x::Expr)
@ Base.MainInclude .\client.jl:453
[12] top-level scope
@ none:1
in expression starting at C:\Users\Dennis Bal\.julia\packages\Flux\qAdFM\src\Flux.jl:1
ERROR: Failed to precompile Flux [587475ba-b771-5e3f-ad9e-33799f191a9c] to C:\Users\Dennis Bal\.julia\compiled\v1.7\Flux\jl_80E0.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:997
So I can not precompile Flux, but the upstream error seems to come from LLVM
, Zygote
and CUDA
on different attempts.