-
Notifications
You must be signed in to change notification settings - Fork 38
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
add cache_images to lightning #614
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #614 +/- ##
==========================================
- Coverage 89.72% 89.69% -0.04%
==========================================
Files 43 43
Lines 2987 2988 +1
Branches 248 248
==========================================
Hits 2680 2680
- Misses 268 269 +1
Partials 39 39
☔ View full report in Codecov by Sentry. |
@@ -44,6 +44,7 @@ def __init__( | |||
report: Optional[str] = "auto", | |||
save_dvc_exp: bool = False, | |||
dvcyaml: bool = True, | |||
cache_images: bool = False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to also add it to the _live_init
dict below.
@daavoo Any ideas for how to test when adding a new |
I guess we need to remember to update this test with the new args: dvclive/tests/test_frameworks/test_lightning.py Lines 144 to 158 in a0de508
Seems like the reasonable thing to do since we don't change or have that many args and it is the only framework where the args are not directly passed like in other frameworks as |
Added a test, but I think not changing it often is why I forget to do it. Anyways, I don't have any better ideas for now. Just a thought. |
Adds
dvclive.lightning.DVCLiveLogger(cache_images=True)