fix pre commit

This commit is contained in:
Pepijn
2025-10-10 13:35:26 +02:00
parent d709acfc55
commit 771b03c30d
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -57,6 +57,7 @@ accelerate launch \
```
**Key accelerate parameters:**
- `--multi_gpu`: Enable multi-GPU training
- `--num_processes=2`: Number of GPUs to use
- `--mixed_precision=fp16`: Use fp16 mixed precision (or `bf16` if supported)
@@ -97,4 +98,3 @@ For faster training, you can enable mixed precision (fp16 or bf16). This is conf
- When saving or pushing models, LeRobot automatically unwraps the model from accelerate's distributed wrapper to ensure compatibility.
For more advanced configurations and troubleshooting, see the [Accelerate documentation](https://huggingface.co/docs/accelerate).
+1 -1
View File
@@ -15,10 +15,10 @@
# limitations under the License.
import logging
import time
from collections.abc import Callable
from contextlib import nullcontext
from pprint import pformat
from typing import Any
from collections.abc import Callable
import torch
from termcolor import colored