mlx-vis: GPU-Accelerated Dimensionality Reduction and Visualization on Apple Silicon
- URL: http://arxiv.org/abs/2603.04035v1
- Date: Wed, 04 Mar 2026 13:16:48 GMT
- Title: mlx-vis: GPU-Accelerated Dimensionality Reduction and Visualization on Apple Silicon
- Abstract summary: mlx-vis is a Python library that implements six dimensionality reduction methods and a k-nearest neighbor graph entirely in MLX.<n>The library provides UMAP, t-SNE, PaCMAP, TriMap, DREAMS, CNE, and NNDescent, all executing on Metal GPU through a unified fit_transform interface.<n>On Fashion-MNIST with 70,000 points, all methods complete embedding in 2.1-3.8 seconds and render 800-frame animations in 1.4 seconds on an M3 Ultra.
- Score: 5.943245848892104
- License: http://creativecommons.org/licenses/by-nc-sa/4.0/
- Abstract: mlx-vis is a Python library that implements six dimensionality reduction methods and a k-nearest neighbor graph algorithm entirely in MLX, Apple's array framework for Apple Silicon. The library provides UMAP, t-SNE, PaCMAP, TriMap, DREAMS, CNE, and NNDescent, all executing on Metal GPU through a unified fit_transform interface. Beyond embedding computation, mlx-vis includes a GPU-accelerated circle-splatting renderer that produces scatter plots and smooth animations without matplotlib, composing frames via scatter-add alpha blending on GPU and piping them to hardware H.264 encoding. On Fashion-MNIST with 70,000 points, all methods complete embedding in 2.1-3.8 seconds and render 800-frame animations in 1.4 seconds on an M3 Ultra, with the full pipeline from raw data to rendered video finishing in 3.6-5.2 seconds. The library depends only on MLX and NumPy, is released under the Apache 2.0 license, and is available at https://github.com/hanxiao/mlx-vis.
Related papers
- TorchMorph: CUDA-accelerated Morphological Transforms [4.910415354181461]
GPU vision libraries built on PyTorch cover a narrow subset of operators.<n>TorchMorph exposes operators covering binary morphology, greyscale morphology and exact and approximate distance transforms.<n> Batched execution reaches up to 1.1e3 times the throughput of scipy.ndimage on greyscale morphology.
arXiv Detail & Related papers (2026-08-25T15:46:45Z) - SparseDitto: Customizing GPU Kernels for Different Sparsity Patterns with LLM-Based Agentic System [45.52961410486319]
We present SparseDitto, an LLM-based system that constructs a GPU kernel for each matrix, operator, and target GPU.<n>SparseDitto supports SpMV, SpMM, and SpGEMM within a unified design framework.<n>Its generated SpMM kernels also accelerate full-batch GCN training by up to 3.39x.
arXiv Detail & Related papers (2026-08-05T16:41:03Z) - FusionML: Prefill, Not Decode - Mechanism and Boundaries of CPU+GPU Co-Execution on Unified-Memory Apple Silicon [0.0]
Previous attempts, including our own, failed or produced precision-confounded wins.<n>We identify the cause: MLX's lazy-graph scheduler emphserializes cross-stream workWhenever a CPU-stream operation consumes an unmaterialized GPU result inside one evaluation graph, a row-split matmul runs x1.38 faster with materialized inputs.<n>We characterize the boundaries equally carefully: decode cannot benefit, bound by shared bandwidth co-execution does not add.
arXiv Detail & Related papers (2026-07-24T11:42:17Z) - mlx-snn: Spiking Neural Networks on Apple Silicon via MLX [1.1597621848542221]
We introduce mlx-snn, the first spiking neural network (SNN) library built on Apple's MLX framework.<n>mlx-snn provides six neuron models, four surrogate gradient functions, four spike encoding methods, and a complete backpropagation-through-time training pipeline.<n>mlx-snn is open-source under the MIT license and available on PyPI.
arXiv Detail & Related papers (2026-03-03T21:25:36Z) - Native LLM and MLLM Inference at Scale on Apple Silicon [0.8122270502556375]
We present vllm-mlx, a framework for efficient LLM and MLLM inference on Apple Silicon built native on MLX.<n>For text models, we achieve 21% to 87% higher throughput than llama- across models ranging from Qwen3-0.6B to Nemotron-30B.<n>For multimodal models, we introduce content-based caching that eliminates redundant vision encoding by identifying identical images through content hashing, regardless of input format.
arXiv Detail & Related papers (2026-01-27T03:11:02Z) - torch-sla: Differentiable Sparse Linear Algebra with Adjoint Solvers and Sparse Tensor Parallelism for PyTorch [0.2960141730774496]
We present torchsla, an open-source PyTorch library that enables GPU-accelerated, scalable, and differentiable sparse linear algebra.<n>torchsla supports multiple backends (SciPy, cuDSS, PyTorch-native) and seamlessly integrates with PyTorch autograd for end-to-end differentiable simulations.
arXiv Detail & Related papers (2026-01-20T14:06:01Z) - MeshSplatting: Differentiable Rendering with Opaque Meshes [59.240722437975755]
We present MeshSplatting, a mesh-based reconstruction approach that jointly optimize geometry and appearance through differentiable rendering.<n>On Mip-NeRF360, it boosts PSNR by +0.69 dB over the current state-of-the-art MiLo for mesh-based novel view synthesis.
arXiv Detail & Related papers (2025-12-07T12:31:04Z) - scipy.spatial.transform: Differentiable Framework-Agnostic 3D Transformations in Python [49.015684860172975]
Three-dimensional rigid-body transforms, i.e. rotations and translations, are central to modern differentiable machine learning pipelines.<n> SciPy's spatial$.$diff module is a rigorously tested Python implementation.<n>We present a complete overhaul of SciPy's spatial$.$transform functionality that makes it compatible with any array library implementing the Python array API.
arXiv Detail & Related papers (2025-11-22T18:52:34Z) - Minute-Long Videos with Dual Parallelisms [57.22737565366549]
Diffusion Transformer (DiT)-based video diffusion models generate high-quality videos at scale but incur prohibitive processing latency and memory costs for long videos.<n>We propose a novel distributed inference strategy, termed DualParal.<n>Instead of generating an entire video on a single GPU, we parallelize both temporal frames and model layers across GPUs.
arXiv Detail & Related papers (2025-05-27T11:55:22Z) - VoGE: A Differentiable Volume Renderer using Gaussian Ellipsoids for
Analysis-by-Synthesis [62.47221232706105]
We propose VoGE, which utilizes the Gaussian reconstruction kernels as volumetric primitives.
To efficiently render via VoGE, we propose an approximate closeform solution for the volume density aggregation and a coarse-to-fine rendering strategy.
VoGE outperforms SoTA when applied to various vision tasks, e.g., object pose estimation, shape/texture fitting, and reasoning.
arXiv Detail & Related papers (2022-05-30T19:52:11Z) - Mesh Convolution with Continuous Filters for 3D Surface Parsing [101.25796935464648]
We propose a series of modular operations for effective geometric feature learning from 3D triangle meshes.
Our mesh convolutions exploit spherical harmonics as orthonormal bases to create continuous convolutional filters.
We further contribute a novel hierarchical neural network for perceptual parsing of 3D surfaces, named PicassoNet++.
arXiv Detail & Related papers (2021-12-03T09:16:49Z) - Picasso: A CUDA-based Library for Deep Learning over 3D Meshes [46.8917772877766]
We present Picasso, a library comprising novel modules for deep learning over complex real-world 3D meshes.
We design GPU-accelerated mesh decimation to facilitate network resolution reduction efficiently on-the-fly.
We demonstrate the effectiveness of the proposed modules with competitive segmentation results on S3DIS.
arXiv Detail & Related papers (2021-03-28T08:04:50Z) - Kernel Operations on the GPU, with Autodiff, without Memory Overflows [5.669790037378094]
The KeOps library provides a fast and memory-efficient GPU support for tensors whose entries are given by a mathematical formula.
KeOps alleviates the major bottleneck of tensor-centric libraries for kernel and geometric applications: memory consumption.
KeOps combines optimized C++/CUDA schemes with binders for high-level languages: Python (Numpy and PyTorch), Matlab and R.
arXiv Detail & Related papers (2020-03-27T08:54:10Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.