Comments (3)
According to this it does run, however, it is kind of slow and I ran into some issues that I didn't bother resolving. Now I just run it on an EC2 instance.
from stable-diffusion-docker.
I'm not sure if it can work with a Macbook Pro M1.
There are a few issues in my mind that would need to be overcome:
- From what I can tell the tensorflow docker images are only built for amd64, not arm64. It might be possible to create your own compatible version of the
tensorflow
image, however. - The model requires at least 8GB of dedicated GPU RAM. I believe the M1 uses a shared memory pool, so even if you had an M1 with 8GB+ of RAM, it's not clear to me if / how that would work.
- The current
tensorflow-gpu
image uses CUDA. I'm not sure if there's an equivalent for the M1. - Since the M1 has a different architecture from amd64, I'm not sure whether the model code like the torch tensors or model structure would need to be modified to work on it.
Let me know if you investigate this in more detail. It would be great to have a working arm64 version.
from stable-diffusion-docker.
I was already afraid this would not work fine on a Arm based Mac.
It does work, but the fact that it's running as an amd64 image (emulation) and no gpu available makes the performance really bad. I did generate an image on my Macbook Pro M1. It was at least a hour for generating one image.
from stable-diffusion-docker.
Related Issues (20)
- How to run container on a MacBook Pro? HOT 13
- CUDA out of memory error HOT 2
- [Announcement] Some txt2img options will be renamed soon!
- using embeddings? HOT 2
- module numpy as no attribute 'float' did you mean 'cfloat' HOT 4
- I am having trouble with ./build.sh build HOT 4
- Addition of Samplers HOT 2
- Switching Checkpoints HOT 2
- PermissionError: [Errno 13] Permission denied: '/output/(name).png' HOT 3
- When using txt2img, I get the error "AttributeError: 'NoneType' object has no attribute 'replace'". HOT 4
- error in code HOT 2
- not utilizing full Hardware HOT 1
- Local safetensors file HOT 2
- Only black images are produced with --skip parameter, without --skip I always get NSFW block HOT 2
- could not select device driver "" with capabilities: [[gpu]] HOT 2
- Could not find torch==2.0.1+cu117 HOT 2
- Unable to Specify GPU HOT 2
- non display after a completed pipeline HOT 1
- change download-location to other drive HOT 2
- TypeError: '>=' not supported between instances of 'NoneType' and 'float' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stable-diffusion-docker.