Copy config files for MI300X to support in virtualized environments #3505
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Add support for MI300X in virtual environments in ROCm container images. See discussion in #3219.
Modifications
Add RUN command in Dockerfile.rocm to find all config files for MI300X and copy them to the same directory only changing the string in the file name from "MI300X" to "MI300X_VF" to support devices in virtualized environments.
Checklist
Benchmark on 8 virtualized MI300Xs
Invoked with
python -m sglang.bench_one_batch --model deepseek-ai/DeepSeek-R1 --tp 8 --batch 32 --input-len 256 --output-len 32 --trust-remote-code
in container built from Dockerfile.rocm.Before:
After: