Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into autoTP_Qwen2Moe_Dee…
Browse files Browse the repository at this point in the history
…pSeekv2
  • Loading branch information
gyou2021 committed Feb 8, 2025
2 parents f680115 + a83ab17 commit be7182e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/nv-a6000.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ jobs:
run: |
git clone https://github.com/huggingface/transformers
cd transformers
git checkout v4.47.1
# if you need to use an older transformers version temporarily in case of breakage
# git checkout v4.47.1
git rev-parse --short HEAD
python -m pip install .
- name: Install deepspeed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from deepspeed.ops.transformer.inference.op_binding.workspace import WorkspaceOp
from deepspeed.accelerator import get_accelerator
import deepspeed
if deepspeed.HAS_TRITON:
if deepspeed.HAS_TRITON and get_accelerator().is_triton_supported():
from deepspeed.ops.transformer.inference.triton.mlp import TritonMLP
from deepspeed.ops.transformer.inference.triton.attention import TritonSelfAttention

Expand Down

0 comments on commit be7182e

Please sign in to comment.