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

Mac OSX Tests for torch==1.9.1 fail when installing dependencies #958

Open
nickfraser opened this issue May 23, 2024 · 3 comments
Open

Mac OSX Tests for torch==1.9.1 fail when installing dependencies #958

nickfraser opened this issue May 23, 2024 · 3 comments

Comments

@nickfraser
Copy link
Collaborator

nickfraser commented May 23, 2024

Noticed in tests for #956, when OS=macosx-latest & torch==1.9.1, pip fails find the necessary dependencies (specifically, torch==1.9.1). It is particularly weird because manually searching pypi.org shows that this build does indeed exist. Specifically, I believe that torch-1.9.1-cp38-none-macosx_10_9_x86_64.whl should get installed.
Even more weird, 1.9.0 is suggested as an installation candidate, despite not listing any extra builds.

Not sure if there is some temporary bug with Pypi (in which case, this might resolve itself). Or if this build has been yanked somehow (they don't appear to be!) Alternatively, we could remove this from the test list for Mac OSX, or move back to torch==1.9.0.

Example test output:

nox > Command python -m pip install torch==1.9.1 failed with exit code 1:
ERROR: Could not find a version that satisfies the requirement torch==1.9.1 (from versions: 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2, 2.3.0)
ERROR: No matching distribution found for torch==1.9.1
nox > Session tests_brevitas_cpu-3.8(jit_disabled, pytorch_1.9.1) failed.
@Giuseppe5
Copy link
Collaborator

Related to #906

@nickfraser
Copy link
Collaborator Author

In fact, a duplicate!

@nickfraser
Copy link
Collaborator Author

nickfraser commented May 23, 2024

Alternatively, we can move the tests to python=3.9, python=3.10, since python=3.8 is reaching EOL soon.

It seems this won't help.

@nickfraser nickfraser changed the title Mac OSX Tests for python=3.8 & torch==1.9.1 fail when installing dependencies Mac OSX Tests for torch==1.9.1 fail when installing dependencies May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants