Skip to content

Fix scan broadcast issue#474

Merged
copybara-service[bot] merged 1 commit intogoogle:masterfrom
jheek:fix-scan-broadcast
Sep 18, 2020
Merged

Fix scan broadcast issue#474
copybara-service[bot] merged 1 commit intogoogle:masterfrom
jheek:fix-scan-broadcast

Conversation

@jheek
Copy link
Contributor

@jheek jheek commented Sep 18, 2020

broadcast variables were re-computed during init in each iterations causing excessive slow down.

broadcast variables were re-computed during init in each iterations causing excessive slow down.
@jheek jheek requested a review from levskaya September 18, 2020 10:35
@google-cla google-cla bot added the cla: yes label Sep 18, 2020
@codecov-commenter
Copy link

Codecov Report

Merging #474 into master will decrease coverage by 0.22%.
The diff coverage is 86.95%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #474      +/-   ##
==========================================
- Coverage   74.53%   74.31%   -0.23%     
==========================================
  Files          54       54              
  Lines        3955     3971      +16     
==========================================
+ Hits         2948     2951       +3     
- Misses       1007     1020      +13     
Impacted Files Coverage Δ
flax/linen/transforms.py 93.81% <ø> (-0.07%) ⬇️
flax/core/unified_transforms.py 77.61% <68.42%> (-17.71%) ⬇️
flax/core/lift.py 76.19% <100.00%> (+1.03%) ⬆️
flax/linen/__init__.py 100.00% <100.00%> (ø)
flax/core/scope.py 83.57% <0.00%> (-0.49%) ⬇️

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 139d02f...0cd39d0. Read the comment docs.

Copy link
Collaborator

@levskaya levskaya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great, thanks for looking into this!

@copybara-service copybara-service bot merged commit d38659c into google:master Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants