Giter VIP home page Giter VIP logo

Comments (5)

maleadt avatar maleadt commented on June 5, 2024 1

Just installing Zlib_jll doesn't work, since it doesn't pub a libz in a globally-discoverable location. The JLL that fails to load needs to depend on Zlib_jll (which will set the appropriate environment variables), which I'm doing in JuliaPackaging/Yggdrasil#5500.

from metal.jl.

maleadt avatar maleadt commented on June 5, 2024 1

Should be fixed with JuliaRegistries/General#68344; Please upgrade and let us know if the package works without the workaround.

from metal.jl.

maleadt avatar maleadt commented on June 5, 2024 1

Great!

from metal.jl.

d0rc avatar d0rc commented on June 5, 2024

not sure if it says something meaningful, but manually installing Zlib_jll doesn't help

julia> import Pkg; Pkg.add("Zlib_jll")
   Resolving package versions...
    Updating `~/.julia/environments/v1.8/Project.toml`
  [83775a58] + Zlib_jll v1.2.12+3
  No Changes to `~/.julia/environments/v1.8/Manifest.toml`

Still gives the error above.

from metal.jl.

d0rc avatar d0rc commented on June 5, 2024

Yes, it worked. Thank you, sir!

Looks like this:

julia> Pkg.update("Metal")
    Updating registry at `~/.julia/registries/General.toml`
   Installed Metal_LLVM_Tools_jll ─ v0.3.0+2
  Downloaded artifact: Metal_LLVM_Tools
  No Changes to `~/.julia/environments/v1.8/Project.toml`
    Updating `~/.julia/environments/v1.8/Manifest.toml`
  [0418c028] ↑ Metal_LLVM_Tools_jll v0.3.0+1 ⇒ v0.3.0+2
Precompiling project...
  2 dependencies successfully precompiled in 3 seconds. 19 already precompiled.
[ Info: We haven't cleaned this depot up for a bit, running Pkg.gc()...
      Active manifest files: 4 found
      Active artifact files: 76 found
      Active scratchspaces: 5 found
     Deleted no artifacts, repos, packages or scratchspaces

julia> using Metal

julia> a = MtlArray([1])
1-element MtlArray{Int64, 1}:
 1

julia> a .+ 1 .+ 9
1-element MtlArray{Int64, 1}:
 11

from metal.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.