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

PyPI Windows 0.2.1 Wheels are not CPU #129

Open
madhavajay opened this issue Jun 8, 2021 · 1 comment
Open

PyPI Windows 0.2.1 Wheels are not CPU #129

madhavajay opened this issue Jun 8, 2021 · 1 comment

Comments

@madhavajay
Copy link

Is it expected that the builds for 0.2.1 are GPU, where as the 0.2.0 ones are CPU on PyPI?

0.2.1 on PyPI broken:

PS C:\dev\SyMPC> pip install torchcsprng==0.2.1
PS C:\dev\SyMPC> python
Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torchcsprng
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\me\.virtualenvs\SyMPC-pSsChgge\lib\site-packages\torchcsprng\__init__.py", line 9, in <module>
    from torchcsprng._C import *
ImportError: DLL load failed while importing _C: The specified module could not be found.

0.2.0 on PyPI working:

PS C:\dev\SyMPC> pip install torchcsprng==0.2.0
PS C:\dev\SyMPC> python
Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torchcsprng

torchcsprng==0.2.1+cpu on torch repo Working:

PS C:\dev\SyMPC> pip install torchcsprng==0.2.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
Looking in links: https://download.pytorch.org/whl/torch_stable.html
Collecting torchcsprng==0.2.1+cpu
  Using cached https://download.pytorch.org/whl/cpu/torchcsprng-0.2.1%2Bcpu-cp37-cp37m-win_amd64.whl (167 kB)
Requirement already satisfied: torch==1.8.1 in c:\users\me\.virtualenvs\sympc-psschgge\lib\site-packages (from torchcsprng==0.2.1+cpu) (1.8.1)
Requirement already satisfied: typing-extensions in c:\users\me\.virtualenvs\sympc-psschgge\lib\site-packages (from torch==1.8.1->torchcsprng==0.2.1+cpu) (3.10.0.0)
Requirement already satisfied: numpy in c:\users\me\.virtualenvs\sympc-psschgge\lib\site-packages (from torch==1.8.1->torchcsprng==0.2.1+cpu) (1.20.3)
Installing collected packages: torchcsprng
Successfully installed torchcsprng-0.2.1+cpu
PS C:\dev\SyMPC> python
Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torchcsprng
@zhanggyarcher
Copy link

same issue, is there any solution? Thanks

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