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

Benchmarks: Add Feature - Add option to use fp32 instead of tf32 #213

Merged
merged 1 commit into from Sep 27, 2021

Conversation

guoshzhao
Copy link
Contributor

Description
Add option force_fp32 to use fp32 instead of tf32, only takes effect on Ampere or newer GPUs.

@guoshzhao guoshzhao added benchmarks SuperBench Benchmarks model-benchmarks Model Benchmark Test for SuperBench Benchmarks labels Sep 27, 2021
@guoshzhao guoshzhao requested a review from a team as a code owner September 27, 2021 07:42
@codecov
Copy link

codecov bot commented Sep 27, 2021

Codecov Report

Merging #213 (18ae97c) into main (dfbd70b) will decrease coverage by 0.00%.
The diff coverage is 87.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #213      +/-   ##
==========================================
- Coverage   88.72%   88.72%   -0.01%     
==========================================
  Files          58       58              
  Lines        2821     2829       +8     
==========================================
+ Hits         2503     2510       +7     
- Misses        318      319       +1     
Flag Coverage Δ
cpu-unit-test 74.46% <85.71%> (+0.02%) ⬆️
cuda-unit-test 88.65% <87.50%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...perbench/benchmarks/model_benchmarks/model_base.py 85.52% <80.00%> (-0.19%) ⬇️
...rbench/benchmarks/model_benchmarks/pytorch_base.py 75.53% <100.00%> (+0.80%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dfbd70b...18ae97c. Read the comment docs.

@cp5555 cp5555 mentioned this pull request Sep 27, 2021
@cp5555 cp5555 merged commit f944245 into main Sep 27, 2021
@cp5555 cp5555 deleted the guzhao/support_fp32 branch September 27, 2021 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmarks SuperBench Benchmarks model-benchmarks Model Benchmark Test for SuperBench Benchmarks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants