Skip to content

Allow configuring pytorch compilation mode#905

Merged
kvablack merged 2 commits intoPhysical-Intelligence:mainfrom
abhaybd:fix-pytorch-compilation
Mar 19, 2026
Merged

Allow configuring pytorch compilation mode#905
kvablack merged 2 commits intoPhysical-Intelligence:mainfrom
abhaybd:fix-pytorch-compilation

Conversation

@abhaybd
Copy link
Contributor

@abhaybd abhaybd commented Mar 19, 2026

This PR allows users to configure the compilation mode used by Pi0Pytorch to compile the sample_actions method.

This was specifically motivated by needing to use the max-autotune-no-cudagraphs mode, due to threading issues. By default the compilation mode is max-autotune, which preserves existing behavior.

@jimmyt857 jimmyt857 enabled auto-merge March 19, 2026 19:20
@jimmyt857
Copy link
Contributor

Thanks!

auto-merge was automatically disabled March 19, 2026 19:54

Head branch was pushed to by a user without write access

@abhaybd abhaybd requested a review from jimmyt857 March 19, 2026 20:18
@kvablack kvablack force-pushed the fix-pytorch-compilation branch from 293c740 to 417042a Compare March 19, 2026 21:29
@kvablack kvablack merged commit 714ec9a into Physical-Intelligence:main Mar 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants