diff --git a/docker/Dockerfile b/docker/Dockerfile index 8d6cea6..9856cae 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -311,6 +311,8 @@ RUN set -ex && \ --index-url ${TORCH_INDEX} && \ cd /opt/vllm && \ sed -i 's/license = "Apache-2.0"/license = {text = "Apache-2.0"}/' pyproject.toml && \ + # mineru[core] 把 setuptools 降级了,需要升回去 + ${VENV}/bin/pip install -U "setuptools>=77.0.3" setuptools_scm setuptools_rust wheel && \ ${VENV}/bin/pip install -e . --no-build-isolation --no-deps && \ ${VENV}/bin/python -c "import triton.language; print('triton OK')" && \ ${VENV}/bin/python -c "import torch; v=torch.__version__; assert 'rocm' in v, f'PyTorch overwritten: {v}'; print('PyTorch OK:', v)" && \