Skip to content

Commit

Permalink
Construct & render the full gpt layout
Browse files Browse the repository at this point in the history
  • Loading branch information
bbycroft committed Feb 25, 2023
1 parent a86dec2 commit b874be7
Show file tree
Hide file tree
Showing 7 changed files with 328 additions and 68 deletions.
Binary file added progress/progress-20230225-full-model-layout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/GptModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export function createAttnLayer(layerBuilder: ILayerBuilder, prefix: string, inp
m = max(m, p);
}
// Pass 2 finds the sum (shifted by max)
// Pass 2 finds the exp sum (shifted by max)
float a = 0.0;
for (int i = 0; i <= tIdxY; i++) {
float p = texelFetch(attnMatrix, ivec2(i, pos.y), 0).r;
Expand Down
Loading

0 comments on commit b874be7

Please sign in to comment.