ml-stable-diffusion
ivy
ml-stable-diffusion | ivy | |
---|---|---|
45 | 17 | |
16,111 | 14,021 | |
0.7% | 0.1% | |
7.4 | 10.0 | |
26 days ago | 4 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ml-stable-diffusion
-
Show HN: Run Stable Diffusion Directly on iPhone
Not sure how that got in here. Apple released CoreML Stable Diffusion library a little over a year ago [1]. Hugging Face released their version of the example app for the CoreML Stable Diffusion library [2].
The app should be able to run on iPhone 14 Pro, I believe the requirements is about 6-8Gb of RAM. And I was not able to run it on iPhone 13 Mini, because it has only 4Gb of RAM.
- [1] https://github.com/apple/ml-stable-diffusion
-
Apple releases MLX; has working Stable Diffusion example
Where are you seeing a Stable Diffusion example? I'm familiar with Apple's CoreML Implementation of StableDiffusion, but is there something else in the SD world available for download now as part of MLX?
-
Stable Diffusion XL on iPhone with Core ML
Other features and improvements to the repo https://github.com/apple/ml-stable-diffusion
-
FLaNK Stack Weekly for 20 June 2023
M1! https://github.com/apple/ml-stable-diffusion
- Apple Introduces M2 Ultra with up to 192GB Unified Memory - LLM powerhouse?
-
Need help choosing between two laptops
M2 MBA can run Stable Diffusion and LLaMa comfortably, which means generating your potential game/image asset locally. They're pretty much impractical in 7340.
-
Speed Is All You Need: On-Device Acceleration of Large Diffusion Models
Interestingly these are OpenCL kernels so in theory some of the optimizations might run out-of-the-box on CPUs.
It would be instructive to compare their speedups on the iPhone to the Apple CoreML implementation: https://github.com/apple/ml-stable-diffusion
-
Is it worth buying a used M1 Mac for stable diffusion when you have iPad M1 but Intel Mac
Stable Diffusion runs great on my M1 Macs. The Draw Things app makes it really easy to run too. You also can’t disregard that Apple’s M chips actually have dedicated neural processing for ML/AI. This actual makes a Mac more affordable in this category because you don’t need to purchase a beefy graphics card. Not to mention that Apple has even optimized their software specifically for Stable Diffusion (related GitHub). Draw Things can take advantage of this. There’s a few guides to running the web UI on M1 too. I prefer the Draw Things app because of how easy it is to use, but the web UI is also nice because of all of the plugins and workflows that the community has built over time.
-
Stable diffusion for Apple silicon
LINKS: ml-stable-diffusion: https://github.com/apple/ml-stable-diffusion Diffusers (HuggingFace Mac App): https://apps.apple.com/app/diffusers/id1666309574?mt=12
-
Apple: Transformer architecture optimized for Apple Silicon
So, is Stable Diffusion working finally on TPU or not? DiffusionBee uses GPU and running this https://github.com/apple/ml-stable-diffusion with CPU_AND_NE just segfaults
ivy
-
Keras 3.0
See also https://github.com/unifyai/ivy which I have not tried but seems along the lines of what you are describing, working with all the major frameworks
-
Show HN: Carton – Run any ML model from any programming language
is this ancillary to what [these guys](https://github.com/unifyai/ivy) are trying to do?
- Ivy: All in one machine learning framework
- Ivy ML Transpiler and Framework
-
[D] Keras 3.0 Announcement: Keras for TensorFlow, JAX, and PyTorch
https://unify.ai/ They are trying to do what Ivy is doing already.
-
Ask for help: what is the best way to have code both support torch and numpy?
Check Ivy.
-
CoreML Stable Diffusion
ROCm's great for data centers, but good luck finding anything about desktop GPUs on their site apart from this lone blog post: https://community.amd.com/t5/instinct-accelerators/exploring...
There's a good explanation of AMD's ROCm targets here: https://news.ycombinator.com/item?id=28200477
It's currently a PITA to get common Python libs like Numba to even talk to AMD cards (admittedly Numba won't talk to older Nvidia cards either and they deprecate ruthlessly; I had to downgrade 8 versions to get it working with a 5yo mobile workstation). YC-backed Ivy claims to be working on unifying ML frameworks in a hardware-agnostic way but I don't have enough experience to assess how well they're succeeding yet: https://lets-unify.ai
I was happy to see DiffusionBee does talk the GPU in my late-model intel Mac, though for some reason it only uses 50% of its power right now. I'm sure the situation will improve as Metal 3.0 and Vulkan get more established.
-
DL Frameworks in a nutshell
Won't it all come together with https://lets-unify.ai/ ?
- Unified Machine Learning
-
[Discussion] Opinions on unify AI
What do you think about unify AI https://lets-unify.ai.
What are some alternatives?
MochiDiffusion - Run Stable Diffusion on Mac natively
PaddleNLP - 👑 Easy-to-use and powerful NLP and LLM library with 🤗 Awesome model zoo, supporting wide-range of NLP tasks from research to industrial applications, including 🗂Text Classification, 🔍 Neural Search, ❓ Question Answering, ℹ️ Information Extraction, 📄 Document Intelligence, 💌 Sentiment Analysis etc.
ml-ane-transformers - Reference implementation of the Transformer architecture optimized for Apple Neural Engine (ANE)
ColossalAI - Making large AI models cheaper, faster and more accessible
modelscope - ModelScope: bring the notion of Model-as-a-Service to life.
DeepFaceLive - Real-time face swap for PC streaming or video calls
pulsar-recipes - A StreamNative library containing a collection of recipes that are implemented on top of the Pulsar client to provide higher-level functionality closer to the application domain.
PaddleOCR - Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
fast-stable-diffusion - fast-stable-diffusion + DreamBooth
lisp - Toy Lisp 1.5 interpreter
stable-diffusion-webui - Stable Diffusion web UI
Kornia - Geometric Computer Vision Library for Spatial AI