Add CPU LoRA training (#938)

(It's very slow)
This commit is contained in:
IggoOnCode 2023-04-10 22:29:00 +02:00 committed by GitHub
parent 0caf718a21
commit 09d8119e3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -212,7 +212,7 @@ Optionally, you can use the following command-line flags:
| Flag | Description |
|---------------------------------------------|-------------|
| `--cpu` | Use the CPU to generate text. |
| `--cpu` | Use the CPU to generate text. Warning: Training on CPU is extremely slow.|
| `--auto-devices` | Automatically split the model across the available GPU(s) and CPU. |
| `--gpu-memory GPU_MEMORY [GPU_MEMORY ...]` | Maxmimum GPU memory in GiB to be allocated per GPU. Example: `--gpu-memory 10` for a single GPU, `--gpu-memory 10 5` for two GPUs. You can also set values in MiB like `--gpu-memory 3500MiB`. |
| `--cpu-memory CPU_MEMORY` | Maximum CPU memory in GiB to allocate for offloaded weights. Same as above.|