Skip to content

Commit dcca135

Browse files
udaij12udaij12agunapal
authored
M1 conda binaries build support (#3013)
* testing m1 with binaries * testing m1 with binaries 2 * added conda setup * added python setup * added python setup * testing binaries * change order * add channels * changing conda setup * changing conda setup * changing conda setup 2 * changing conda setup 3 * testing new install * testing full tests * activating env * adding m1 binaries * adding regression test * changing tests back * testing nightly binary * code cleanup * adding conda for m1 * two exludes * two exludes --------- Co-authored-by: udaij12 <[email protected]> Co-authored-by: Ankith Gunapal <[email protected]>
1 parent 3694b11 commit dcca135

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/regression_tests_cpu_binaries.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,16 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
os: [ubuntu-20.04, macOS-latest]
19+
os: [ubuntu-20.04, macOS-latest, macos-14]
2020
python-version: ["3.8", "3.9", "3.10"]
2121
binaries: ["pypi", "conda"]
2222
exclude:
2323
- os: macos-latest
2424
python-version: 3.8
25+
- os: macos-14
26+
python-version: 3.8
27+
- os: macos-14
28+
python-version: 3.9
2529
steps:
2630
- uses: actions/checkout@v3
2731
with:
@@ -47,3 +51,4 @@ jobs:
4751
- name: Validate Torchserve CPU Regression
4852
run: |
4953
python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly
54+

binaries/conda/build_packages.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
PACKAGES = ["torchserve", "torch-model-archiver", "torch-workflow-archiver"]
2323

2424
# conda convert supported platforms https://docs.conda.io/projects/conda-build/en/stable/resources/commands/conda-convert.html
25-
PLATFORMS = ["linux-64", "osx-64", "win-64"] # Add a new platform here
25+
PLATFORMS = ["linux-64", "osx-64", "win-64", "osx-arm64"] # Add a new platform here
2626

2727
if os.name == "nt":
2828
# Assumes miniconda is installed in windows

0 commit comments

Comments
 (0)