Skip to content

diffuse-coordinator job create ​

Start a LoRA fine-tuning run.

Synopsis ​

diffuse-coordinator job create [OPTIONS]

Options ​

flagvaluedefaultdescription
--config<CONFIG>$DIFFUSE_COORDINATOR_CONFIGConfiguration file. Its [admin] section says where to connect
--endpoint<ENDPOINT>$DIFFUSE_COORDINATOR_ENDPOINTCoordinator endpoint, e.g. https://coordinator.internal:7443
--ca-cert<CA_CERT>$DIFFUSE_CA_CERTThe deployment CA certificate (PEM)
--cert<CERT>$DIFFUSE_CERTThis process's certificate chain (PEM)
--key<KEY>$DIFFUSE_KEYThis process's private key (PEM)
--model<MODEL>-The base model, as shown by model list
--dataset<DATASET>-The training data, as shown by dataset list
--pool<POOL>-Which pool to place it in. Every healthy node by default
--as<ADAPTER_KEY>-What to call the adapter. Derived from the model and the data by default
--rank<RANK>16LoRA rank. Higher learns more and costs more
--alpha<ALPHA>32LoRA alpha; the merged delta is scaled by alpha/rank
--targets<TARGETS>q_proj,v_projWhich projections to adapt, comma separated
--learning-rate<LEARNING_RATE>0.0001Optimiser step size. Lower it if the loss moves erratically rather than settling; raise it only with a suite to check the result against
--batch<BATCH>1Examples per step. The activation term scales with this
--max-seq-len<MAX_SEQ_LEN>512Tokens per example. Longer examples are truncated, which changes what is learned: the run says so when it happens
--epochs<EPOCHS>1Passes over the corpus. More than three on a small corpus usually memorises it: eval against a held-out suite is how you tell
--max-steps<MAX_STEPS>0Stop after this many steps, whatever the data says. Zero means one pass
--seed<SEED>0Seed for shuffling and initialisation. Zero picks one and records it on the job, so a run is reproducible without having chosen to be
--gradient-checkpointingflag-Trade compute for memory: about 40% of the activation term, at roughly 30% more time per step
--checkpoint-every-steps<CHECKPOINT_EVERY_STEPS>20Write a checkpoint every N steps. A machine taken back costs at most this many steps

Notes ​

The explicit path, when you want to choose the hyperparameters yourself.

Examples ​

bash
$ diffuse-coordinator job create --model qwen2.5-3b --dataset berichte --as berichte-v1 --rank 32 --epochs 4
job 4f2a9c created and queued.

← diffuse-coordinator job · All commands

Diffuse Enterprise is commercial software. Diffuse Open is AGPL-3.0.