From 02408fb244deed9b00aabf97aa6ecde8fc46aa92 Mon Sep 17 00:00:00 2001 From: nemo Date: Mon, 13 Oct 2025 16:32:04 +0200 Subject: [PATCH] Remove PEFT compatibility changes in config We'll wait for the PEFT release that fixes this for good. --- src/lerobot/configs/policies.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lerobot/configs/policies.py b/src/lerobot/configs/policies.py index af18860c7..76810ac72 100644 --- a/src/lerobot/configs/policies.py +++ b/src/lerobot/configs/policies.py @@ -91,12 +91,6 @@ class PreTrainedConfig(draccus.ChoiceRegistry, HubMixin, abc.ABC): ) self.use_amp = False - def get(self, name, default=None): - return getattr(self, name, default) - - def __contains__(self, name): - return hasattr(self, name) - @property def type(self) -> str: return self.get_choice_name(self.__class__)