Fix failing tests

This commit is contained in:
nemo
2025-07-14 16:44:58 +02:00
parent 57014e5bb1
commit 8a9be85306
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ def record(cfg: RecordConfig) -> LeRobotDataset:
# Load pretrained policy
if cfg.policy.use_peft:
if cfg.policy and cfg.policy.use_peft:
from peft import PeftModel
logging.info("Loading policy's PEFT adapter.")