-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix VI test not skipping in Windows #7136
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #7136 +/- ##
===========================================
+ Coverage 52.44% 67.58% +15.13%
===========================================
Files 85 101 +16
Lines 16441 16956 +515
===========================================
+ Hits 8623 11460 +2837
+ Misses 7818 5496 -2322
|
@ricardoV94 I try to run this test locally on Linux. It is fails when I use |
Thanks @aerubanov that's some nice info. Could you dig anything that changed with pytest 8.0? |
Yeah, will try to find something relevant for this issue |
Looks like in pytest 7 missing warning were ignored if some exception was raised, but pytest 8 checking them and that`s why this test fails. Relevant PR: pytest-dev/pytest#11129 |
Great, how should we fix it though :D? |
@ricardoV94 I see two options:
|
First seems slightly better? Do you want to push on this PR? If for some reason you don't have permissions you can also just open a new one |
Yeah, looks like first will require less changes in the future. Will try to implement it. |
@ricardoV94 could you please take a look #7144? |
Description
The test
test_fit_start[SVGD-mini]
stopped raising a NotImplementedInferenceError in Windows recently.pymc/tests/variational/test_inference.py
Lines 206 to 210 in f8b19a5
It should come from
pymc/pymc/variational/operators.py
Lines 145 to 148 in 2051d0b
It still works correctly on Linux?
Link to failing test:
https://github.com/pymc-devs/pymc/actions/runs/7783900052/job/21223348962?pr=7136
Related Issue
Checklist
Type of change
📚 Documentation preview 📚: https://pymc--7136.org.readthedocs.build/en/7136/