Logo
Porting TensorFlow 2 Models Quick Start
Version: latest
  • 1. Import the TensorFlow IPU module
  • 2. IPU Config
  • 3. Model
    • 3.1. Single IPU models
      • 3.1.1. Specify IPU strategy
      • 3.1.2. Wrap the model within the IPU strategy scope
    • 3.2. Model parallelism
      • 3.2.1. Sequential model
      • 3.2.2. Functional model
        • Pipelining a model you are writing
        • Pipelining an existing functional model
  • 4. Training process
    • 4.1. Using model.fit
    • 4.2. Customized training loop
      • 4.2.1. Training loops, data sets and feed queues
      • 4.2.2. Accessing outfeed queue results during execution
  • 5. Optimization
    • 5.1. Memory optimization
      • 5.1.1. IPU specific/optimized layers
      • 5.1.2. Reduce available_memory_proportion
      • 5.1.3. Enable Replicated Tensor Sharding
      • 5.1.4. Variable Offloading
      • 5.1.5. Recomputation
    • 5.2. Throughput
      • 5.2.1. Using steps_per_execution
      • 5.2.2. Replication
      • 5.2.3. Increase the gradient accumulation count
  • 6. Trademarks & copyright
Porting TensorFlow 2 Models 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


Revision a9dbcff6.