Skip to content

Commit

Permalink
[DNM] Test triton
Browse files Browse the repository at this point in the history
Signed-off-by: wangxiyuan <[email protected]>
  • Loading branch information
wangxiyuan committed Dec 23, 2024
1 parent 048fc57 commit e2f85d1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions vllm/triton_utils/importing.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@

logger = init_logger(__name__)

HAS_TRITON = (
find_spec("triton") is not None
and not current_platform.is_xpu() # Not compatible
and not current_platform.is_neuron() # neuron has too old torch
)
HAS_TRITON = find_spec("triton") is not None

if not HAS_TRITON:
logger.info("Triton not installed or not compatible; certain GPU-related"
Expand Down

0 comments on commit e2f85d1

Please sign in to comment.