Skip to content

Commit 7334e45

Browse files
authored
Merge branch 'master' into lonnie-251020-bisectmacos
2 parents 13da13a + 6d51184 commit 7334e45

File tree

21 files changed

+1271
-68
lines changed

21 files changed

+1271
-68
lines changed

.buildkite/release-automation/verify-macos-wheels.sh

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,13 @@ set -x
1010
PYTHON_VERSIONS=("3.9" "3.10" "3.11" "3.12")
1111
BAZELISK_VERSION="v1.16.0"
1212

13-
# Check arguments
14-
if [[ $# -ne 1 ]]; then
15-
echo "Missing argument to specify machine architecture." >/dev/stderr
16-
echo "Use: x86_64 or arm64" >/dev/stderr
17-
exit 1
18-
fi
19-
20-
MAC_ARCH="$1" # First argument is the architecture of the machine, e.g. x86_64, arm64
2113
export USE_BAZEL_VERSION="${USE_BAZEL_VERSION:-6.5.0}"
2214

2315
# Sets RAY_VERSION and RAY_COMMIT
2416
source .buildkite/release-automation/set-ray-version.sh
2517

2618
install_bazel() {
27-
if [[ "${MAC_ARCH}" == "arm64" ]]; then
28-
URL="https://github.com/bazelbuild/bazelisk/releases/download/${BAZELISK_VERSION}/bazelisk-darwin-arm64"
29-
elif [[ "${MAC_ARCH}" == "x86_64" ]]; then
30-
URL="https://github.com/bazelbuild/bazelisk/releases/download/${BAZELISK_VERSION}/bazelisk-darwin-amd64"
31-
else
32-
echo "Could not find matching bazelisk URL for Mac ${MAC_ARCH}" >/dev/stderr
33-
exit 1
34-
fi
19+
URL="https://github.com/bazelbuild/bazelisk/releases/download/${BAZELISK_VERSION}/bazelisk-darwin-arm64"
3520

3621
TARGET="$TMP_DIR/bin/bazel"
3722
curl -sfL -R -o "${TARGET}" "${URL}"
@@ -41,7 +26,7 @@ install_bazel() {
4126
install_miniforge() {
4227
# Install miniforge3 based on the architecture used
4328
mkdir -p "$TMP_DIR/miniforge3"
44-
curl -sfL https://github.com/conda-forge/miniforge/releases/download/25.3.0-1/Miniforge3-25.3.0-1-MacOSX-"$MAC_ARCH".sh -o "$TMP_DIR/miniforge3/miniforge.sh"
29+
curl -sfL https://github.com/conda-forge/miniforge/releases/download/25.3.0-1/Miniforge3-25.3.0-1-MacOSX-arm64.sh -o "$TMP_DIR/miniforge3/miniforge.sh"
4530
bash "$TMP_DIR/miniforge3/miniforge.sh" -b -u -p "$TMP_DIR/miniforge3"
4631
rm -rf "$TMP_DIR/miniforge3/miniforge.sh"
4732

.buildkite/release-automation/wheels.rayci.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,14 @@ steps:
6868
key: block-validate-macos-wheels
6969
depends_on: []
7070

71-
- label: "MacOS x86_64"
72-
key: validate-macos-x86_64-wheels
73-
depends_on:
74-
- block-validate-macos-wheels
75-
job_env: MACOS
76-
instance_type: macos
77-
commands:
78-
- ./.buildkite/release-automation/verify-macos-wheels.sh x86_64
79-
8071
- label: "MacOS arm64"
8172
key: validate-macos-arm64-wheels
8273
depends_on:
8374
- block-validate-macos-wheels
8475
job_env: MACOS
8576
instance_type: macos-arm64
8677
commands:
87-
- ./.buildkite/release-automation/verify-macos-wheels.sh arm64
78+
- bash .buildkite/release-automation/verify-macos-wheels.sh
8879

8980
- block: "Upload wheels to PyPI"
9081
key: block-upload-wheels-pypi

doc/source/ray-overview/examples/e2e-multimodal-ai-workloads/notebooks/01-Batch-Inference.ipynb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,7 @@
320320
"outputs": [],
321321
"source": [
322322
"# Add class.\n",
323-
"ds = ds.map(add_class,\n",
324-
" num_cpus=1,\n",
325-
" num_gpus=0,\n",
326-
" compute=ray.data.TaskPoolStrategy(size=4))\n"
323+
"ds = ds.map(add_class)\n"
327324
]
328325
},
329326
{

0 commit comments

Comments
 (0)