IdeaCredIdeaCred

omrikais/alphafold3-mac

90

Run AlphaFold 3 protein structure prediction natively on Apple Silicon Macs (M1/M2/M3/M4). MLX inference, web UI, restraint-guided docking.

What's novel

Run AlphaFold 3 protein structure prediction natively on Apple Silicon Macs (M1/M2/M3/M4). MLX inference, web UI, restraint-guided docking.

Code Analysis

7 files read · 3 rounds

A complete reimplementation of AlphaFold 3's protein structure prediction model in Apple's MLX framework, enabling native inference on Apple Silicon Macs with a full data pipeline, web UI, CLI, and restraint-guided docking.

Strengths

Genuinely deep implementation of the full AlphaFold 3 architecture (Evoformer, diffusion head, confidence head, attention, geometry) in MLX with careful JAX-to-MLX weight mapping, proper numerical parity considerations (float32 casting, mask handling), and a complete surrounding ecosystem (web UI, REST API, CLI, MSA caching, restraint system).

Weaknesses

The weight name mapping table in model.py is a large static dictionary that could be fragile across AF3 versions, and the lazy _build_conditioning pattern in the diffusion head (rebuilding layers on first call) is a code smell that could mask dimension mismatches. Some files are very large (model.py at 90KB, runner.py at 40KB) suggesting opportunities for further decomposition.

Score Breakdown

Innovation
7 (25%)
Craft
82 (35%)
Traction
8 (15%)
Scope
93 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+2
Concept Novelty+2

Craft

Ci+5
Tests+8
Polish+5
Releases+0
Has License+5
Code Quality+25
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+2
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+2

Scope

Commits+7
Languages+8
Subsystems+15
Bloat Penalty+0
Completeness+7
Contributors+6
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

25

Contributors

2

Files

485

Active weeks

5

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

2

Forks

0

License

NOASSERTION