We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 451c2b4 commit 7850a9cCopy full SHA for 7850a9c
torch/_inductor/runtime/hints.py
@@ -7,13 +7,14 @@
7
from enum import auto, Enum
8
from typing import Optional, Union
9
10
+import torch
11
from torch.utils._triton import has_triton_package
12
13
14
# The following maximums only apply to runtime autotuning, when using FixedTritonConfig one may see larger values
15
# NOTE: if these fail asserts submit a PR to increase them
16
TRITON_MAX_BLOCK = {
- "X": 8192,
17
+ "X": 8192 if torch.version.hip else 4096,
18
"Y": 1024,
19
"Z": 1024,
20
"R0_": 4096 * 16, # * 16 is multi-kernel only
0 commit comments