#!/bin/bash
set -euo pipefail
docker run -d --name retest-mi50-w4-tp2-mtp2-mi50-w4-tp2-mtp2-r2 --network host --ipc host --cpuset-cpus 0-7,16-23 --security-opt label=disable --shm-size 67108864 --device /dev/kfd:/dev/kfd:rwm --device /dev/dri/renderD129:/dev/dri/renderD129:rwm --device /dev/dri/renderD130:/dev/dri/renderD130:rwm --user root --workdir /tmp -e VLLM_GFX906_PERSISTENT_AR_PREINIT_ON_GRAPH_CAPTURE=0 -e VLLM_ENABLE_FLA_PACKED_RECURRENT_DECODE=1 -e MI50_RTN_BITS=4 -e VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS=1800 -e HF_HUB_OFFLINE=1 -e TRANSFORMERS_OFFLINE=1 -e VLLM_GFX906_PACKED_QKVZ_CONV=1 -e MI50_RTN_TP=2 -e HIP_VISIBLE_DEVICES=0,1 -e PATH=/opt/venv/bin:/opt/rocm/bin:/opt/rocm/llvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -e ROCM_VERSION=7.2.1 -e AMDGPU_VERSION=not-installed -e PYTORCH_INDEX_URL=https://download.pytorch.org/whl/rocm7.2 -e TORCH_VERSION=2.11.0+rocm7.2 -e TORCHVISION_VERSION=0.26.0+rocm7.2 -e TORCHAUDIO_VERSION=2.11.0+rocm7.2 -e PYTORCH_TRITON_ROCM_VERSION=3.6.0 -e AMDSMI_VERSION=7.0.2 -e ROCM72_EXPERIMENT_SKIP_DPKG_LOCKS=1 -e VLLM_COMMIT=6a52668c14dc9cb94a270d94bfec735fe627ed0c -e VLLM_PACKAGE_VERSION=0.0.0+gfx906 -e VLLM_VERSION_OVERRIDE=0.0.0+gfx906 -e SOURCE_DATE_EPOCH=1764000000 -e VLLM_TARGET_DEVICE=rocm -e PYTORCH_ROCM_ARCH=gfx906 -e GPU_ARCHS=gfx906 -e AMDGPU_TARGETS=gfx906 -e CMAKE_HIP_ARCHITECTURES=gfx906 -e FLASH_ATTENTION_TRITON_AMD_ENABLE=TRUE -e FLASH_ATTENTION_TRITON_AMD_REF=TRUE -e LD_LIBRARY_PATH=/opt/gfx906:/rccl-overlay/install/lib:/opt/rocm/lib:/opt/rocm/lib64:/usr/local/lib: -e PYTHONPATH=/opt/qwen36-python -e PYTHONUNBUFFERED=1 -e PYTHONHASHSEED=0 -e PIP_NO_CACHE_DIR=1 -e PIP_NO_COMPILE=1 -e PIP_DISABLE_PIP_VERSION_CHECK=1 -e PYTHONDONTWRITEBYTECODE=1 -e LANG=C.UTF-8 -e LC_ALL=C.UTF-8 -e TZ=Etc/UTC -e VLLM_PATCH_BUNDLE=/opt/vllm_patch_bundle -e V756F105_CUSTOM_AR_LIBRARY=/opt/localaiservers/v756f105r3/lib/v756f105r3_custom_ar.so -e VLLM_GFX906_F105R3_M1_STAGED_AR=1 -e VLLM_GFX906_FORCE_PCIE_CUSTOM_AR=1 -e VLLM_GFX906_POSTED_GEMMA=1 -e MAX_JOBS=1 --mount type=bind,src=/home/ai/qwen38-release-retests-20261026/mi50-w4-tp2-mtp2-r2/cache/vllm,dst=/root/.cache/vllm --mount type=bind,src=/home/ai/qwen38-release-retests-20261026/mi50-w4-tp2-mtp2-r2/cache/.triton,dst=/root/.triton --mount type=bind,src=/usr/share/ollama/localaiservers-vnext/models/Qwen3.8-27B-1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0,dst=/opt/local-models/Qwen3.8-27B,readonly --mount type=bind,src=/home/ai/qwen38-release-retests-20261026/mi50-w4-tp2-mtp2-r2/cache/huggingface,dst=/root/.cache/huggingface --mount type=bind,src=/home/ai/qwen38-release-retests-20261026/mi50-w4-tp2-mtp2-r2,dst=/runwork --mount type=bind,src=/home/ai/qwen38-release-retests-20261026/mi50-w4-tp2-mtp2-r2/cache/torchinductor,dst=/tmp/torchinductor_root --entrypoint /opt/vnext/profile/container_entrypoint.sh sha256:b1a99e7c6968d27022bfb22ad547a38e6be2b8c760db2e708e2c3d695546cbe7
