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
44 changes: 22 additions & 22 deletions .github/workflows/pre-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -620,28 +620,28 @@ jobs:
echo "Nixl Dockerfile was NOT modified"
fi

# build_nixl_dockerfile:
# needs: [check_dockerfile_changes, discover_runner, retrieve_head_sha]
# if: needs.check_dockerfile_changes.outputs.nixl_changed == 'true'
# runs-on: ${{ needs.discover_runner.outputs.runner_name }}
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# with:
# ref: ${{ needs.retrieve_head_sha.outputs.head_sha }}
# clean: true
# - name: Build nixl Dockerfile (validation only)
# run: |
# echo "Building .cd/Dockerfile.ubuntu.pytorch.vllm.nixl.latest to verify it builds correctly..."
# docker build \
# --no-cache \
# -t nixl-dockerfile-build-test \
# -f .cd/Dockerfile.ubuntu.pytorch.vllm.nixl.latest \
# .
# echo "Nixl Dockerfile build succeeded."
# - name: Cleanup test image
# if: always()
# run: docker rmi -f nixl-dockerfile-build-test || true
build_nixl_dockerfile:
needs: [check_dockerfile_changes, discover_runner, retrieve_head_sha]
if: needs.check_dockerfile_changes.outputs.nixl_changed == 'true'
runs-on: ${{ needs.discover_runner.outputs.runner_name }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ needs.retrieve_head_sha.outputs.head_sha }}
clean: true
- name: Build nixl Dockerfile (validation only)
run: |
echo "Building .cd/Dockerfile.ubuntu.pytorch.vllm.nixl.latest to verify it builds correctly..."
docker build \
--no-cache \
-t nixl-dockerfile-build-test \
-f .cd/Dockerfile.ubuntu.pytorch.vllm.nixl.latest \
.
echo "Nixl Dockerfile build succeeded."
- name: Cleanup test image
if: always()
run: docker rmi -f nixl-dockerfile-build-test || true

pre_merge_hpu_test:
# --- UPDATED: Add discover_runner dependency ---
Expand Down
2 changes: 1 addition & 1 deletion vllm_gaudi/ops/hpu_awq.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def from_config(cls, config: dict[str, Any]) -> "AWQHPUConfig":
return cls(weight_bits, group_size, zero_point, modules_to_not_convert)

@classmethod
def override_quantization_method(cls, hf_quant_cfg, user_quant) -> Optional[str]:
def override_quantization_method(cls, hf_quant_cfg, user_quant, hf_config=None) -> Optional[str]:

is_valid_user_quant = user_quant == "awq_hpu"

Expand Down
2 changes: 1 addition & 1 deletion vllm_gaudi/ops/hpu_gptq.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def from_config(cls, config: dict[str, Any]) -> "GPTQHPUConfig":
return cls(weight_bits, group_size, desc_act, lm_head_quantized)

@classmethod
def override_quantization_method(cls, hf_quant_cfg, user_quant) -> Optional[str]:
def override_quantization_method(cls, hf_quant_cfg, user_quant, hf_config=None) -> Optional[str]:

is_valid_user_quant = user_quant == "gptq_hpu"

Expand Down
Loading