≈ the.bay.news

[ANN] AppleNeuralEngine.jl: Julia on the Apple Neural Engine

Julia Programming Language
[ANN] AppleNeuralEngine.jl: Julia on the Apple Neural Engine
Every Apple Silicon Mac has a Neural Engine (ANE), an fp16 accelerator that Apple exposes only through Core ML. AppleNeuralEngine.jl drives it directly from Julia through ObjectiveC.jl, as Metal.jl does for the GPU, with no native code to build. You write ordinary Julia, and it is traced into an ANE program: using AppleNeuralEngine silu(z) = z / (1 + exp(-z)) function ffn(x) # LLaMA-style feed-forward block: RMSNorm, SwiGLU, residual n = x ./ sqrt.(sum(abs2, x; dims=2) ./ size(x, 2) .+ 1f-...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.