Getting Started¶
Python Installation¶
PyTorch Installation¶
Install PyTorch:
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
RainbowNeko Engine Installation¶
pip install rainbowneko
Download and install:
git clone https://github.com/IrisRainbowNeko/RainbowNekoEngine.git
cd RainbowNekoEngine
pip install -e .
Optional Installations¶
Note
Use xformers to reduce memory usage and accelerate training. Find the version corresponding to your PyTorch version on the xformers releases page, then install it:
pip3 install -U xformers==<version> --index-url https://download.pytorch.org/whl/<cuda_version>
# Replace <cuda_version> with your CUDA version (e.g., cuda12.4 corresponds to cu124).
To monitor the training process with TensorBoard:
pip install tensorboard
To monitor the training process with WandB:
pip install wandb