Skip to content
Merged
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
7 changes: 7 additions & 0 deletions benchmarks/70b_fp4_mi355x_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ elif [[ "$ISL" == "1024" && "$OSL" == "8192" ]]; then
elif [[ "$ISL" == "8192" && "$OSL" == "1024" ]]; then
if [[ "$CONC" -gt "16" ]]; then
export VLLM_ROCM_USE_AITER_MHA=1
else
export VLLM_ROCM_USE_AITER_MHA=0
fi
if [[ "$CONC" -lt "16" && "$TP" -gt "1" ]]; then
export VLLM_ROCM_USE_AITER_TRITON_BF16_GEMM=0
else
export VLLM_TRITON_FP4_GEMM_USE_ASM=1
fi
fi

Expand Down
13 changes: 10 additions & 3 deletions benchmarks/70b_fp4_mi355x_slurm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,16 @@ elif [[ "$ISL" == "1024" && "$OSL" == "8192" ]]; then
export VLLM_TRITON_FP4_GEMM_USE_ASM=1
fi
elif [[ "$ISL" == "8192" && "$OSL" == "1024" ]]; then
if [[ "$CONC" -gt "16" ]]; then
export VLLM_ROCM_USE_AITER_MHA=1
fi
if [[ "$CONC" -gt "16" ]]; then
export VLLM_ROCM_USE_AITER_MHA=1
else
export VLLM_ROCM_USE_AITER_MHA=0
fi
if [[ "$CONC" -lt "16" && "$TP" -gt "1" ]]; then
export VLLM_ROCM_USE_AITER_TRITON_BF16_GEMM=0
else
export VLLM_TRITON_FP4_GEMM_USE_ASM=1
fi
fi


Expand Down
2 changes: 2 additions & 0 deletions benchmarks/70b_fp8_mi300x_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ elif [[ "$ISL" == "8192" && "$OSL" == "1024" ]]; then
fi
fi

# In this specific case, float16 performs better than the datatype
# picked by vllm when using auto for --dtype (bfloat16).
set -x
vllm serve $MODEL --port=$PORT \
--swap-space=64 \
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/70b_fp8_mi300x_slurm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ elif [[ "$ISL" == "8192" && "$OSL" == "1024" ]]; then
fi
fi

# In this specific case, float16 performs better than the datatype
# picked by vllm when using auto for --dtype (bfloat16).
set -x
vllm serve $MODEL --port=$PORT \
--swap-space=64 \
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/70b_fp8_mi325x_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ elif [[ "$ISL" == "8192" && "$OSL" == "1024" ]]; then
fi
fi

# In this specific case, float16 performs better than the datatype
# picked by vllm when using auto for --dtype (bfloat16).
set -x
vllm serve $MODEL --port=$PORT \
--swap-space=64 \
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/70b_fp8_mi325x_slurm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ elif [[ "$ISL" == "8192" && "$OSL" == "1024" ]]; then
fi
fi

# In this specific case, float16 performs better than the datatype
# picked by vllm when using auto for --dtype (bfloat16).
set -x
vllm serve $MODEL --port=$PORT \
--swap-space=64 \
Expand Down