Uh oh!
There was an error while loading. Please reload this page.
Fix many type hint errors - #12289
Conversation
DefTruth
commented
Sep 5, 2025
sayakpaul
left a comment
There was a problem hiding this comment.
Thanks so much! Left some comments.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
DefTruth
commented
Sep 15, 2025
@sayakpaul PTAL~ |
sayakpaul
commented
Sep 15, 2025
@bot /style |
Style fix is beginning .... View the workflow run here. |
HuggingFaceDocBuilderDev
commented
Sep 15, 2025
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
yiyixuxu
commented
Sep 17, 2025
@bot /style |
Style fix is beginning .... View the workflow run here. |
yiyixuxu
commented
Sep 17, 2025
can you run |
DefTruth
commented
Sep 17, 2025
@yiyixuxu done, PTAL~ |
Uh oh!
There was an error while loading. Please reload this page.
I'm the maintainer of cache-dit. cache-dit relies on type annotations to match the forward pattern of blocks more precisely. However, I found that there are a large number of type annotation errors in diffusers. For instance, HiDream, HunyuanVideo, cogvideox, auraflow, cogview, lumina, etc. This PR has fixed all related errors.
PTAL ~ @a-r-r-o-w@sayakpaul
for example, fix hidream type hint: