Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M1 conda binaries build support #3013

Merged
merged 26 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from 22 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
5 changes: 4 additions & 1 deletion .github/workflows/regression_tests_cpu_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macOS-latest]
os: [ubuntu-20.04, macOS-latest, macos-14]
python-version: ["3.8", "3.9", "3.10"]
binaries: ["pypi", "conda"]
exclude:
- os: macos-latest
python-version: 3.8
- os: macos-14
python-version: 3.8, 3.9
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please split these..Doesn't seem like this works

steps:
- uses: actions/checkout@v3
with:
Expand All @@ -47,3 +49,4 @@ jobs:
- name: Validate Torchserve CPU Regression
run: |
python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly

2 changes: 1 addition & 1 deletion binaries/conda/build_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
PACKAGES = ["torchserve", "torch-model-archiver", "torch-workflow-archiver"]

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

if os.name == "nt":
# Assumes miniconda is installed in windows
Expand Down
Loading