mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-15 08:39:49 +00:00
Remove PEFT compatibility changes in config
We'll wait for the PEFT release that fixes this for good.
This commit is contained in:
@@ -91,12 +91,6 @@ class PreTrainedConfig(draccus.ChoiceRegistry, HubMixin, abc.ABC):
|
|||||||
)
|
)
|
||||||
self.use_amp = False
|
self.use_amp = False
|
||||||
|
|
||||||
def get(self, name, default=None):
|
|
||||||
return getattr(self, name, default)
|
|
||||||
|
|
||||||
def __contains__(self, name):
|
|
||||||
return hasattr(self, name)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def type(self) -> str:
|
def type(self) -> str:
|
||||||
return self.get_choice_name(self.__class__)
|
return self.get_choice_name(self.__class__)
|
||||||
|
|||||||
Reference in New Issue
Block a user