Skip to content
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

fixes sd3-version argument needed for mixed-bit compression #342

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

c2p-cmd
Copy link

@c2p-cmd c2p-cmd commented Jul 25, 2024

Adds fix for sd3-version in mixed_bit_compression_pre_analysis.py

Adds in the argument as it is needed in torch2coreml.py since, it is raises an error on line 1457.
The fix is straightforward

parser.add_argument(
        "--sd3-version",
        action="store_true",
        help=("If specified, the pre-trained model will be treated as an SD3 model."))

Thank you!

@atiorh atiorh changed the title fixes sd3-version argument needed for torch2coreml fixes sd3-version argument needed for mixed-bit compression Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants