Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

instruction for PyTorch is out of dated #2

Open
anovnn opened this issue Apr 29, 2019 · 8 comments
Open

instruction for PyTorch is out of dated #2

anovnn opened this issue Apr 29, 2019 · 8 comments

Comments

@anovnn
Copy link

anovnn commented Apr 29, 2019

No description provided.

@dsivkov
Copy link

dsivkov commented May 3, 2019

Same for me

Step #1 not working

Can't use VNNI

@wincent8
Copy link
Contributor

wincent8 commented May 7, 2019

No description provided.

can I know more details? which step is out of date?

@wincent8
Copy link
Contributor

wincent8 commented May 7, 2019

Same for me

Step #1 not working

Can't use VNNI

Use VNNI? Are you meeting issue when you follow the guide of pytorch?
Can you provide more details?

@dsivkov
Copy link

dsivkov commented May 11, 2019

git clone https://github.com/pytorch/pytorch.git
OK

git checkout 4ac91b2d64eeea5ca21083831db5950dc08441d6
ERROR
fatal: not a git repository (or any of the parent directories): .git
(probably cd pytorch missing)

git submodule update --init --recursive
OK

cd third_party/ideep
OK

git log
OK

git reset --hard 311346653b0daed97f9e9adf241e02cffa38e4c0
OK

cd ../..
OK

wget https://patch-diff.githubusercontent.com/raw/pytorch/pytorch/pull/17464.diff
OK

git apply 17464.diff
WARNING

python setup.py build
ERROR
(yaml typing numpy pyyaml mkl mkl-include setuptools cmake cffi are needed)
(errors with MKL_DEPRICATED)

@wincent8
Copy link
Contributor

thanks for your reply, dsivkov.
I tried the guide again, and it works fine.
I have noticed that in your comments, there are some errors found.

git checkout 4ac91b2d64eeea5ca21083831db5950dc08441d6
ERROR
fatal: not a git repository (or any of the parent directories): .git
(probably cd pytorch missing)

it should be you did not enter into the folder you git clone in the previous step.
the step is
git clone https://github.com/pytorch/pytorch.git
cd pytorch
git checkout 4ac91b2d64eeea5ca21083831db5950dc08441d6
...

Sorry to miss this step as I suppose it is a default operation after git clone.

@dsivkov
Copy link

dsivkov commented May 13, 2019

Most annoying is
python setup.py build
ERROR
(yaml typing numpy pyyaml mkl mkl-include setuptools cmake cffi are needed)
(errors with MKL_DEPRICATED)

build.log

@wincent8
Copy link
Contributor

suggest follow “BUILDING FROM SOURCE” in https://pytorch.org/get-started/locally/ to install pre-request libraries.
Prerequisites

  1. Install Anaconda
  2. Install optional dependencies:
    conda install numpy pyyaml mkl mkl-include setuptools cmake cffi typing

@dsivkov
Copy link

dsivkov commented May 13, 2019

I have pypi:
pip list | egrep -i 'numpy|pyyaml|mkl|mkl-include|setuptools|cmake|cffi|typing'
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
cffi (1.12.3)
cmake (3.13.3)
mkl (2019.0)
mkl-include (2019.0)
numpy (1.16.3)
PyYAML (5.1)
setuptools (41.0.1)
typing (3.6.6)
typing-extensions (3.7.2)

The issue looks like
pytorch/pytorch#18463

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants