Commit ef70738
authored
Fix for invalid sharding and add self-contained example for Llama3 model from TorchTitan (#22)
* Add Llama3 example
This is a self-contained copy-paste from TorchTitan that works
* Cleanup
* Fix license
* Remove invalid configurations that would yield empty shapes
* Cleanup1 parent 1306427 commit ef70738
2 files changed
+661
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
122 | 141 | | |
123 | 142 | | |
124 | 143 | | |
| |||
0 commit comments