ml-stable-diffusion icon indicating copy to clipboard operation
ml-stable-diffusion copied to clipboard

Fix: Wheel building issues for tokenizers and sentencepiece

Open Abhra0404 opened this issue 1 year ago • 1 comments

Description

This PR fixes the wheel building issues for tokenizers and sentencepiece packages by:

  1. Adding specific versions for tokenizers and sentencepiece
  2. Adding necessary build dependencies (wheel, setuptools, ninja)

Changes Made

  • Added tokenizers==0.15.2
  • Added sentencepiece==0.1.99
  • Added build dependencies:
    • wheel
    • setuptools>=65.5.1
    • ninja

Testing Done

  • Verified that the packages can be installed without wheel building errors
  • Tested with a clean environment to ensure reproducibility

License

I confirm that I have the right to license this contribution under the MIT license and agree by submitting this PR that my contributions are licensed under the MIT license.

Code of Conduct

I have read and agree to follow the project's Code of Conduct.

Fixes #393

Abhra0404 avatar Nov 05 '25 17:11 Abhra0404

Hi @Abhra0404, Could you please share the testing demos as a video or screenshots for evaluation?

kushvinth avatar Dec 31 '25 17:12 kushvinth