You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 7, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 7, 2023. It is now read-only.
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
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.
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)
Activity
dsivkov commentedon May 3, 2019
Same for me
Step #1 not working
Can't use VNNI
wincent8 commentedon May 7, 2019
can I know more details? which step is out of date?
wincent8 commentedon May 7, 2019
Use VNNI? Are you meeting issue when you follow the guide of pytorch?
Can you provide more details?
dsivkov commentedon 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 commentedon May 13, 2019
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 commentedon 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 commentedon May 13, 2019
suggest follow “BUILDING FROM SOURCE” in https://pytorch.org/get-started/locally/ to install pre-request libraries.
Prerequisites
conda install numpy pyyaml mkl mkl-include setuptools cmake cffi typing
dsivkov commentedon 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