Repository navigation
fix: 恢复 MLX Qwen-Image-2.1 本地可运行并修复 MLX 生图 - #353
Merged
Merged
Conversation
列表过滤与详情页对 mlx-image 运行时的原生量化检查点豁免量化名字规则;其他 MLX 图/文本模型仍按原逻辑排除。
直接加载器识别带 .scales 的量化 text encoder,修复 broadcast_shapes 报错;图片 worker 不再绑定请求 context,避免首个请求结束后被杀。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
mlx-community/Qwen-Image-2.1-mflux-q4)判为不可本地运行;其他 MLX 图/文本模型仍按原规则排除。.scales的量化 text encoder,修复生图时报broadcast_shapes Shapes (4096) and (1,23,512) cannot be broadcast。signal: killed。验证
go test ./internal/model ./internal/imagegengo test ./internal/server -run 'Marketplace|Image'go build ./...,gofmt通过mlx-community/Qwen-Image-2.1-mflux-q4:512/1024 尺寸多次生成成功,默认 1024×1024/40 steps 成功。Qwen/Qwen-Image-2.1权重约 33GB,本机 16GB 内存无法加载,未做端到端验证;链路审计未发现代码级阻断。影响面与风险