Spaces:
Runtime error
Runtime error
File size: 412 Bytes
f6e0440 | 1 2 3 4 5 6 7 8 9 10 11 12 | FROM vllm/vllm-openai-rocm:latest
WORKDIR /workspace/cuda_first_repo
COPY . /workspace/cuda_first_repo
RUN if [ -f requirements.txt ]; then pip install --no-cache-dir -r requirements.txt; fi
ENV HIP_VISIBLE_DEVICES=0
ENV PYTORCH_HIP_ALLOC_CONF=expandable_segments:True
CMD ["python", "-c", "import torch; print('torch', torch.__version__); print('rocm_gpu_available', torch.cuda.is_available())"]
|