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 settings #227

Open
eas125 opened this issue Dec 27, 2024 · 2 comments
Open

torch settings #227

eas125 opened this issue Dec 27, 2024 · 2 comments

Comments

@eas125
Copy link

eas125 commented Dec 27, 2024

Curious if these are the correct settings for running torch.compile. The only thing I have different from default is dynamic=true.
image

@kijai
Copy link
Owner

kijai commented Dec 27, 2024

The default is fine, most compatible and fastest to compile, everything else is minimal benefit for longer compile times, and may not even work or requires further setup. Dynamic should not be needed either, compiling only the transformer blocks is really fast and recompilation times are hardly an issue.

@jepjoo
Copy link

jepjoo commented Dec 27, 2024

What does dynamic do anyways?

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

No branches or pull requests

3 participants