Rich-machine setup
This page is the practical checklist for running the real full_llm_pipeline.ipynb through training-manager or directly on a stronger host.
What this host should have
- Python 3.12
uv- enough disk for datasets, checkpoints, logs, and
.venv - enough RAM / VRAM for the intended model configuration
- a stable network path if datasets or gated sources must be fetched
First-time setup
bash
git clone --recurse-submodules git@github.com:colorful-numbers/Lavender-2.git
cd Lavender-2
uv syncOptional but useful:
bash
uv run python -m ipykernel install --user \
--name lavender-uv --display-name "Lavender (uv .venv)"Optional HuggingFace access
If gated datasets are required:
bash
echo "hf_xxx" > hf-token.txt
export HF_TOKEN=$(cat hf-token.txt)Do not commit hf-token.txt.
Direct execution path
bash
python3 train.pyThat wrapper performs:
bash
uv sync
uv run jupyter nbconvert --to notebook --execute --inplace full_llm_pipeline.ipynbtraining-manager path
bash
training-manager init --path /absolute/path/to/Lavender-2 --name lavender-full \
--command "python3 train.py --notebook full_llm_pipeline.ipynb"
training-manager serveThen open http://127.0.0.1:14514, select lavender-full, and click Start.
What to check first if it fails
- does
uv synccomplete? - does notebook execution begin?
- do logs appear under
.training-manager/logs/train.logif using the manager? - is the failure during data access, tokenization, model init, or training?
- is host memory / GPU memory obviously insufficient for the chosen config?
What to send back after first run
Useful first diagnostics:
- machine CPU / RAM / GPU shape
- whether
uv syncsucceeded - first meaningful traceback if any
- how far the notebook got before failing
- whether the issue is dependency, data, memory, or runtime stability