Update lerobot/common/policies/pi0fast/configuration_pi0fast.py

Co-authored-by: Dana Aubakirova <118912928+danaaubakirova@users.noreply.github.com>
This commit is contained in:
mshukor 2025-04-02 15:58:51 +02:00 committed by GitHub
parent e4c1f2a76f
commit 704e84c055
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,8 @@ class PI0FASTConfig(PreTrainedConfig):
precision: str = "bfloat16"
grad_clip_norm: float = 1
# Allows padding/truncation of generated action tokens during detokenization to ensure decoding.
# In the original version, tensors of 0s were generated if shapes didn't match for stable decoding.
relaxed_decoding: bool = True
def __post_init__(self):