Skip to content

Instantly share code, notes, and snippets.

View kellyzxiaowei's full-sized avatar

Kellyxiaowei kellyzxiaowei

View GitHub Profile
@lucataco
lucataco / predict.py
Last active January 31, 2025 20:28
Flux Schnell locally on MPS
# conda create -n flux python=3.11
# conda activate flux
# pip install torch==2.3.1
# pip install diffusers==0.30.0 transformers==4.43.3
# pip install sentencepiece==0.2.0 accelerate==0.33.0 protobuf==5.27.3
import torch
from diffusers import FluxPipeline
import diffusers
@wouterdebie
wouterdebie / comfyui_macos.sh
Last active August 10, 2025 08:55
ComfyUI MacOS Apple Silicon install
#!/bin/bash
set -e
brew install llvm libomp [email protected]
export CC=$(brew ls --verbose llvm | grep -e 'bin/clang$')
export CXX=$(brew ls --verbose llvm | grep -e 'bin/clang++$')
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
python3.11 -m venv venv
@akTwelve
akTwelve / COCO_Image_Viewer.ipynb
Last active November 23, 2023 21:01
COCO Image Viewer | immersivelimit.com/tutorials/create-coco-annotations-from-scratch
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.