adieyal / dynamicprompts

Templating language for generating prompts for text to image generators such as Stable Diffusion
MIT License
118 stars 20 forks source link

Loosen dependency pins #122

Closed akx closed 6 months ago

akx commented 6 months ago

Refs https://github.com/adieyal/sd-dynamic-prompts/issues/743.

We don't want the transitive torch dependency from an older version of transformers to try and install an older Torch.

I tested that magicprompts works fine with transformers==4.39.0 – hopefully HF won't break things before version 5 of Transformers.

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 40.00000% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 97.26%. Comparing base (e377980) to head (aae0bc3). Report is 1 commits behind head on main.

Files Patch % Lines
tests/generators/test_magicprompt.py 40.00% 6 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #122 +/- ## ========================================== - Coverage 97.43% 97.26% -0.18% ========================================== Files 77 77 Lines 3358 3368 +10 ========================================== + Hits 3272 3276 +4 - Misses 86 92 +6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.