This is a gist on how to get StreamDiffusion running on a Mac (mps)
git clone https://github.com/cumulo-autumn/StreamDiffusion.gitcd StreamDiffusiongit clone https://github.com/cumulo-autumn/StreamDiffusion.gitcd StreamDiffusion| #!/bin/zsh | |
| # Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3 | |
| # Disabling unwanted services on macOS Big Sur (11), macOS Monterey (12) and macOS Ventura (13) | |
| # Disabling SIP is required ("csrutil disable" from Terminal in Recovery) | |
| # Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist, disabled.501.plist | |
| # To revert, delete /private/var/db/com.apple.xpc.launchd/ disabled.plist and disabled.501.plist and reboot; sudo rm -r /private/var/db/com.apple.xpc.launchd/* | |
| # user |
| #!/usr/bin/env python | |
| r""" | |
| This script can be used to fix the "exec format error" seen with tools like gzip in | |
| WSL with Ubuntu 22.04 in Q1/Q2 2022 | |
| A hacky fix for broken executables in WSL/Ubuntu 22.0 | |
| see https://github.com/microsoft/WSL/issues/8219 | |
Moved to https://api.fmhy.net
| #!/bin/zsh | |
| #Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3 | |
| #Disabling unwanted services on macOS 11 Big Sur (11) and macOS Monterey (12) | |
| #Disabling SIP is required ("csrutil disable" from Terminal in Recovery) | |
| #Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist and disabled.501.plist | |
| # user | |
| TODISABLE=() |
This is a collaborative document, just add anything you feel like it's missing or improve the current advice. Editing is open to everyone