-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated sl to be non-constexpr (#149)
## Summary <!--- This is a required section; please describe the main purpose of this proposed code change. ---> updated seqlen for rope to be non-constexpr <!--- ## Details This is an optional section; is there anything specific that reviewers should be aware of? ---> sl from constexpr to non-constexpr ## Testing Done <!--- This is a required section; please describe how this change was tested. ---> <!-- Replace BLANK with your device type. For example, A100-80G-PCIe Complete the following tasks before sending your PR, and replace `[ ]` with `[x]` to indicate you have done them. --> - Hardware Type: RTX 3090 - [x] run `make test` to ensure correctness - [x] run `make checkstyle` to ensure code style - [x] run `make test-convergence` to ensure convergence
- Loading branch information
1 parent
4a4e05c
commit c3c56e7
Showing
17 changed files
with
35 additions
and
35 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
benchmark/rope_memory/rope-full-memory-benchmark-seq-2048.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,4 +1,4 @@ | ||
total_hidden_size,Liger,Hugging Face | ||
512.0,13.5,22.5 | ||
2048.0,29.6,65.6 | ||
8192.0,94.1,238.1 | ||
512.000000,13.266113,22.266113 | ||
2048.000000,28.641113,64.641113 | ||
8192.000000,90.141113,234.141113 |
Binary file modified
BIN
-1.2 KB
(95%)
benchmark/rope_memory/rope-full-memory-benchmark-seq-2048.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions
10
benchmark/rope_memory/rope-full-memory-benchmark-total_dim_8192.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,6 +1,6 @@ | ||
seq_len,Liger,Hugging Face | ||
1024.0,53.1,125.1 | ||
2048.0,94.1,238.1 | ||
4096.0,176.2,464.2 | ||
8192.0,340.2,916.2 | ||
16384.0,668.3,1820.3 | ||
1024.000000,49.133301,121.133301 | ||
2048.000000,90.141113,234.141113 | ||
4096.000000,172.156738,460.156738 | ||
8192.000000,336.187988,912.187988 | ||
16384.000000,664.250488,1816.250488 |
Binary file modified
BIN
+3 Bytes
(100%)
benchmark/rope_memory/rope-full-memory-benchmark-total_dim_8192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions
6
benchmark/rope_speed/rope-backward-speed-benchmark-seq-2048.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,4 +1,4 @@ | ||
total_hidden_size,Liger,Hugging Face | ||
512.0,0.1,0.2 | ||
2048.0,0.2,0.2 | ||
8192.0,0.2,0.6 | ||
512.000000,0.050176,0.121824 | ||
2048.000000,0.048128,0.225280 | ||
8192.000000,0.101376,0.801792 |
Binary file modified
BIN
-3.67 KB
(88%)
benchmark/rope_speed/rope-backward-speed-benchmark-seq-2048.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions
10
benchmark/rope_speed/rope-backward-speed-benchmark-total_dim_8192.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,6 +1,6 @@ | ||
seq_len,Liger,Hugging Face | ||
1024.0,0.2,0.3 | ||
2048.0,0.1,0.6 | ||
4096.0,0.2,1.2 | ||
8192.0,0.2,2.3 | ||
16384.0,0.4,4.5 | ||
1024.000000,0.052224,0.416768 | ||
2048.000000,0.101376,0.801984 | ||
4096.000000,0.199680,1.553408 | ||
8192.000000,0.396288,3.057664 | ||
16384.000000,0.789504,6.062080 |
Binary file modified
BIN
+634 Bytes
(100%)
benchmark/rope_speed/rope-backward-speed-benchmark-total_dim_8192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions
6
benchmark/rope_speed/rope-forward-speed-benchmark-seq-2048.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,4 +1,4 @@ | ||
total_hidden_size,Liger,Hugging Face | ||
512.0,0.1,0.1 | ||
2048.0,0.1,0.2 | ||
8192.0,0.1,0.5 | ||
512.000000,0.010240,0.059392 | ||
2048.000000,0.028672,0.168016 | ||
8192.000000,0.101376,0.600064 |
Binary file modified
BIN
+1.73 KB
(110%)
benchmark/rope_speed/rope-forward-speed-benchmark-seq-2048.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions
10
benchmark/rope_speed/rope-forward-speed-benchmark-total_dim_8192.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,6 +1,6 @@ | ||
seq_len,Liger,Hugging Face | ||
1024.0,0.1,0.3 | ||
2048.0,0.1,0.5 | ||
4096.0,0.1,1.0 | ||
8192.0,0.2,1.9 | ||
16384.0,0.5,3.8 | ||
1024.000000,0.052224,0.311296 | ||
2048.000000,0.101376,0.600064 | ||
4096.000000,0.199680,1.244160 | ||
8192.000000,0.396288,2.484224 | ||
16384.000000,0.789504,4.975504 |
Binary file modified
BIN
-1.99 KB
(91%)
benchmark/rope_speed/rope-forward-speed-benchmark-total_dim_8192.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,4 +1,4 @@ | ||
total_hidden_size,Liger,Hugging Face | ||
512.0,0.3,0.4 | ||
2048.0,0.3,0.4 | ||
8192.0,0.3,1.1 | ||
512.000000,0.059328,0.784384 | ||
2048.000000,0.058880,0.784384 | ||
8192.000000,0.201728,1.404928 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions
10
benchmark/rope_speed/rope-full-speed-benchmark-total_dim_8192.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,6 +1,6 @@ | ||
seq_len,Liger,Hugging Face | ||
1024.0,0.6,0.6 | ||
2048.0,0.6,1.1 | ||
4096.0,0.6,2.2 | ||
8192.0,0.6,4.2 | ||
16384.0,0.9,8.3 | ||
1024.000000,0.103424,0.789504 | ||
2048.000000,0.201728,1.403904 | ||
4096.000000,0.398336,2.801520 | ||
8192.000000,0.791552,5.547008 | ||
16384.000000,1.577984,11.062272 |
Binary file modified
BIN
-960 Bytes
(96%)
benchmark/rope_speed/rope-full-speed-benchmark-total_dim_8192.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