Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
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: 1 addition & 1 deletion .ci/orka/orka-macos-13-arm.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ locals {

source "macstadium-orka" "image" {
source_image = "generic-13-ventura-arm-002.orkasi"
image_name = "ml-macos-13-arm-001.orkasi"
image_name = "ml-macos-13-arm-002.orkasi"
orka_endpoint = local.orka_endpoint
orka_user = local.orka_user
orka_password = local.orka_password
Expand Down
4 changes: 2 additions & 2 deletions .ci/orka/third_party_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ sudo rm -rf boost_1_83_0
sudo pip3 install numpy ninja pyyaml setuptools cffi typing_extensions future six requests dataclasses

# Build and install PyTorch
git clone --depth=1 --branch=v2.3.1 https://github.com/pytorch/pytorch.git && \
git clone --depth=1 --branch=v2.5.0 https://github.com/pytorch/pytorch.git && \
cd pytorch && \
git submodule sync && \
git submodule update --init --recursive && \
Expand All @@ -60,7 +60,7 @@ export DNNL_TARGET_ARCH=AARCH64
export USE_MKLDNN=ON
export USE_QNNPACK=OFF
export USE_PYTORCH_QNNPACK=OFF
export PYTORCH_BUILD_VERSION=2.3.1
export PYTORCH_BUILD_VERSION=2.5.0
export PYTORCH_BUILD_NUMBER=1
python3 setup.py install

Expand Down
9 changes: 4 additions & 5 deletions build-setup/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Download the graphical installer for Python 3.10.10 from <https://www.python.org

Install using all the default options. When the installer completes a Finder window pops up. Double click the `Install Certificates.command` file in this folder to install the SSL certificates Python needs.

### PyTorch 2.3.1
### PyTorch 2.5.0

PyTorch requires that certain Python modules are installed. To install them:

Expand All @@ -144,7 +144,7 @@ sudo /Library/Frameworks/Python.framework/Versions/3.10/bin/pip3.10 install nump
Then obtain the PyTorch code:

```
git clone --depth=1 --branch=v2.3.1 https://github.com/pytorch/pytorch.git
git clone --depth=1 --branch=v2.5.0 https://github.com/pytorch/pytorch.git
cd pytorch
git submodule sync
git submodule update --init --recursive
Expand Down Expand Up @@ -184,12 +184,11 @@ export BUILD_TEST=OFF
export BUILD_CAFFE2=OFF
export USE_NUMPY=OFF
export USE_DISTRIBUTED=OFF
[ $(uname -m) != x86_64 ] && export DNNL_TARGET_ARCH=AARCH64
export DNNL_TARGET_ARCH=AARCH64
export USE_MKLDNN=ON
export USE_QNNPACK=OFF
export USE_PYTORCH_QNNPACK=OFF
[ $(uname -m) = x86_64 ] && export USE_XNNPACK=OFF
export PYTORCH_BUILD_VERSION=2.3.1
export PYTORCH_BUILD_VERSION=2.5.0
export PYTORCH_BUILD_NUMBER=1
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 setup.py install
```
Expand Down
2 changes: 1 addition & 1 deletion docs/CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

=== Enhancements

* Update the PyTorch library to version 2.5.0. (See {ml-pull}2783[#2783].)
* Update the PyTorch library to version 2.5.0. (See {ml-pull}2783[#2783], {ml-pull}2778[#2778].)
* Upgrade Boost libraries to version 1.86. (See {ml-pull}2780[#2780].)

== {es} version 8.16.0
Expand Down