Appearance
Training
These programs show how Python applications supply data to training. Source is read-only in the documentation. Run it in your own prepared environment; these examples are not submitted to the website's fixed Rust example service. Install PyCellPack from PyPI, download the program from its page, and run it in your Python project; no CellPack checkout is required.
DataLoader and sample ordering
Complete corpus and Tensor iteration. Requires PyTorch and C++17; CUDA is optional.
Native process functions
Runnable scGPT preset with named outputs. Requires C++17; CUDA mode also requires PyTorch/CUDA.
Full training integration
A blueprint for native configuration, output rings, transfers and a model loop. Supply application data, vocabulary and model settings.
Start with the DataLoader example for ordinary training iteration. Use the lower-level integration when your application needs explicit native control.
Read batch ownership and cleanup before retaining outputs or configuring asynchronous transfers.