File size: 4,473 Bytes
2735970
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
---
license: mit
library_name: blueviewerfold
tags:
  - protein-structure-prediction
  - boltz-2
  - mlx
  - apple-silicon
base_model: boltz-community/boltz-2
---

# Boltz-2 weights for Blue Viewer

Converted weights of [Boltz-2](https://github.com/jwohlwend/boltz) (structure + confidence model, release
2.2.1) for **Blue Viewer**'s fold engine (BlueViewerFold, C++ on MLX for Apple Silicon). The Blue Viewer app
downloads them on first use; they are not a PyTorch checkpoint and are not meant for the upstream `boltz`
package.

The weights are the official ones from
[`boltz-community/boltz-2`](https://huggingface.co/boltz-community/boltz-2) (`boltz2_conf.ckpt`, SHA-256 in
`manifest.json`), converted without retraining. `mols.tar` is upstream's Chemical Component Dictionary
library, unchanged.

## Files

| Profile in the app | File | Size | Arithmetic | Accuracy vs upstream (fp64), worst of 4 test inputs |
|---|---|---|---|---|
| Most accurate (`exact`) | `boltz2_conf.fp32.safetensors` | 2.08 GB | fp32 | aligned RMSD 0.0004 Å, lDDT 1.000 |
| Balanced (`balanced`) | `variants/fp16/boltz2_conf.fp16.safetensors` | 1.04 GB | fp16 operands, fp32 statistics | RMSD ≤ 0.11 Å, lDDT ≥ 0.998 |
| Smallest download (`compact`) | `variants/affine-q8-g32/boltz2_conf.affine-q8-g32.safetensors` | 0.59 GB | as balanced; int8 weights (group 32, fp16 scales) dequantized at load | RMSD ≤ 0.10 Å, lDDT ≥ 0.999 |
| all profiles | `mols.tar` | 1.86 GB | — | CCD component library (RDKit pickles) |

Each weights file has a `boltz2_conf.manifest.json` next to it (provenance, tensor inventory, the
checkpoint's hyperparameters). `manifest.json` at the top lists every file with its size and SHA-256; the
app checks both after downloading.

## How they were made

`tools/release/publish_weights.sh` in the BlueViewerFold repository:

1. `tools/convert/convert_boltz2.py`: the checkpoint's `state_dict`, every tensor unchanged in fp32, loaded
   with `torch.load(weights_only=True)` (no code from the pickle runs); the checkpoint's SHA-256 is checked.
2. `tools/convert/make_variants.py --only fp16 affine-q8-g32`: fp16 copies and MLX affine int8 (group 32)
   quantization of every matrix; matrices whose width is not a multiple of 32 stay fp16, 1-D tensors fp32.
   Every matrix is dequantized and compared with fp32 on creation.
3. `tools/release/make_manifest.py`: sizes and SHA-256.

The accuracy figures come from the engine's gates (`docs/progress/PRECISION.md` in the project's docs): no
4-bit or 6-bit format passed them, so none is published.

## Credit and citation

Boltz-2 is by Saro Passaro, Gabriele Corso, Jeremy Wohlwend et al. If you use predictions in your research,
please cite:

```bibtex
@article{passaro2025boltz2,
  author = {Passaro, Saro and Corso, Gabriele and Wohlwend, Jeremy and Reveiz, Mateo and Thaler, Stephan and Somnath, Vignesh Ram and Getz, Noah and Portnoi, Tally and Roy, Julien and Stark, Hannes and Kwabi-Addo, David and Beaini, Dominique and Jaakkola, Tommi and Barzilay, Regina},
  title = {Boltz-2: Towards Accurate and Efficient Binding Affinity Prediction},
  year = {2025},
  doi = {10.1101/2025.06.14.659707},
  journal = {bioRxiv}
}
```

`mols.tar` is derived from the wwPDB Chemical Component Dictionary (PDB archive data, CC0 1.0).

## Licence

The weights are distributed under the MIT licence of Boltz-2:

```
MIT License

Copyright (c) 2024 Jeremy Wohlwend, Gabriele Corso, Saro Passaro

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```