Repository navigation
ModelForge v2.3.0 - training speed, a stop that stops, diverse AI datasets
ModelForge v2.3.0 - training speed, a stop that stops, diverse AI datasets
Direct APK/sideload install (arm64-v8a, Android 8.0+). The signing key is
unchanged, so this updates over v2.2.0 without uninstalling and keeps your
models, datasets and checkpoints.
What was reported
- A 50M-parameter model trained at roughly one hour per step on v2.2.0.
- Stop training showed "stopping and saving checkpoint" forever, and the run
restarted by itself when the app was reopened.
Training speed (native kernels)
- The matrix multiplies were the bottleneck, not the configuration. The
backward pass walked both operands with a stride and could not vectorize.
The three kernels are now tiled and contiguous, and the NEON dot product uses
four independent accumulators so the FMA pipeline is not latency-bound. - Measured on an aarch64 Cortex-A55 host (4 usable cores, 256 tokens per
step): 1.06M parameters went from 1.15 s/step to 0.54 s/step, and 112.6M
parameters went from 205 s/step (previously over a 280 s timeout) to about
14.6 s/step. - The corpus size is now derived from the step count and free RAM (up to 128M
characters) instead of a fixed 4,000,000-character clamp, so a long run no
longer replays the same few thousand rows every epoch. - The review screen now shows the estimated seconds per step and the total
on-device compute for the chosen size before training starts.
Stop that stops
- Stop reaches into the running native step and aborts it at the next layer
boundary, so a large model stops in seconds instead of after the full step. - The aborted step never reaches AdamW, so the saved weights stay consistent
with the last checkpoint. - Stopping clears the active marker immediately, and a stopped run is never
auto-resumed when the app is reopened or the phone reboots. - Stopping during corpus, tokenizer or token-cache preparation is detected
too and reports a clean stopped state.
Datasets
- Downloads keep up to 24 page requests in flight (64 maximum), request the
next page while the current one is written, still write in order, and stop
at the real end of the split. - The AI architect is told to pick distinct, complementary sources. Repeated
dataset ids are collapsed, fewer than three distinct sources are topped up
with verified complementary datasets, and each AI-chosen dataset is retried
three times automatically before a visible "Retry N failed dataset(s)"
button appears.
Other
- The step field states that there is no maximum step count, and a 100,000-step
preset was added.
Honest limitations
- These are still tiny models trained from scratch on a phone. Expect short,
simple text with repetition, not chatbot-level answers. - The step-time numbers above come from an A55 host, not from your phone. The
app keeps reporting measured tokens per second and a live ETA. - A stopped run keeps the weights of the last completed step; the interrupted
step is repeated when training is resumed. - GGUF exports remain archival/tooling containers, not llama.cpp-compatible
models, and ONNX/TFLite/CoreML exports are still not implemented.
Checksums
- APK SHA-256: 0a9cd688c08c4c5343e0c958984ff5e3bd09421339330f01fbc7c4f0122b6185
- AAB SHA-256: 3ce4c7891a33e8d13d7bfcd08027c14e08fa158ffba148f1fedc3ced9d928fee
Licence: Apache License 2.0.