Plotting mathematical functions in Ruby inside Jupyter with Ruby-libgd
GD bindings for Ruby exist already; Jupyter integration is the only fresh angle.
Ruby Bindings for the MLX Framework
Full MLX power in Ruby: lazy arrays, Metal GPU, transformer layers—but Ruby adoption risk.
Ruby developers on macOS, indie ML practitioners
PyTorch · TensorFlow · JAX
GitHub: https://github.com/skryl/mlx-ruby
MLX-Ruby is a native C++ extension that wraps the upstream MLX runtime, giving Ruby full access to the array framework, neural network layers, optimizers, and Metal GPU acceleration on Apple silicon.
What’s included: ∙Lazy arrays with dynamic graph construction ∙Function transforms: grad, value_and_grad, vmap, jvp, vjp, compile ∙Full NN module system: Conv2d, Linear, Embedding, Transformer layers, RNNs, etc. ∙Optimizers: Adam, AdamW, SGD, and more ∙A Ruby DSL for declarative model definition, training loops, and checkpointing ∙CPU and Metal GPU support
Working examples (https://github.com/skryl/mlx-ruby-examples): ∙LLaMA inference ∙Stable Diffusion ∙Whisper ∙Transformer language model ∙LoRA fine-tuning
GD bindings for Ruby exist already; Jupyter integration is the only fresh angle.
MLX-powered local TTS plugin for OpenClaw—elegant but audience is Apple Silicon only.
Content channel, not a software tool or library to evaluate.
MoE pruning on MacBook without CUDA or PyTorch dependency stack.
Local MLX agent for Mac when Cursor and Copilot already dominate the market.
LiteRT beats MLX on Gemma memory while CoreML sips power on the Neural Engine.