-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unwanted scale/bias while testing and simplify _test_memory funct…
…ion (#50) ## Summary <!--- This is a required section; please describe the main purpose of this proposed code change. ---> Fix unwanted scale/bias while testing and simplify _test_memory function <!--- ## Details This is an optional section; is there anything specific that reviewers should be aware of? ---> ## Testing Done <!--- This is a required section; please describe how this change was tested. ---> <!-- Complete the following tasks before sending your PR, and replace `[ ]` with `[x]` to indicate you have done them. --> - [x] run `make test` to ensure correctness - [x] run `make checkstyle` to ensure code style - [x] run `make test-convergence` to ensure convergence --------- Co-authored-by: shisahni <[email protected]>
- Loading branch information
Showing
12 changed files
with
22 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-231 Bytes
(99%)
benchmark/cross_entropy_speed/cross-entropy-full-speed-benchmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+646 Bytes
(100%)
benchmark/cross_entropy_speed/cross-entropy-fwd-speed-benchmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions
12
benchmark/rms_norm_memory/rmsnorm-full-memory-benchmark.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
N,Liger,Hugging Face | ||
1024.0,32.0,79.6 | ||
2048.0,64.0,159.2 | ||
4096.0,128.1,318.5 | ||
8192.0,236.1,636.9 | ||
16384.0,368.2,1273.8 | ||
32768.0,624.4,2547.6 | ||
1024.0,32.0,87.6 | ||
2048.0,64.0,175.2 | ||
4096.0,128.1,350.5 | ||
8192.0,236.1,700.9 | ||
16384.0,368.2,1401.8 | ||
32768.0,624.4,2803.6 |
Binary file modified
BIN
+200 Bytes
(100%)
benchmark/rms_norm_memory/rmsnorm-full-memory-benchmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
N,Liger,Hugging Face | ||
1024.0,0.2,0.2 | ||
2048.0,0.1,0.4 | ||
2048.0,0.2,0.4 | ||
4096.0,0.2,0.7 | ||
8192.0,0.2,1.4 | ||
16384.0,0.3,2.6 | ||
32768.0,1.0,5.0 | ||
32768.0,1.0,5.1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
N,Liger,Hugging Face | ||
1024.0,0.3,0.3 | ||
2048.0,0.3,0.5 | ||
4096.0,0.4,1.0 | ||
8192.0,0.3,1.9 | ||
16384.0,0.4,3.6 | ||
32768.0,1.2,6.9 | ||
1024.0,0.5,0.3 | ||
2048.0,0.5,0.5 | ||
4096.0,0.5,1.0 | ||
8192.0,0.5,1.9 | ||
16384.0,0.5,3.6 | ||
32768.0,1.2,7.0 |
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters