- https://midjourney.com/
- after setup
- Select any
newbies-#channel - Make a post in channel
/imagine prompt: yachts - Read More HERE
- Download & Install Latest .DMG for MacOS at MochiDiffusion/releases
- DOWNLOAD & INSTALL THIS <=== (Latest MacOS Apple Silicon Chip Version)
-
DOWNLOAD THIS EXAMPLE MODEL <=== (Large File ~2-5GB)
-
Extract the downloaded zip file in Downloads folder
-
Move the extracted folder to a local model folder
-
Open Fresh Terminal
-
Following command will open Downloads folder & create a new local folder for the model & open it in Finder
-
$
cd ~/Downloads ; open . ; mkdir ~/zDev/AI/stable-diffusion ; cd ~/zDev/AI/stable-diffusion ; open . -
Manually Extract & Move the folder from the zip file to the local model folder
- For example $
mv ~/Downloads/stable-diffusion-v2.1-base_split-einsum_compiled ~/zDev/AI/stable-diffusion/
- For example $
-
-
Update Settings in Mochi Diffusion App
- Open Mochi Diffusion App (if not already open) with (CMD ⌘ + Space) and typing
Mochiand pressing enter - Click Settings with (CMD ⌘ + COMMA ,)
- Click "Model Folder" and search for the local model folder (for example the one created at
~/zDev/AI/stable-diffusion/) - Click "Apply" to save changes
- Open Mochi Diffusion App (if not already open) with (CMD ⌘ + Space) and typing
-
Pick Model in UI
- At bottom left of the UI, click the dropdown and select the model you'd like to use
- For example, choose "stable-diffusion-v2.1-base_split-einsum_compiled"
- As it notes, select "Nueral Engine" for best performance with CoreML "split-einsum" models
-
Enter Prompt text like "yachts in bahamas" & click "Generate" button
- First time you run the app, it will take a few minutes to load the model, you can see progress by clicking spinning icon to left of trash can icon
-
Do steps 2-5 above
-
Click the Refresh icon at bottom left of the UI, and select the "ProGen" model
-
Try with:
- Prompt:
modelshoot style, (extremely detailed CG unity 8k wallpaper), full shot body photo, medieval armor, professional majestic oil painting by Ed Blinkey, Atey Ghailan, Studio Ghibli, by Jeremy Mann, Antonio Moro, trending on CGSociety, Intricate, High Detail, dramatic, photorealistic - Remove:
canvas frame, cartoon, 3d, ((disfigured)), ((bad art)), ((extra limbs)),((close up)),((b&w)), wierd colors, blurry, (((duplicate))), ((morbid)), ((mutilated)), [out of frame], mutated hands - Seed:
105259061
- Prompt:
-
Review & Download CoreML (Apple Silicon) Models from HuggingFace
-
For Advanced Users explore how to Convert models to be Core ML. More on Converting HERE. Some pre-converted examples here
- Update pip with Run $
pip install --upgrade pip - Install diffusers with Run $
pip install diffusers transformers accelerate scipy safetensors
-
Folder with "split_einsum" version is compatible with all compute unit options including Neural Engine (BEST & MOST NATIVE)
-
Folder with "original" version is only compatible with CPU & GPU option By default, the app's model folder will be created under the Documents folder. This location can be customized under Settings In the model folder, create a new folder with the name you'd like displayed in the app then move or extract the converted models here Your directory should look like this:
-
Checkout MacOS UI App Mochi Diffusion
-
Check Out Community Projects & Models on https://huggingface.co/
-
For Example an Upscaller Check Here
-
Open Fresh Terminal Window with Spotlight Search (CMD ⌘ + Space), typing
Terminaland pressing enter; OR if already open (CMD ⌘ + N) for a new window, or (CMD ⌘ + T) for a new tab. This will confirm latest settings are loaded after recent installs or changes. -
Check what is installed...
- Run combined check with $
echo " " && echo "——— ——— CHECKING VERSIONS ––– ——— " && sw_vers; echo "~~~" && git -v; echo "~~~" && brew -v; echo "~~~" && echo "VScode" && code -v; echo "~~~" && echo "NVM" && nvm -v && echo "~~~" && echo "NodeJS" && node -v && echo "~~~" && echo "Yarn" && yarn -v && echo "~~~" && pyenv -v && echo "~~~" && python --version && echo "~~~" && rustup --version && echo "~~~" && rustc --version && echo "~~~" && solana --version && echo "~~~" && avm --version && echo "~~~" && anchor --version && echo "===~===~===~===~===~===~===~===" && echo " " && code .
Or individually if something fails...
-
Run $
brew -vto see if Homebrew is installed -
Run $
code -vto see if VScode is installed -
Run $
nvm -vto see if NVM is installed -
Run $
node -vto see if Node is installed -
Run $
yarn -vto see if Yarn is installed -
Run $
pyenv -vto see if Python Version Manager is installed -
Run $
python --versionto see if Python is installed -
Run $
rustup --versionto see if Rust Version Manager is installed -
Run $
rustc --versionto see if Rust is installed -
Run $
solana --versionto see if Solana is installed -
Run $
avm --versionto see if Anchor Version Manager is installed -
Run $
anchor --versionto see if Anchor is installed
- Run combined check with $
(and confirm Xcode Command Line Tools are installed)
-
Install Homebrew
- Open Fresh Terminal (See "Basics" Above)
- Copy and paste the following command into the Terminal and press enter
-
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - Open Fresh Terminal, close old Terminal windows/tabs
- Run $
brew updateandbrew upgradeto make sure everything is up to date - Run $
brew doctorand follow the instructions to fix any issues - If you get a message saying Your system is ready to brew, you're good to go!
-
Install wget
- Run $
brew install wget - Run $
wget --versionto confirm it's installed
- Run $
- Install Rosetta for Apple Silicon
- Open Fresh Terminal
- Run $
archto verify the architecture isarm64 - Run $
softwareupdate --install-rosetta --agree-to-licenseto install Rosetta
- Install pyenv Version Manager
- Open Fresh Terminal
- Run $
brew install pyenv - Check to see latest version of Python at Python.org MacOS
- Run $
pyenv install #.#.#where#is the latest version of Python - Run $
pyenv global #.#.#to set the version of Python the system will use - Open Fresh Terminal
- Run $
python --versionto verify the version is set and correct
- Install VScode via Homebrew Cask
- Open Fresh Terminal
- Run $
brew install --cask visual-studio-code - After install, Launch VScode...
- Install VScode Command Line Tools
- Open the Command Palette (CMD ⌘ + Shift + P) in VScode
- type
shell commandto find the Shell Command: Install 'code' command in PATH command.
- Open Fresh Terminal
- Run $
code --versionto verify the version is set and correct - Now you can Run $
code .to open the current directory in VScode
-
Install NodeJS via NVM (Node Version Manager) via Homebrew Formula
-
Open Fresh Terminal
-
Run $
brew install nvm -
After install (linked above), confirm update to your PATH in your Terminal with the following command:
- Open Fresh Terminal
- Run $
nvm --version
-
If you get a message saying that fails to update your PATH, you can do it manually, then try again in a fresh terminal window...
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm-nvm install node-nvm use node-node --version
-
Open Fresh Terminal
- Install Node via NVM https://github.com/nvm-sh/nvm#usage
- Run $
nvm ls-remoteto see all versions available - Run $
nvm install nodeto isntall the latest stable version - Open Fresh Terminal
- Run $
node -vor--versionto verify the version is set and correct
-
Install Yarn
- https://yarnpkg.com/getting-started/install
- Run $
npm i -g corepack
-
-
Rust https://formulae.brew.sh/formula/rustup-init
-
Confirm Yarn Install Run $
yarn -vin Fresh Terminal (or See Above Install Instructions) -
Solana https://formulae.brew.sh/formula/solana
- Run
sh -c "$(curl -sSfL https://release.solana.com/v1.15.1/install)" - Depending on your system, the end of the installer messaging may prompt you to copy and paste the recommended command below it to update your PATH
- Run $
solana --version
- Run
-
Anchor https://www.anchor-lang.com/docs/installation
- Run $
cargo install --git https://github.com/coral-xyz/anchor avm --locked --force - Run $
avm install latest - Run $
avm use latest - Run $
anchor --version
- Run $
-