Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions aten/src/ATen/native/transformers/cuda/sdp_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ bool check_flash_attention_hardware_support(sdp_params const& params, bool debug
}
return false;
}
#if AOTRITON_VERSION_MINOR >= 9
#if AOTRITON_VERSION_CURRENT >= AOTRITON_VERSION_INT(0, 9)
if (aotriton::isArchExperimentallySupported(stream)) {
static const bool enable_experimental = c10::utils::check_env("TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL") == true;
if (!enable_experimental) {
Expand Down Expand Up @@ -365,7 +365,7 @@ bool check_mem_efficient_hardware_support(sdp_params const& params, bool debug)
}
return false;
}
#if AOTRITON_VERSION_MINOR >= 9
#if AOTRITON_VERSION_CURRENT >= AOTRITON_VERSION_INT(0, 9)
if (aotriton::isArchExperimentallySupported(stream)) {
static const bool enable_experimental = c10::utils::check_env("TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL") == true;
if (!enable_experimental) {
Expand Down