@@ -76,6 +76,49 @@ steps:
7676 env :
7777 DOCKER_BUILDKIT : " 1"
7878
79+ - label : " Build wheel - macOS arm64 - CPU"
80+ depends_on : ~
81+ id : build-wheel-macos-arm64-cpu
82+ agents :
83+ queue : macmini
84+ timeout_in_minutes : 90
85+ commands :
86+ - " bash .buildkite/scripts/build-macos-wheel.sh"
87+ - " mkdir -p artifacts/transfer"
88+ - " basename artifacts/dist/*.whl > artifacts/transfer/wheel.name"
89+ - " shasum -a 256 artifacts/dist/*.whl > artifacts/transfer/wheel.sha256"
90+ - " split -b 1m artifacts/dist/*.whl artifacts/transfer/wheel.part."
91+ env :
92+ BUILDKITE_ARTIFACT_UPLOAD_CONCURRENCY : " 1"
93+ BUILDKITE_NO_HTTP2 : " true"
94+ artifact_paths :
95+ - " artifacts/transfer/*"
96+
97+ - label : " Upload wheel - macOS arm64 - CPU"
98+ depends_on : build-wheel-macos-arm64-cpu
99+ id : upload-wheel-macos-arm64-cpu
100+ agents :
101+ queue : small_cpu_queue_release
102+ timeout_in_minutes : 15
103+ commands :
104+ - ' buildkite-agent artifact download "artifacts/transfer/*" .'
105+ - " mkdir -p artifacts/dist artifacts/reassembled"
106+ - ' wheel_name=$$(cat artifacts/transfer/wheel.name)'
107+ - ' [[ "$$wheel_name" =~ ^[A-Za-z0-9][A-Za-z0-9._+-]*\.whl$$ && "$$wheel_name" != *..* ]]'
108+ - ' expected_sha=$$(awk '' {print $$1}'' artifacts/transfer/wheel.sha256)'
109+ - ' [[ "$$expected_sha" =~ ^[0-9a-f]{64}$$ ]]'
110+ - ' cat artifacts/transfer/wheel.part.* > artifacts/reassembled/wheel'
111+ - ' actual_sha=$$(shasum -a 256 artifacts/reassembled/wheel | awk '' {print $$1}'' )'
112+ - ' [[ "$$actual_sha" == "$$expected_sha" ]]'
113+ - ' mv artifacts/reassembled/wheel "artifacts/dist/$$wheel_name"'
114+ - " aws sts get-caller-identity"
115+ - " VLLM_WHEEL_PLATFORM=macos bash .buildkite/scripts/upload-nightly-wheels.sh"
116+ - ' bash .buildkite/scripts/annotate-build-artifact.sh "$$BUILDKITE_LABEL" "s3://vllm-wheels/$$BUILDKITE_COMMIT/$(cd artifacts/dist && echo *.whl)"'
117+ plugins :
118+ - aws-assume-role-with-web-identity#v1.6.0:
119+ role-arn : arn:aws:iam::936637512419:role/vllm-release-macos-wheel-uploader
120+ region : us-west-2
121+
79122 - label : " Build wheel - x86_64 - CUDA 12.9"
80123 depends_on : ~
81124 id : build-wheel-x86-cuda-12-9
0 commit comments