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

Fix installation for amd gpu #128

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
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: 3 additions & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
from tools.cuda_utils import CUDA_VERSION_MAP, DEFAULT_CUDA_VERSION
from tools.git_utils import checkout_submodules
from tools.python_utils import pip_install_requirements
from tools.torch_utils import is_hip

from tritonbench.utils.env_utils import is_hip


logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
Expand Down
1 change: 1 addition & 0 deletions tritonbench/operators/bf16xint16_gemm/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import triton
import triton.language as tl

from tritonbench.utils.env_utils import is_cuda


Expand Down
1 change: 1 addition & 0 deletions tritonbench/operators/fp8_gemm/persistent.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import triton
import triton.language as tl
import triton.tools.experimental_descriptor

from tritonbench.utils.env_utils import is_cuda

cublas = None
Expand Down
1 change: 1 addition & 0 deletions tritonbench/operators/fp8_gemm/tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@

import triton
import triton.language as tl

from tritonbench.utils.env_utils import is_cuda


Expand Down
1 change: 1 addition & 0 deletions tritonbench/operators/gemm/persistent_matmul.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import torch
import triton
import triton.language as tl

from tritonbench.utils.env_utils import is_cuda
from tritonbench.utils.triton_op import IS_FBCODE

Expand Down
Loading