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

instruction for PyTorch is out of dated  #2

Open

Description

@anovnn
No description provided.

Activity

  1. dsivkov commented on May 3, 2019

    @dsivkov

    Same for me

    Step #1 not working

    Can't use VNNI

  2. wincent8 commented on May 7, 2019

    @wincent8
    Contributor

    No description provided.

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

  3. wincent8 commented on May 7, 2019

    @wincent8
    Contributor

    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?

  4. dsivkov commented on May 11, 2019

    @dsivkov

    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)

  5. wincent8 commented on May 13, 2019

    @wincent8
    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.

  6. dsivkov commented on May 13, 2019

    @dsivkov

    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

  7. wincent8 commented on May 13, 2019

    @wincent8
    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
  8. dsivkov commented on May 13, 2019

    @dsivkov

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions