ml-stable-diffusion
Pytorch
ml-stable-diffusion | Pytorch | |
---|---|---|
45 | 340 | |
16,111 | 78,016 | |
0.7% | 1.4% | |
7.4 | 10.0 | |
26 days ago | 3 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | BSD 1-Clause License |
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
Pytorch
-
Clasificador de imágenes con una red neuronal convolucional (CNN)
PyTorch (https://pytorch.org/)
-
AI enthusiasm #9 - A multilingual chatbot📣🈸
torch is a package to manage tensors and dynamic neural networks in python (GitHub)
-
Einsum in 40 Lines of Python
PyTorch also has some support for them, but it's quite incomplete and has many issues so that it is basically unusable. And its future development is also unclear. https://github.com/pytorch/pytorch/issues/60832
-
Library for Machine learning and quantum computing
TensorFlow
-
My Favorite DevTools to Build AI/ML Applications!
TensorFlow, developed by Google, and PyTorch, developed by Facebook, are two of the most popular frameworks for building and training complex machine learning models. TensorFlow is known for its flexibility and robust scalability, making it suitable for both research prototypes and production deployments. PyTorch is praised for its ease of use, simplicity, and dynamic computational graph that allows for more intuitive coding of complex AI models. Both frameworks support a wide range of AI models, from simple linear regression to complex deep neural networks.
-
penzai: JAX research toolkit for building, editing, and visualizing neural nets
> does PyTorch have a similar concept
of course https://github.com/pytorch/pytorch/blob/main/torch/utils/_py...
-
Tinygrad: Hacked 4090 driver to enable P2P
fyi should work on most 40xx[1]
[1] https://github.com/pytorch/pytorch/issues/119638#issuecommen...
-
The Elements of Differentiable Programming
Sure, right here: https://github.com/pytorch/pytorch/blob/main/torch/autograd/...
Here's the documentation: https://pytorch.org/tutorials/intermediate/forward_ad_usage....
> When an input, which we call “primal”, is associated with a “direction” tensor, which we call “tangent”, the resultant new tensor object is called a “dual tensor” for its connection to dual numbers[0].
-
Functions and operators for Dot and Matrix multiplication and Element-wise calculation in PyTorch
*My post explains Dot, Matrix and Element-wise multiplication in PyTorch.
-
Dot vs Matrix vs Element-wise multiplication in PyTorch
In PyTorch with @, dot() or matmul():
What are some alternatives?
MochiDiffusion - Run Stable Diffusion on Mac natively
Flux.jl - Relax! Flux is the ML library that doesn't make you tensor
ml-ane-transformers - Reference implementation of the Transformer architecture optimized for Apple Neural Engine (ANE)
mediapipe - Cross-platform, customizable ML solutions for live and streaming media.
modelscope - ModelScope: bring the notion of Model-as-a-Service to life.
Apache Spark - Apache Spark - A unified analytics engine for large-scale data processing
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.
flax - Flax is a neural network library for JAX that is designed for flexibility.
fast-stable-diffusion - fast-stable-diffusion + DreamBooth
tinygrad - You like pytorch? You like micrograd? You love tinygrad! ❤️ [Moved to: https://github.com/tinygrad/tinygrad]
stable-diffusion-webui - Stable Diffusion web UI
Pandas - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more