[fix] missing doc-builder imports#14134
Conversation
|
Done in huggingface/doc-builder#805 — adds |
#805) The old diffusers-doc-builder container provided both; the light path needs sentencepiece real (kolors' tokenizer imports it at module level) and bitsandbytes mocked (quantization docs autodoc gated classes). Requested in huggingface/diffusers#14134. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
|
Update: after #805 (sentencepiece + bitsandbytes) the build progressed and then hit
|
|
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. |
|
huggingface/doc-builder#806 is merged and the main doc build now passes ✅ — diffusers is fully on the light path (no container, Nothing in the docs pipeline depends on this PR anymore, but the import guard and the |
|
Thanks for flagging @mishig25 👍🏽 We're planning on removing quanto support, so that should resolve the issue. |
|
Do we still need this change given #14134 (comment)? |
#14131 removed the old container which provided
sentencepiecewhich causes the doc builder to break now. This fixes it by guarding the import to fail at use time.The other thing is to add
bitsandbytesto https://github.com/huggingface/doc-builder/blob/main/src/doc_builder/mock_deps/diffusers.txt cc @mishig25