JuliaGPU/XLA.jl

Julia install on Google Colab doesn't work

onsails opened this issue · 1 comments

InstallJuliaXLA.ipynb fails with the following error:

Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
  Updating `~/.julia/environments/v1.1/Project.toml`
 [no changes]
  Updating `~/.julia/environments/v1.1/Manifest.toml`
 [no changes]
Already up to date.
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
ERROR: AssertionError: haskey(hashes, uuid)
Stacktrace:
 [1] macro expansion at ./logging.jl:308 [inlined]
 [2] version_data!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /workspace/srcdir/julia/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:406
 [3] #instantiate#59(::Nothing, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context) at /workspace/srcdir/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:559
 [4] instantiate at /workspace/srcdir/julia/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:528 [inlined]
 [5] do_instantiate!(::Dict{Symbol,Any}, ::Array{String,1}, ::Dict{Symbol,Any}) at /workspace/srcdir/julia/usr/share/julia/stdlib/v1.1/Pkg/src/REPLMode.jl:671
 [6] #invokelatest#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:697
 [7] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:696
 [8] do_cmd!(::Pkg.REPLMode.PkgCommand, ::Pkg.REPLMode.MiniREPL) at /workspace/srcdir/julia/usr/share/julia/stdlib/v1.1/Pkg/src/REPLMode.jl:603
 [9] #do_cmd#33(::Bool, ::Function, ::Pkg.REPLMode.MiniREPL, ::String) at /workspace/srcdir/julia/usr/share/julia/stdlib/v1.1/Pkg/src/REPLMode.jl:577
 [10] (::getfield(Pkg.REPLMode, Symbol("#kw##do_cmd")))(::NamedTuple{(:do_rethrow,),Tuple{Bool}}, ::typeof(Pkg.REPLMode.do_cmd), ::Pkg.REPLMode.MiniREPL, ::String) at ./none:0
 [11] top-level scope at none:0
Keno commented

There was a purge of the registry from old versions some of which are referenced here. I've bumped the various versions which will fix this error, but can't guarantee things will work. We're planning to get back to this work at some point in the future, but for now that's the best I can do.