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

Does it work with torch.compile? #153

Open
Muennighoff opened this issue Sep 30, 2024 · 2 comments
Open

Does it work with torch.compile? #153

Muennighoff opened this issue Sep 30, 2024 · 2 comments

Comments

@Muennighoff
Copy link

Do you know what (if anything) stands in the way of using megablocks with torch.compile?

@Muennighoff
Copy link
Author

Muennighoff commented Sep 30, 2024

Maybe cc @mvpatel2000 @tgale96 ; would love to get your thoughts!

@mvpatel2000
Copy link
Contributor

I haven't tried it, so I'm honestly not sure 🤷. I'd recommend trying it out and see what happens.

I would guess it would be messy given the varying shapes with dropless MoEs, and that you're probably better off not compiling this layer. But not as familiar with latest on compile

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

2 participants