Philip John BasileAI / MLX / Apple Silicon

MLX · Metal · Machine learning on Mac

Local AI.
Apple
Silicon.

AI built for your Mac. I contribute to Apple's MLX and MLX-LM, build local inference tools, and publish models, training data, and reproducible research.

Apple Silicon. Unified memory. Open source.

An original charcoal vinyl robot with coral pill-shaped eyes and a tiny orange companion, sitting on a peach gallery plinth.
LOCAL INTELLIGENCE
A mind of your own.
FIG. 01 / THE EXPLORER
Big ideas.
On your own silicon.

Contributing upstream

Built for MLX.
Shared upstream.

MLX is Apple’s open-source framework ↗ for machine learning on Apple Silicon. These contributions connect my local model work to the tools the wider community uses.

MLX · Metal kernelsMerged

Correct results at large row counts

Fixed a row-count overflow in the sorted quantized matrix kernel that could leave output rows unwritten above 32K. A correctness fix validated on M5 Max.

View upstream contribution ↗August 26, 2026
MLX · QuantizationMerged

Repair a quantized loader

Fixed scale and bias indexing for small quantization groups. The merged change also disabled the affected non-transposed NAX dispatch while upstream reviewed it.

View upstream contribution ↗August 12, 2026
MLX-LM · Model conversionMerged

Keep converted Qwen weights correct

Fixed a second normalization shift when already-converted Qwen checkpoints retained MTP tensors. The regression covers dense and mixture-of-experts models.

View upstream contribution ↗August 18, 2026

Merged contributions, verified September 10, 2026. The linked pull requests preserve the implementation, review, and validation scope.

From frameworks to applications

Metal to model.

Runtime development, model engineering, and storage-aware inference on Apple Silicon.

Runtime contributions

Native MTP in MTPLX

Hy3 and Qwen MTP backend work, with upstream shipping confirmation and hardware findings in the release discussion.

Read the contribution thread ↗
Model engineering

Prune, measure, compare

Hy3 and Qwen Mini experiments connect expert pruning and LoRA training to code, tool-format, and memory observations.

Explore the source and receipts ↗
Systems work

Large models, local storage

iliria explores serving a full GLM expert set from SSD through a C/Metal engine. Its container and the pruned MLX build have different runtime requirements.

Explore the streaming engine ↗

Try the work

AI you can
get your hands on.

A code-completion demo and a guide to the wider body of work. Each gives you a practical starting point.

Interactive model demo

Wisp Coder · Code at the cursor

Write the code before and after a cursor, then ask Wisp to fill the gap. A small model trained from scratch to study fill-in-the-middle and native multi-token prediction.

The hosted demo uses the standard 100.7M trunk on CPU. It does not use MTP acceleration or execute generated code.

Resource hub · You are here

Apple Silicon AI

Find a model, inspect a contribution, load a data sample, or follow a technical guide. The model catalog includes runtime requirements, download sizes, and exact source revisions.

A static guide with no model download required. The source and catalog are available for inspection.

Reusable research assets

Training data.
Building blocks for AI.

Training and calibration material from the GLM Demolition project, with a small MLX-specific sample you can inspect directly.

Public dataset · JSONL

GLM-5.2 Demolition data

Code training examples, specialist “soul” material, and calibration corpora used in the pruning and LoRA-healing work.

87,586rows indexed in the current default Hub viewer
Train
84,231
Validation
3,277
Test
78

The original release card reports 272,549 examples across the full JSONL repository. The default viewer indexes a subset; its row total is not the full corpus size.

The card documents thinner Go/JS coverage and a neutral-to-degrading security-soul result on the pruned base. Reuse requires your own evaluation.

A direct connection to MLX

Inspect the MLX code examples

heal/gold2/code_mlx.jsonl contains seven chat-format examples. This snippet downloads only that 58 KB file at the inspected revision and parses it as data.

import json
from pathlib import Path
from huggingface_hub import hf_hub_download

path = hf_hub_download(
    repo_id="philipjohnbasile/glm52-demolition-data",
    repo_type="dataset",
    filename="heal/gold2/code_mlx.jsonl",
    revision="9c2d273ca6651ca92242cb5ae46bedf0dd8001d0",
)
rows = [json.loads(line) for line in
        Path(path).read_text().splitlines()
        if line.strip()]
print(len(rows))  # 7
Read the MLX sample ↗

The sample is training material, not a benchmark or a guarantee of code quality. The dataset retains its published license and provenance.

Read, reproduce, build

Inside the
MLX workshop.

Existing project documentation, linked at inspected revisions. Follow the implementation details and the evidence behind each release.

Methods · Wisp

Trace the training data ↗

Corpus sources, realized token counts, filtering, and the limits of the surviving provenance record.

Evaluation · Wisp

Read the FIM results ↗

The registered code-completion comparison, including null and adverse results and the limits of each protocol.

The collection / 20 public artifacts

Models for
Apple Silicon.

Twenty public artifacts. Clear differences between a model you can try, an experiment, and a component for a larger system.

Download size is not RAM. Totals include root tensor files and sidecars. Runtime, context cache, tokenizer files, and nested adapter checkpoints are separate. How to read the evidence ↓

Loading catalog…

A note on evidence

AI claims.
Real evidence.

These releases include wins, null results, and regressions. The model cards preserve that record.

01

Check the exact runtime

A head in a checkpoint or a recognized architecture does not prove successful generation. The labels separate a live demo, recorded runs, pending verification, and reference artifacts.

02

Compare like with like

Prompt, token budget, decoding mode, hardware, and harness change the result. Acceptance rate alone is not code quality or speed. Different evaluation protocols are not one leaderboard.

03

Keep provenance visible

Each catalog entry links to the inspected revision. Model authors, conversion sources, and runtime contributors retain their credits and their own license terms.

Continue exploring

Your Mac.
Your next idea.

Model weights, data, and evidence are published in versioned repositories. Start with a collection, inspect the files, or join a project discussion.