Windows version is not working #83
Labels
Priority: 3 - Medium 😒
Should be fixed soon, but there may be other pressing matters that come first
Status: Blocked ✖️
Cannot work on this because of some other incomplete work
Type: Bug 🐛
Some functionality not working in the codebase as intended
Description
PyVertical is currently experiencing issues with the Windows version.
Syft version 0.2.*
requiresPyTorch version 1.4.0
andTorchvision version 0.5.0
. However,PyTorch version 1.4.0
gives anImportError: DLL load failed: The operating system cannot run %1.
. This bug is known on the PyTorch community (https://pytorch.org/docs/stable/notes/windows.html) with clarification:This is actually an upstream issue of Anaconda. When you initialize your environment with conda-forge channel, this issue will emerge. You may fix the intel-openmp libraries through this command.
conda install -c defaults intel-openmp -f
The command above does not solve the issue at least for me.
An update to
PyTorch version 1.6.0
(conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=9.2 -c pytorch
) seems to solve this issue even ifSyft version 0.2.9
is not supported.This is probably a bug that will be solved on updating
Syft version to 0.3
andPyTorch version to 1.6 or 1.7
.Blocked by
Syft version 0.2.*
andPyTorch version 1.4.0
.How to Reproduce
conda env create -f environment.yml
).conda activate pyvertical-dev
).conda install notebook
) (If you will not do that,jupyter notebook
will still be activated but it will useBase
environment instead ofpyvertical-dev
, and you will get an errorModuleNotFoundError: No module named 'torch'
.)import torch
)ImportError: DLL load failed: The operating system cannot run %1.
.Expected Behavior
Import PyTorch without any issue.
System Information
Python 3.8
]conda-forge
,pytorch
]The text was updated successfully, but these errors were encountered: