Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TORCH COMPILE] Ignore HPU GRAPHS env var when eager mode is used #165

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

jczaja
Copy link

@jczaja jczaja commented Jun 21, 2024

These changes are making to ignore ENABLE_HPU_GRAPH env var when eager mode is used. Also some example of running model using eager mode with torch compiled was provided.

As a result to enable eager with torch compile we just need to disable lazy mode e.g.

PT_HPU_LAZY_MODE=0

@jczaja
Copy link
Author

jczaja commented Jul 1, 2024

@regisss Please review

@regisss regisss merged commit c64b5b7 into huggingface:habana-main Jul 3, 2024
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