Skip to content

Changed inference.py to compile policy.sample actions#106

Merged
akshay18iitg merged 1 commit intomainfrom
feat/torch_compile
Feb 5, 2026
Merged

Changed inference.py to compile policy.sample actions#106
akshay18iitg merged 1 commit intomainfrom
feat/torch_compile

Conversation

@WilliamYue37
Copy link
Member

@WilliamYue37 WilliamYue37 commented Feb 5, 2026

What this does

Changed inference.py to compile policy.sample actions. It was compiling the forward method before.

How it was tested

Ran GPU pytests and regression tests.

How to checkout & try? (for the reviewer)

Provide a simple way for the reviewer to try out your changes.

python src/opentau/scripts/inference.py --config_path=/path/to/config

Checklist

  • I have added Google-style docstrings to important functions and ensured function parameters are typed.
  • My PR includes policy-related changes.
    • If the above is checked: I have run the GPU pytests (pytest -m "gpu") and regression tests.

Note: Before submitting this PR, please read the contributor guideline.

@WilliamYue37 WilliamYue37 self-assigned this Feb 5, 2026
@WilliamYue37 WilliamYue37 added the feature New feature or request label Feb 5, 2026
@WilliamYue37 WilliamYue37 marked this pull request as ready for review February 5, 2026 22:21
@akshay18iitg akshay18iitg merged commit ec371d1 into main Feb 5, 2026
5 of 8 checks passed
@akshay18iitg akshay18iitg deleted the feat/torch_compile branch February 5, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants