From 30bd06b1bd323a68eef6e975b176c84f624fbaee Mon Sep 17 00:00:00 2001 From: Donato Capitella Date: Sun, 30 Nov 2025 15:45:48 +0000 Subject: [PATCH] more dockerfile AI SLOP --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ee565c3..07310ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -84,13 +84,13 @@ RUN echo "import sys, re" > patch_strix.py && \ echo "txt = p.read_text()" >> patch_strix.py && \ echo "header = 'import sys\nfrom unittest.mock import MagicMock\nsys.modules[\"amdsmi\"] = MagicMock()\n'" >> patch_strix.py && \ echo "txt = header + txt" >> patch_strix.py && \ - echo "txt = re.sub(r'device_type = .*', 'device_type = \"rocm\"', txt)" >> patch_strix.py && \ # CHANGED (was "cuda") - echo "txt = re.sub(r'device_name = .*', 'device_name = \"gfx1151\"', txt)" >> patch_strix.py && \ # CHANGED (was "cuda") + echo "txt = re.sub(r'device_type = .*', 'device_type = \"rocm\"', txt)" >> patch_strix.py && \ + echo "txt = re.sub(r'device_name = .*', 'device_name = \"gfx1151\"', txt)" >> patch_strix.py && \ echo "txt += '\n def get_device_name(self, device_id: int = 0) -> str:\n return \"AMD-gfx1151\"\n'" >> patch_strix.py && \ echo "p.write_text(txt)" >> patch_strix.py && \ echo "print('Successfully patched vLLM for Strix Halo')" >> patch_strix.py && \ python patch_strix.py && \ - sed -i 's/gfx1200;gfx1201/gfx1151/' CMakeLists.txt # CHANGED (was gfx1200;gfx1201) + sed -i 's/gfx1200;gfx1201/gfx1151/' CMakeLists.txt # 7. Build vLLM (Wheel Method) with CLANG Host Compiler RUN python -m pip install --upgrade cmake ninja packaging wheel numpy "setuptools-scm>=8" "setuptools<80.0.0" scikit-build-core pybind11