Training Command-Line Options #
Command-line options shared by runnable training programs. These records describe process-level
choices such as step counts, log destinations, and CUDA allocator sampling. Model definitions and
the Trainer.train API do not depend on them.
Step, batching, logging, and allocator-reporting options for a training command.
- steps : ℕ
Number of optimizer updates.
- batchSize : ℕ
Number of in-memory samples consumed by one optimizer update.
- log : Training.LogDestination
Destination for the JSON training log.
- logPath : System.FilePath
Resolved log path, retained for command summaries.
- cudaMemWatch : ℕ
Number of completed steps between CUDA allocator samples;
0selects the default policy.
Instances For
Parse the common options accepted by runnable training commands.
Instances For
Training command options that also select a learning rate.
- lr : Float
Learning rate passed to the command's optimizer constructor.
Instances For
Instances For
Parse run options followed by a positive --lr value.