Logo
PyTorch Quick Start
latest
  • 1. Overview
    • 1.1. IPU systems
  • 2. Quick start for experts
    • 2.1. Enable the Poplar SDK
    • 2.2. Create and enable a Python virtual environment
    • 2.3. Install the PopTorch wheel and validate
    • 2.4. Clone the Graphcore examples
    • 2.5. Run the application
    • 2.6. Exit the virtual environment
  • 3. Quick start for beginners
    • 3.1. Enable the Poplar SDK
    • 3.2. Create and enable a Python virtual environment
    • 3.3. Install the PopTorch wheel and validate
    • 3.4. Clone the Graphcore examples
    • 3.5. Define environment variable
    • 3.6. Run the application
    • 3.7. Exit the virtual environment
    • 3.8. Try out other applications
  • 4. Next steps
    • 4.1. Documentation
    • 4.2. Running applications in Docker
    • 4.3. Tutorials, examples and applications
    • 4.4. Other support
  • 5. Trademarks & copyright

Appendixes

  • A. Install examples and tutorials for older Poplar SDK versions
    • A.1. Clone the Graphcore tutorials
    • A.2. Clone the Graphcore examples
PyTorch Quick Start

Search help

Note: Searching from the top-level index page will search all documents. Searching from a specific document will search only that document.

  • Find an exact phrase: Wrap your search phrase in "" (double quotes) to only get results where the phrase is exactly matched. For example "PyTorch for the IPU" or "replicated tensor sharding"
  • Prefix query: Add an * (asterisk) at the end of any word to indicate a prefix query. This will return results containing all words with the specific prefix. For example tensor*
  • Fuzzy search: Use ~N (tilde followed by a number) at the end of any word for a fuzzy search. This will return results that are similar to the search word. N specifies the “edit distance” (fuzziness) of the match. For example Polibs~1
  • Words close to each other: ~N (tilde followed by a number) after a phrase (in quotes) returns results where the words are close to each other. N is the maximum number of positions allowed between matching words. For example "ipu version"~2
  • Logical operators. You can use the following logical operators in a search:
    • + signifies AND operation
    • | signifies OR operation
    • - negates a single word or phrase (returns results without that word or phrase)
    • () controls operator precedence

PyTorch Quick Start

This Quick Start guide describes how to set up PyTorch to run a simple application from the Graphcore examples repository on the IPU.

  • 1. Overview
    • 1.1. IPU systems
  • 2. Quick start for experts
    • 2.1. Enable the Poplar SDK
    • 2.2. Create and enable a Python virtual environment
    • 2.3. Install the PopTorch wheel and validate
    • 2.4. Clone the Graphcore examples
    • 2.5. Run the application
    • 2.6. Exit the virtual environment
  • 3. Quick start for beginners
    • 3.1. Enable the Poplar SDK
    • 3.2. Create and enable a Python virtual environment
    • 3.3. Install the PopTorch wheel and validate
    • 3.4. Clone the Graphcore examples
    • 3.5. Define environment variable
    • 3.6. Run the application
    • 3.7. Exit the virtual environment
    • 3.8. Try out other applications
  • 4. Next steps
    • 4.1. Documentation
    • 4.2. Running applications in Docker
    • 4.3. Tutorials, examples and applications
    • 4.4. Other support
  • 5. Trademarks & copyright

Appendixes

  • A. Install examples and tutorials for older Poplar SDK versions
    • A.1. Clone the Graphcore tutorials
    • A.2. Clone the Graphcore examples
Next

Revision a6551e6e.