Troubleshooting#
The errors below are declared in each step’s step.toml.
The steps raise hard errors rather than substituting a fallback, so a run that completes produced what the configuration asked for.
extend#
Error |
Cause |
Recovery |
|---|---|---|
|
Neither |
Set one of them, with |
|
A spliced token is unreachable at its merge rank, which indicates a corrupt merge set. |
Retrain with |
|
The BPE trainer exhausted host memory; it is CPU- and RAM-bound. |
Lower |
A language value that is not registered raises a ValueError listing the registered names.
A Devanagari-normalized language raises an ImportError when indic-nlp-library is not installed.
Three corpus conditions also raise a ValueError before the step writes anything.
Each condition would otherwise save a tokenizer that looks like a correct tokenizer.
The following table lists the conditions:
Condition |
Recovery |
|---|---|
Both |
Set exactly one key. Set |
|
Set the actual column, such as |
|
Widen the corpus. Check |
init_embeddings#
Error |
Cause |
Recovery |
|---|---|---|
|
|
Set one of the three values. |
|
|
Set |
|
The model’s embedding row count differs from the base tokenizer size. |
Confirm that |
|
|
Install the |
Unsupported method and arm combinations, such as baseline.mode=mean_target or subword.*_averaging=gemma_weighted with arm=replace, also fail explicitly.
See the support table in Embedding Initialization.
evaluate#
Error |
Cause |
Recovery |
|---|---|---|
|
Neither |
Set one of them. |
|
|
Set the actual column: |
A corpus that yields no documents raises a RuntimeError rather than reporting a fertility of 0.0.
eval_init#
Error |
Cause |
Recovery |
|---|---|---|
|
No local corpus was given and no |
Set |
|
|
Set at least one checkpoint path. |
Scoring more than one model with max_tokens set and max_docs unset raises a ValueError because the token cap is tokenizer-dependent.
Set max_docs, or set allow_token_cap_comparison=true only to reproduce a historical run.