Skip to content

Commit 7875d12

Browse files
committed
Debug
1 parent 9b1def1 commit 7875d12

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/test-triton.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,7 @@ run_sglang_tests() {
628628
echo "***************************************************"
629629

630630
run_sglang_install
631+
cd sglang
631632
run_pytest_command -vvv -n ${PYTEST_MAX_PROCESSES:-4} test/srt/test_triton_attention_kernels.py
632633
}
633634

@@ -667,8 +668,9 @@ run_vllm_install() {
667668
cd vllm-xpu-kernels
668669
git checkout "$(<../benchmarks/third_party/vllm/vllm-kernels-pin.txt)"
669670
sed -i '/pytorch\|torch/d' requirements.txt
671+
sed -i '/pytorch\|torch/d' pyproject.toml
670672
pip install -r requirements.txt
671-
VLLM_TARGET_DEVICE=xpu pip install --no-build-isolation -e .
673+
VLLM_TARGET_DEVICE=xpu pip install -vvv --no-build-isolation .
672674
cd ..
673675

674676
VLLM_TARGET_DEVICE=xpu pip install --no-deps --no-build-isolation -e vllm
@@ -691,7 +693,7 @@ run_vllm_tests() {
691693

692694
run_triton_kernels_tests() {
693695
echo "***************************************************"
694-
echo "****** Running Triton Kernels tests ******"
696+
echo "****** Running Triton Kernels tests ******"requirements.txpt
695697
echo "***************************************************"
696698
cd $TRITON_PROJ/python/triton_kernels/tests
697699

0 commit comments

Comments
 (0)