Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test example scripts in ci #40

Merged
merged 8 commits into from
Dec 18, 2023
Merged

test example scripts in ci #40

merged 8 commits into from
Dec 18, 2023

Conversation

edknv
Copy link
Contributor

@edknv edknv commented Dec 18, 2023

Note: Currently, each partition is processed in the Tokenizer the entire partition each time, so this leads to memory errors if the partition is large. We probably need to implement a loader so we can batch the text inputs in Tokenizer.

Copy link

Benchmark comparison for 05accee (main) vs 4cfd24a0 (PR)


--------------------------------------------------------------------------------------------- benchmark: 2 tests --------------------------------------------------------------------------------------------
Name (time in s)                                  Min                 Max               Mean            StdDev             Median               IQR            Outliers     OPS            Rounds  Iterations
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_fiqa_all_MiniLM_L6_v2 (0001_main)        95.0413 (1.0)      101.0205 (1.01)     98.2786 (1.0)      2.3209 (3.67)     98.3275 (1.0)      3.4636 (5.92)          2;0  0.0102 (1.0)           5           1
test_fiqa_all_MiniLM_L6_v2 (0002_4cfd24a)     98.6438 (1.04)     100.3055 (1.0)      99.7141 (1.01)     0.6332 (1.0)      99.8083 (1.02)     0.5852 (1.0)           1;0  0.0100 (0.99)          5           1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Legend:
  Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile.
  OPS: Operations Per Second, computed as 1 / Mean

Copy link

Benchmark comparison for 05accee (main) vs 838c7017 (PR)


---------------------------------------------------------------------------------------------- benchmark: 2 tests ---------------------------------------------------------------------------------------------
Name (time in s)                                  Min                 Max                Mean            StdDev              Median               IQR            Outliers     OPS            Rounds  Iterations
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_fiqa_all_MiniLM_L6_v2 (0001_main)        96.7071 (1.0)       99.7920 (1.0)       98.7337 (1.0)      1.3241 (2.01)      99.3154 (1.0)      2.0141 (1.72)          1;0  0.0101 (1.0)           5           1
test_fiqa_all_MiniLM_L6_v2 (0002_838c701)     99.7444 (1.03)     101.2553 (1.01)     100.4115 (1.02)     0.6588 (1.0)      100.4380 (1.01)     1.1700 (1.0)           2;0  0.0100 (0.98)          5           1
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Legend:
  Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile.
  OPS: Operations Per Second, computed as 1 / Mean

@edknv
Copy link
Contributor Author

edknv commented Dec 18, 2023

Note: Currently, each partition is processed in the Tokenizer the entire partition each time, so this leads to memory errors if the partition is large. We probably need to implement a loader so we can batch the text inputs in Tokenizer.

@edknv edknv marked this pull request as ready for review December 18, 2023 16:35
@edknv edknv merged commit 2a7eefe into rapidsai:main Dec 18, 2023
10 checks passed
@edknv edknv deleted the test-scripts branch December 18, 2023 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant