chore(style): fix format

This commit is contained in:
Steven Palma
2025-03-07 15:14:46 +01:00
parent 0eb56cec14
commit f9e4a1f5c4
2 changed files with 4 additions and 2 deletions

View File

@@ -70,7 +70,8 @@ class PreTrainedConfig(draccus.ChoiceRegistry, HubMixin, abc.ABC):
# Automatically deactivate AMP if necessary # Automatically deactivate AMP if necessary
if self.use_amp and not is_amp_available(self.device): if self.use_amp and not is_amp_available(self.device):
logging.warning( logging.warning(
"Automatic Mixed Precision (amp) is not available on device '%s'. Deactivating AMP.",self.device "Automatic Mixed Precision (amp) is not available on device '%s'. Deactivating AMP.",
self.device,
) )
self.use_amp = False self.use_amp = False

View File

@@ -80,6 +80,7 @@ This might require a sudo permission to allow your terminal to monitor keyboard
**NOTE**: You can resume/continue data recording by running the same data recording command twice. **NOTE**: You can resume/continue data recording by running the same data recording command twice.
""" """
# TODO(Steven): This script should be updated to use the new robot API and the new dataset API. # TODO(Steven): This script should be updated to use the new robot API and the new dataset API.
import argparse import argparse
import importlib import importlib