Skip to content

Fix std_workflow._evaluate cannot be captured by torch.compile bug - #223

Merged
BillHuang2001 merged 2 commits into
mainfrom
evoxtorch-dev-ks
Mar 15, 2025
Merged

BillHuang2001 merged 2 commits into
mainfrom
evoxtorch-dev-ks

Conversation

@sses7757

Copy link
Copy Markdown
Collaborator

Description

Fix a bug that StdWorkflow._evaluate cannot be captured by torch.compile. The bug fix does NOT changes the existing API.

Checklist

  • I have formatted my Python code with ruff.
  • I have good commit messages.
  • If adding new algorithms, problems, operators:
    • Added related test cases.
    • Added docstring to explain important parameters.
    • Added entries in the docs.

@BillHuang2001

Copy link
Copy Markdown
Collaborator

Just came across the same solution. Look good.

@BillHuang2001
BillHuang2001 merged commit 1c3c12d into main Mar 15, 2025
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.

2 participants