Skip to content

ModelForge v2.4.0

Choose a tag to compare

@CocoCopi CocoCopi released this 20 Nov 18:15
· 3 commits to main since this release

Direct APK for sideloading. Install over v2.3.0 in place - the signing
certificate is unchanged (9404779b...4b03490), so there is no uninstall step.

file bytes SHA-256
ModelForge-2.4.0-arm64.apk 3,591,955 7e851b3bb90a98cab9a56fcc48f192fd70f3ff7b180728d0cb8afd47a050ee99
ModelForge-2.4.0.aab 5,444,226 2d453ecc6d6f8d7f99e3fb8daf6906f77a916a355a1d414af2ef099978f55755

ModelForge-2.4.0-arm64.apk is the arm64-v8a APK for this device (minSdk 26).
ModelForge-2.4.0.aab is the Play Store bundle. Both come from the same
verified CI run (44786838503) and carry the release signature.

What this fixes

"Rate limited every 5 seconds" while training. Dataset repository files
(JSONL/JSON/CSV/TSV/TXT, optionally gzipped) are downloaded straight through
resolver URLs, so a 100k-row corpus is one file request instead of a thousand
viewer calls; the viewer is still the fallback for parquet-only repositories.
Every request now also passes through one adaptive pacing gate per host:
requests are spaced to the published quota, a 429 pauses every worker together
and honours Retry-After/RateLimit, and a failure is retried three times
before a visible Retry button appears.

"Stopped training says the checkpoint is saved, but the playground says the
checkpoint is missing."
A run stopped before its first periodic checkpoint
only saved last.mfck, while the playground, the identity check and every
exporter read best.mfck - so the app claimed success while the file it loads
did not exist. best.mfck is now written whenever it is missing, the stop
message reports the truth when that write fails, and every reader falls back to
last.mfck (models trained with v2.3.0 work without retraining). Checkpoint
sizes are rounded up, so a checkpoint below 1 MB is no longer shown as missing.

Speed. The two gradient matrix multiplies spent about half of every step
moving scratch memory instead of multiplying. They now keep their accumulators
in NEON registers (8x8 tile for the weight gradients, 4x8 tile for the input
gradients) and the bias gradient is summed contiguously. Measured on the
development phone with both engines in one process, 1.06M parameters, batch 8,
sequence 128: 2,620 ms/step against 3,343 ms/step, about 1.28x faster.

Honest limitations

  • Parquet-only repositories still use the dataset viewer, one page of rows at a
    time.
  • Training is still on-device only; there is no cloud or multi-device option.
  • ARM64 only. There is no armv7, x86 or x86_64 APK.
  • Tokenizer vocabulary is built locally from the dataset; it is not a pretrained
    BPE.
  • The bundled aapt2 in the local build environment is x86_64, so this APK was
    produced by CI rather than by building on the phone.