Comments (5)
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.
Should be fixed with JuliaRegistries/General#68344; Please upgrade and let us know if the package works without the workaround.
from metal.jl.
Great!
from metal.jl.
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.
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)
- tag new version HOT 1
- Panic during profiling tests on 14.4 beta HOT 5
- M3 backend cannot handle atomics with complicated pointer conversions HOT 3
- Int128 does not compile HOT 4
- Two suspicious `mtl`-related behaviours HOT 6
- Add Support for BFloat16 HOT 3
- LU factorization: add allowsingular keyword argument HOT 1
- Autorelease changes lead to use after free with errors
- Shader validator error with linear broadcast kernel HOT 3
- Support for Paravirtualized Graphics for Github Actions CI HOT 4
- Reductions don't work on Shared Arrays HOT 1
- Port the opportunistic synchronization from CUDA.jl HOT 1
- Register v1.1.0 HOT 4
- Tests sporadically timing out on 1.11 HOT 9
- ReshapedArray indexing broken because of Int128 operation HOT 11
- KernelAbstractions copyto! typo
- Segmentation Faults HOT 11
- Port `accmulate!` and `findall` from CUDA.jl HOT 4
- `MTL.append_copy!` silently ignores Metal documentation restriction HOT 2
- Tests failing with `GPUCompiler` v0.26.5 and `LLVM` v7.1 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metal.jl.