Skip to content

Commit 293c740

Browse files
committed
ruff
1 parent bf67cba commit 293c740

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/openpi/models/pi0_config.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ def __post_init__(self):
4040
if self.discrete_state_input is None:
4141
object.__setattr__(self, "discrete_state_input", self.pi05)
4242
if self.pytorch_compile_mode is not None:
43-
assert self.pytorch_compile_mode in ["default", "reduce-overhead", "max-autotune", "max-autotune-no-cudagraphs"]
43+
assert self.pytorch_compile_mode in [
44+
"default",
45+
"reduce-overhead",
46+
"max-autotune",
47+
"max-autotune-no-cudagraphs",
48+
]
4449

4550
@property
4651
@override

0 commit comments

Comments
 (0)