You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add ARM64 NEON SIMD kernels for gelu, sigmoid, silu, softmax, layer_norm, and adam_step #6
crates/oxideon-core/src/backend/simd_arm.rs currently provides ARM64 NEON kernels for add, sub, mul, div, sum, relu, exp, and tanh, while simd_x86.rs (AVX2+FMA) also accelerates gelu, gelu_backward, sigmoid, silu, softmax_row_f32, layer_norm_row_f32, layer_norm_row_bwd_f32, and adam_step_f32_slice.
Adding NEON implementations for those remaining hot kernels will significantly speed up training and inference on Apple Silicon (M1/M2/M3/M4) and ARM64 servers (Graviton).
Relevant Files
crates/oxideon-core/src/backend/simd_arm.rs
crates/oxideon-core/src/backend/cpu.rs
crates/oxideon-core/tests/simd_accuracy.rs
Acceptance Criteria
Implement NEON f32 kernels for gelu, sigmoid, silu, softmax_row, layer_norm_row, and adam_step.
Wire dispatch in backend/cpu.rs on target_arch = "aarch64".
Verify accuracy against f64 reference in crates/oxideon-core/tests/simd_accuracy.rs.
Activity