Skip to content

Avoid creating float64 tensors in VI when possible #6788

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ferrine
Copy link
Member

@ferrine ferrine commented Jun 22, 2023

What is this PR about?
The change avoids creating float64 graphs under floatX=float32

Bugfixes

  • Reduce places where float64 is unintentional

📚 Documentation preview 📚: https://pymc--6788.org.readthedocs.build/en/6788/

@codecov
Copy link

codecov bot commented Jun 22, 2023

Codecov Report

Merging #6788 (d5dc9cc) into main (2806c23) will decrease coverage by 2.88%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6788      +/-   ##
==========================================
- Coverage   91.89%   89.01%   -2.88%     
==========================================
  Files          95       95              
  Lines       16181    16181              
==========================================
- Hits        14870    14404     -466     
- Misses       1311     1777     +466     
Impacted Files Coverage Δ
pymc/variational/opvi.py 87.48% <100.00%> (ø)

... and 8 files with indirect coverage changes

@ricardoV94
Copy link
Member

@ferrine do you want to revive this one?

@ricardoV94 ricardoV94 changed the title avoid creating float64 tensors when possible Avoid creating float64 tensors in VI when possible Aug 24, 2023
@ricardoV94 ricardoV94 added maintenance VI Variational Inference labels Aug 24, 2023
@ferrine
Copy link
Member Author

ferrine commented Aug 31, 2023

yes, i forgot about this one

@ricardoV94 ricardoV94 marked this pull request as draft September 5, 2023 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance VI Variational Inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants