lynx   »   [go: up one dir, main page]

\"example.png\"

\n","updatedAt":"2025-08-22T04:11:40.222Z","author":{"_id":"647d0756d2da33779cbbfdd2","avatarUrl":"/avatars/299795e735b1baf5a695af8cd141d76b.svg","fullname":"Peiwei Cao","name":"peiweic","type":"user","isPro":true,"isHf":false,"isHfAdmin":false,"isMod":false}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.7494122385978699},"editors":["peiweic"],"editorAvatarUrls":["/avatars/299795e735b1baf5a695af8cd141d76b.svg"],"reactions":[],"isReport":false}}],"pinned":false,"locked":false,"collection":"discussions","isPullRequest":false,"isReport":false},"repo":{"name":"Qwen/Qwen-Image","type":"model"},"activeTab":"discussion","discussionRole":0,"watched":false,"muted":false,"repoDiscussionsLocked":false}">

Not works on Mac

#40
by animax - opened
\"example.png\"

\n","updatedAt":"2025-08-22T04:11:40.222Z","author":{"_id":"647d0756d2da33779cbbfdd2","avatarUrl":"/avatars/299795e735b1baf5a695af8cd141d76b.svg","fullname":"Peiwei Cao","name":"peiweic","type":"user","isPro":true,"isHf":false,"isHfAdmin":false,"isMod":false}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.7494122385978699},"editors":["peiweic"],"editorAvatarUrls":["/avatars/299795e735b1baf5a695af8cd141d76b.svg"],"reactions":[],"isReport":false}}],"pinned":false,"locked":false,"collection":"discussions","isPullRequest":false,"isReport":false},"primaryEmailConfirmed":false,"repo":{"name":"Qwen/Qwen-Image","type":"model"},"discussionRole":0,"acceptLanguages":["*"],"hideComments":true,"repoDiscussionsLocked":false,"isDiscussionAuthor":false}">

How can we make it to run at Mac? if we set device to "cpu" got error, resrouce_tracker.py 224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings. warn(' resource_tracker: There appear to be %d '
and tried to use "mps" as device, but the result image will be completely black.

Any suggestion?

Use it in Draw Things

I used Claude Code to fix the sample code to suppot mac. It replaced "cuda" with "mps". The result looks great. But it took almost 5 hours to generate one picture. I am using macbook pro m4 max.

example.png

Sign up or log in to comment

Лучший частный хостинг