Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions buildkite/pipeline_generator/buildkite_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ def get_agent_queue(step: Step):
return AgentQueue.DGX_SPARK
elif step.num_devices == 2 or step.num_devices == 4:
return AgentQueue.GPU_4
elif step.device == DeviceType.AMD_ZEN5_CPU:
return AgentQueue.AMD_ZEN5_CPU
else:
return AgentQueue.GPU_1

Expand Down
2 changes: 2 additions & 0 deletions buildkite/pipeline_generator/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class DeviceType(str, Enum):
AMD_MI355_4 = "mi355_4"
AMD_MI355_8 = "mi355_8"
DGX_SPARK = "dgx-spark"
AMD_ZEN5_CPU = "zen5"


class AgentQueue(str, Enum):
Expand Down Expand Up @@ -77,3 +78,4 @@ class AgentQueue(str, Enum):
AMD_MI355_8 = "amd_mi355_8"
DGX_SPARK = "dgx-spark"
REDHAT_H100_FRANKFURT = "RedHat-H100-Frankfurt"
AMD_ZEN5_CPU = "amd-zen5-cpu"
19 changes: 19 additions & 0 deletions buildkite/pipeline_generator/plugin/docker_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,23 @@
],
}

amd_zen5_plugin_template = {
"image": "",
"always-pull": True,
"propagate-environment": True,
"environment": [
"VLLM_USAGE_SOURCE=ci-test",
"NCCL_CUMEM_HOST_ENABLE=0",
"HF_HOME",
"HF_TOKEN",
"CODECOV_TOKEN",
"BUILDKITE_ANALYTICS_TOKEN",
],
"volumes": [
"/dev/shm:/dev/shm",
"/mnt/ci-cache:/mnt/ci-cache",
],
}

def get_docker_plugin(step: Step, image: str):
plugin = None
Expand All @@ -89,6 +106,8 @@ def get_docker_plugin(step: Step, image: str):
plugin = copy.deepcopy(h200_plugin_template)
elif step.device == DeviceType.B200:
plugin = copy.deepcopy(b200_plugin_template)
elif step.device == DeviceType.AMD_ZEN5_CPU:
plugin = copy.deepcopy(amd_zen5_plugin_template)
else:
plugin = copy.deepcopy(docker_plugin_template)
plugin["image"] = image
Expand Down