Run a small LoRA experiment
Use the reviewed LoRA source archive supplied with your walkthrough. It is an
ordinary Python program, with pinned requirements and a small synthetic support
dataset, run by Training. No private repository access is needed.
The demonstrated model is HuggingFaceTB/SmolLM2-135M; the program trains adapter
weights while keeping the base model weights fixed.
Execute and inspect
Use your project's enabled one-GPU A100 configuration. If an Endpoint already occupies the GPU, delete it and wait for confirmed cleanup first. In Console Training, upload the archive and set:
Command: python -u train_lora.py --steps 8
Mode: Managed Python 3.12
Accelerator: A100_80G_SXM
GPUs: 1
Time limit: 1800 secondsFollow logs and verify that the program reports CUDA execution and training steps. Wait for SUCCEEDED. The short run verifies execution, adapters and file handling; eight steps on synthetic examples do not establish model quality. If it fails or times out, inspect the run's failure and the original Operation before creating another run.
Download results and resume explicitly
Inspect Files for the adapter, evaluation output and saved checkpoint. Download them and compare sizes and SHA-256 digests. Keep the canonical Data references for reuse, subject to their permitted uses and your project authority.
The supplied program saves checkpoint-4.pt after step four. List it with
nestor runs checkpoints RUN_ID --json (or nestor training runs checkpoints
with older wheels). The accompanying resume example mounts that exact member
reference at /data/state.pt: this is an intentional input alias, not the
checkpoint's stored filename. The new run explicitly loads it before
continuing to step eight. A rerun alone creates a new execution
from the earlier immutable intent; it does not automatically load a checkpoint.
Checkpoint format and compatibility are properties of the program.
Use the result deliberately
Evaluate the adapter with its matching base model. The adapter does not apply to the separate Qwen chat example. Linking both resources to an Application records provenance and does not deploy adapter weights. Use only serving combinations the public API supports and the project has capacity for.
Cancel active work when necessary and confirm cleanup before starting the next GPU workload. Retained checkpoints and Data have their own lifecycle; deleting a run does not delete its published Data. Data deletion is a separate action; active holds and the retention floor delay physical purge.