-
-
Save shunting314/cdd555bec63bc2d9c741da64b3d4e4fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import torch | |
| torch._inductor.config.combo_kernels = True | |
| torch._inductor.config.fx_graph_cache = False | |
| @torch.compile | |
| def f(x, y): | |
| return x + 1, y * 2 | |
| # x = torch.randn(1024, device="cuda") | |
| x = torch.randn(51200000 - 1, device="cuda") | |
| y = torch.randn(2048, device="cuda") | |
| f(x, y) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment