bulk update styling and formatting (#170)

This commit is contained in:
Sayak Paul
2025-01-02 13:20:33 +05:30
committed by GitHub
parent 191ea8b0cc
commit 018953ed86
12 changed files with 26 additions and 24 deletions
+3 -2
View File
@@ -1,7 +1,8 @@
import inspect
from accelerate.logging import get_logger
import torch
from accelerate.logging import get_logger
logger = get_logger("finetrainers")
@@ -45,7 +46,7 @@ def get_optimizer(
if (use_torchao and (use_8bit or use_4bit)) or use_cpu_offload_optimizer:
try:
import torchao
import torchao # noqa
except ImportError:
raise ImportError(