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

feat: Support Moore Threads GPU #529

Merged
merged 1 commit into from
Dec 28, 2024
Merged

feat: Support Moore Threads GPU #529

merged 1 commit into from
Dec 28, 2024

Conversation

yeahdongcn
Copy link
Contributor

This PR introduces support for Moore Threads GPUs, leveraging MUSA (Moore Threads Unified System Architecture)’s capabilities to accelerate Stable Diffusion inference.

Testing Done

  1. Local build -> pass
  2. Docker build -> pass
  3. Tested Stable Diffuison v2.1 -> pass (the model is loaded and utilized on the MTT S80)
$ docker build -t sd-musa -f Dockerfile.musa .
$ docker run -it -v $PWD:/ws sd-musa -m /ws/v2-1_768-nonema-pruned.safetensors -p "fantasy medieval village world inside a glass sphere , high detail, fantasy, realistic, light effect, hyper detail, volumetric lighting, cinematic, macro, depth of field, blur, red light and clouds from the back, highly detailed epic cinematic concept art cg render made in maya, blender and photoshop, octane render, excellent composition, dynamic dramatic cinematic lighting, aesthetic, very inspirational, world inside a glass sphere by james gurney by artgerm with james jean, joe fenton and tristan eaton by ross tran, fine details, 4k resolution" -o /ws/output.png

output

Signed-off-by: Xiaodong Ye <[email protected]>
@leejet leejet merged commit 5cc74d1 into leejet:master Dec 28, 2024
8 checks passed
@leejet
Copy link
Owner

leejet commented Dec 28, 2024

Thank you for your contribution.

@shennanmao588
Copy link

Thank you

stduhpf pushed a commit to stduhpf/stable-diffusion.cpp that referenced this pull request Dec 28, 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