From c42cc56d3400a1a6e541bdf62303025b0e1d4fa0 Mon Sep 17 00:00:00 2001 From: Eugene Rakhmatulin Date: Tue, 3 Feb 2026 14:17:30 -0800 Subject: [PATCH] bugfix --- build-and-copy.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build-and-copy.sh b/build-and-copy.sh index bff9105..4d560ca 100755 --- a/build-and-copy.sh +++ b/build-and-copy.sh @@ -157,16 +157,16 @@ while [[ "$#" -gt 0 ]]; do ;; --no-build) NO_BUILD=true ;; -h|--help) usage ;; -if [ -n "$VLLM_PRS" ]; then - if [ "$EXP_MXFP4" = true ]; then echo "Error: --apply-vllm-pr is incompatible with --exp-mxfp4"; exit 1; fi - if [ -n "$USE_WHEELS_MODE" ]; then echo "Error: --apply-vllm-pr is incompatible with --use-wheels"; exit 1; fi -fi - *) echo "Unknown parameter passed: $1"; usage ;; esac shift done +if [ -n "$VLLM_PRS" ]; then + if [ "$EXP_MXFP4" = true ]; then echo "Error: --apply-vllm-pr is incompatible with --exp-mxfp4"; exit 1; fi + if [ -n "$USE_WHEELS_MODE" ]; then echo "Error: --apply-vllm-pr is incompatible with --use-wheels"; exit 1; fi +fi + if [ "$EXP_MXFP4" = true ]; then if [ "$TRITON_REF_SET" = true ]; then echo "Error: --exp-mxfp4 is incompatible with --triton-ref"; exit 1; fi if [ "$VLLM_REF_SET" = true ]; then echo "Error: --exp-mxfp4 is incompatible with --vllm-ref"; exit 1; fi