You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

installation.rst 525 B

12345678910111213141516171819202122232425262728293031
  1. ============
  2. Installation
  3. ============
  4. .. contents::
  5. :local:
  6. Cloning From GitHub
  7. ~~~~~~~~~~~~~~~~~~~
  8. If you just want to use fastNLP, use:
  9. .. code:: shell
  10. git clone https://github.com/fastnlp/fastNLP
  11. cd fastNLP
  12. PyTorch Installation
  13. ~~~~~~~~~~~~~~~~~~~~
  14. Visit the [PyTorch official website] for installation instructions based
  15. on your system. In general, you could use:
  16. .. code:: shell
  17. # using conda
  18. conda install pytorch torchvision -c pytorch
  19. # or using pip
  20. pip3 install torch torchvision