Datasets:
The dataset viewer is not available for this subset.
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 295, in _generate_tables
pa_table = paj.read_json(
io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
)
File "pyarrow/_json.pyx", line 364, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
return check_status(status)
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: JSON parse error: Column(/tasks/k562_myc_knockdown/comparisons/mlx-8bit/ref/max_repeat_up/[]) changed from string to number in row 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
for split_generator in builder._split_generators(
~~~~~~~~~~~~~~~~~~~~~~~~~^
StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 101, in _split_generators
pa_table = next(iter(self._generate_tables(**splits[0].gen_kwargs, allow_full_read=False)))[1]
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 308, in _generate_tables
json_field_path = get_json_field_path_from_pyarrow_json_error(
str(e), examples=(ujson_loads(line) for line in batch.splitlines())
)
File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 106, in get_json_field_path_from_pyarrow_json_error
for example in examples:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 309, in <genexpr>
str(e), examples=(ujson_loads(line) for line in batch.splitlines())
~~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 21, in ujson_loads
return pd.io.json.ujson_loads(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
ValueError: Expected object or value
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 68, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
~~~~~~~~~~~~~~~~~~~~~~~^
path=dataset,
^^^^^^^^^^^^^
config_name=config,
^^^^^^^^^^^^^^^^^^^
token=hf_token,
^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
info = get_dataset_config_info(
path,
...<6 lines>...
**config_kwargs,
)
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
CellGemma E4B on a 64GB M5 Pro Mac mini
Date: 1 December 2026 (America/Los_Angeles). Updated later the same day with MLX 8-bit and 4-bit results.
Local speed run of google/cellgemma-e4b (Apache 2.0), Google DeepMind's cell-perturbation model, on a 64GB M5 Pro Mac mini. Official transformers 5.24.1, PyTorch 2.15.0 on MPS, bfloat16, macOS 27.2.1 (build 26B131). A background app was running.
This is not a chat model, so there is no general quality suite. The first section is the official transformers card setup (temperature 0.7, do_sample=True). Later the same day, PLE-safe MLX 8-bit and 4-bit conversions were timed on the same Mac mini, plus a greedy transformers bf16 reference used only for gene-list comparison. Those results are in the MLX section below. The official temperature 0.7 numbers in the first section are unchanged.
Google DeepMind's published evaluations on the model card are their claims. This packet only times those example tasks on this Mac mini. No model weights are stored in this dataset. The MLX conversions are in separate model repos: pratikgx/cellgemma-e4b-MLX-8bit and pratikgx/cellgemma-e4b-MLX-4bit.
Headline
The model loaded in 5.80 s (median of 3; the first load was 9.80 s). Weights are 14.4 GB. On the Tahoe task, peak RSS was 9.42 GB, prefill (from time to first token, generate path) 2,212 tok/s, decode 19.0 tok/s, TTFT 1.87 s. The end-to-end virtual screen took 434 s and hit the 8,192 token cap on every run, including warmup. On K562 MYC knockdown, peak RSS was 5.86 GB, prefill 2,132 tok/s, decode 20.9 tok/s, TTFT 2.10 s, and the virtual screen finished in 46.7 s. All sanity checks passed.
Results
Official card setup: transformers on MPS, bfloat16, temperature 0.7, do_sample=True, max_new_tokens 8192, median of 3 timed runs after 1 warmup. Tasks are the examples from the model card, using the official controls_sample.json from that repo (not redistributed here): Tahoe Panobinostat 0.5 uM and K562 MYC knockdown.
| task | peak RSS | prefill tok/s | decode tok/s | TTFT | virtual screen |
|---|---|---|---|---|---|
| Tahoe Panobinostat 0.5 uM | 9.42 GB | 2,212 | 19.0 | 1.87 s | 434 s (8,192 cap every run) |
| K562 MYC knockdown | 5.86 GB | 2,132 | 20.9 | 2.10 s | 46.7 s |
Load: 5.80 s median (9.80 s, 5.80 s, 4.79 s). Parameter size 14.4 GB in bfloat16 (~7.73B parameters). Device mps:0.
Prefill tok/s is input tokens divided by time to first token on the generate path, which is what charts/03_prefill_toks.png shows. results/summary.json also records a separate full-logits probe (prefill_tok_s, medians 1,244 and 1,194 tok/s). That is a different measurement. The headline.virtual_screen_s_median value of 251 s in summary.json mixes the two tasks and is not used here.
Charts
Files
results/summary.json,results/raw_runs.json: timed runs and medians for the official temperature 0.7 setup.results/environment.json: software and hardware (process lists removed).charts/: one chart per headline result from that official run.scripts/: official-run benchmark and chart scripts.logs/bench.log: official-run log.COMMANDS.mdandresults/COMMANDS.txt: install, download, and official-run invocations.mlx/: greedy MLX 8-bit and 4-bit packet, described below.
The official controls file is controls_sample.json on the model repo. No model weights are in this dataset.
Caveats
- The headline numbers above are official transformers + PyTorch MPS, temperature 0.7, not greedy and not MLX.
- CellGemma is not a chat model, so there is no general quality or instruction-following suite.
- The Tahoe example hit
max_new_tokens8192 on every run, so the 434 s virtual-screen time is cap-limited. - A background app was running.
MLX 8-bit and 4-bit (greedy)
Later on 1 December 2026, official google/cellgemma-e4b weights were converted on this Mac mini with mlx-lm 0.32.2 (mlx / mlx-metal 0.32.4) using a PLE-safe predicate: embeddings, per_layer_* linears, and norms stay in bf16; attention and MLP projections are affine-quantized (group size 64); router.proj is 8-bit. Convert ran on CPU. Engine is mlx-lm (gemma4_text), not mlx-vlm. No community conversion was used.
Those models are public:
- pratikgx/cellgemma-e4b-MLX-8bit (11.04 GB on disk, 12.226 average bits/weight)
- pratikgx/cellgemma-e4b-MLX-4bit (9.23 GB on disk, 10.213 average bits/weight)
Timing used greedy decoding (do_sample=False / temp=0), max_new_tokens 8192, the same official K562 MYC knockdown and Tahoe Panobinostat 0.5 uM prompts, and a median of 3 timed runs with no warmup. A new greedy transformers bf16 reference was run on the same machine so gene-list comparisons would not mix quantization with the official temperature 0.7 sampling. Do not compare the 46.7 s K562 figure above with the greedy MLX wall times as if they used the same decoding policy or the same output length.
A background app was running. Outputs were deterministic across the 3 greedy runs at all three precisions (identical text every time).
Speed and memory
Load is one load, then 3 timed runs. Peak memory for bf16 is the 14.4 GB weight footprint at load. For MLX it is peak MLX memory during generate (also listed: memory at load). Prefill is input tokens divided by time to first token.
| metric | transformers bf16 (greedy) | MLX 8-bit | MLX 4-bit |
|---|---|---|---|
| Load | 8.97 s | 2.33 s | 1.88 s |
| Memory | 14.4 GB weights | 11.00 GB at load, 12.7 GB peak | 9.19 GB at load, 10.8 GB peak |
| Tahoe prefill / decode | 2,138 tok/s, 19.0 tok/s | 3,999 tok/s, 37.7 tok/s | 3,946 tok/s, 51.1 tok/s |
| Tahoe TTFT / screen | 1.93 s, 433 s (8,192 cap) | 1.06 s, 218 s (8,192 cap) | 1.05 s, 162 s (8,192 cap) |
| K562 prefill / decode | 2,147 tok/s, 20.6 tok/s | 4,037 tok/s, 39.4 tok/s | 3,614 tok/s, 44.4 tok/s |
| K562 TTFT / screen | 2.09 s, 83 s (1,668 tokens, stopped) | 1.11 s, 51 s (1,971 tokens, stopped) | 1.24 s, 186 s (8,192 cap, did not stop) |
Gene-list fidelity versus greedy bf16
Ranks use the first occurrence of each gene. Overlap is set overlap of the top-k slices. Spearman and Kendall use signed ranks on shared genes. The 4-bit K562 run hit the 8,192 token cap and its tail starts repeating genes; top-k overlap uses the ranked heads, so that tail does not change the percentages below.
| metric | Tahoe 8-bit | Tahoe 4-bit | K562 8-bit | K562 4-bit |
|---|---|---|---|---|
| Top 10 overlap up / down | 9/10 (90%) / 10/10 (100%) | 5/10 (50%) / 9/10 (90%) | 10/10 (100%) / 10/10 (100%) | 6/10 (60%) / 3/10 (30%) |
| Exact rank top 10 up / down | 8/10 / 10/10 | 0/10 / 2/10 | 10/10 / 10/10 | 0/10 / 0/10 |
| Top 50 overlap up / down | 50/50 (100%) / 49/50 (98%) | 39/50 (78%) / 45/50 (90%) | 40/50 (80%) / 29/50 (58%) | 36/50 (72%) / 19/50 (38%) |
| Exact rank top 50 up / down | 27/50 / 18/50 | 2/50 / 2/50 | 20/50 / 17/50 | 3/50 / 1/50 |
| Sign agreement on shared genes | 100% | 100% | 99.8% | 99.7% |
| Spearman / Kendall (signed ranks) | 0.948 / 0.836 | 0.921 / 0.777 | 0.914 / 0.768 | 0.900 / 0.738 |
| ExpressionDecoder LFC Pearson | 0.88 | 0.78 | 0.76 | 0.29 |
| LFC sign agreement (both nonzero) | 95.1% | 94.6% | 98.6% | 95.4% |
8-bit holds the ranked lists at the head. On K562, the top 10 up and top 10 down are an exact rank match with greedy bf16. Tahoe down top 10 is also exact; Tahoe up is 9/10 overlap and 8/10 exact. Mid-list membership is not identical (K562 down top-50 overlap is 29/50) because the 8-bit K562 list is a little longer.
4-bit is faster, but the ranks drift, and the K562 run never emitted a stop token. Hematopoietic names such as GYPB, BLVRB, HBZ, ALAS2, and SLC25A37 still appear near the top of the 4-bit K562 up list, but not in the same order. Prefer 8-bit if gene-list fidelity matters.
MLX charts
MLX files
mlx/results/transformers-bf16-greedy/: greedy transformers bf16 reference (summary.json,raw_runs.json, decoder vectors).mlx/results/mlx-8bit/,mlx/results/mlx-4bit/: MLX timed runs and decoder vectors.prompts.jsonis omitted; prompts were rebuilt from the official controls file, which is not redistributed here.mlx/results/gene_fidelity_bf16_vs_mlx.json: overlap, exact-rank, Spearman/Kendall, sign agreement, and LFC comparisons.mlx/charts/: the two charts above.mlx/scripts/: convert, bench, compare, and chart scripts.mlx/logs/: convert and bench logs (home paths replaced with~).mlx/COMMANDS.mdandmlx/results/COMMANDS.txt: exact convert, bench, compare, and upload commands and versions.
MLX caveats
- Gene-list scores are versus the greedy bf16 reference, not versus the official temperature 0.7 lists in the first section.
- Both Tahoe runs at every precision hit the 8,192 token cap, so Tahoe wall time is cap-limited.
- 4-bit K562 did not stop and hit the cap. That inflates its 186 s wall time and changes the decoder input, which is why LFC Pearson falls to 0.29.
- A background app was running.
License and credit
Measurements and this card: CC BY 4.0, attribution Pratik Gandhi. License text.
CellGemma E4B is released by Google DeepMind under Apache 2.0. No model weights are redistributed here. The MLX conversions in the linked model repos are quantized derivatives of that Apache 2.0 work and keep the same license.
Credit to Google DeepMind for CellGemma E4B.
Write-up
How I ran the official transformers timing and the caveats: CellGemma E4B. It is part of Local AI field notes.
Write-up on GitHub
How I ran this, what broke, and the scripts: CellGemma E4B on a 64GB M5 Pro Mac mini. It's part of Local AI field notes, where I log every model I run on my Mac mini.
- Downloads last month
- 141







