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

Perf/transaction #2521

Merged
merged 14 commits into from
Nov 21, 2024
Merged

Perf/transaction #2521

merged 14 commits into from
Nov 21, 2024

Conversation

nathanielsimard
Copy link
Member

Transactions provide a mechanism to batch multiple sync operations into a single execution. This approach enhances performance by minimizing overhead and optimizing laziness. Similar to transactions in databases, operations within a transaction are executed together, ensuring that all requested tensor syncs are processed in a unified and efficient manner.

Copy link

codecov bot commented Nov 21, 2024

Codecov Report

Attention: Patch coverage is 7.80142% with 260 lines in your changes missing coverage. Please review.

Project coverage is 82.69%. Comparing base (d1398d6) to head (eb9ccdb).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/burn-jit/src/ops/transaction.rs 0.00% 74 Missing ⚠️
crates/burn-tensor/src/tensor/api/transaction.rs 0.00% 46 Missing ⚠️
crates/burn-train/src/learner/classification.rs 0.00% 34 Missing ⚠️
crates/burn-fusion/src/ops/transaction.rs 0.00% 27 Missing ⚠️
crates/burn-tensor/src/tensor/ops/transaction.rs 0.00% 24 Missing ⚠️
crates/burn-train/src/learner/regression.rs 0.00% 17 Missing ⚠️
crates/burn-autodiff/src/ops/transaction.rs 0.00% 15 Missing ⚠️
crates/burn-tensor/src/tensor/api/base.rs 0.00% 9 Missing ⚠️
crates/burn-train/src/learner/builder.rs 0.00% 4 Missing ⚠️
crates/burn-train/src/metric/processor/metrics.rs 33.33% 4 Missing ⚠️
... and 5 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2521      +/-   ##
==========================================
- Coverage   82.89%   82.69%   -0.20%     
==========================================
  Files         821      826       +5     
  Lines      106139   106405     +266     
==========================================
+ Hits        87979    87996      +17     
- Misses      18160    18409     +249     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@laggui laggui merged commit 8be2032 into main Nov 21, 2024
11 checks passed
@laggui laggui deleted the perf/metric-performance branch November 21, 2024 15:47
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.

2 participants