Skip to content

Commit

Permalink
Introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
simveit committed Mar 29, 2024
1 parent 1cd617d commit 25d8caf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _posts/2024-29-03-multi-chip-performance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Multi chip performance in JAX

The larger the models we use get the more it becomes necessary to be able to perform training of machine learning models over multiple chips.
In this blog post we will explain how to efficently use Googles TPU. TPUs are especially convenient as they are designed especially for machine learning and easily deployable on Google cloud. For an introduction on how to deploy your own TPU with Google cloud [see this excellent documentation](https://github.com/ayaka14732/tpu-starter?tab=readme-ov-file#2-introduction-to-tpu).

In this tutorial we will take a simple layerwise matrix multiplication of activations with weights as our running example. The workload may be visualized like this:

![Layer-wise Matrix Multiplication](assets/LayerMatMul.png)
Binary file added assets/images/LayerMatMul.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 25d8caf

Please sign in to comment.