-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apple Silicon support? #12
Comments
It should be able to install, but whether it can run or not is actually depending on PyTorch, not this project, because I'm just running PyTorch models and hope for the best 😆.
git clone https://github.com/carefree0910/carefree-creator
cd carefree-creator
pip3 install carefree-client carefree-learn carefree-cv ftfy regex lmdb albumentations kafka-python redis[hiredis] cos-python-sdk-v5 uvicorn torchvision
python3 -m uvicorn apis.interface:app --host 0.0.0.0 --port 8123 |
I'm trying to install it right now.
Did not work but … this :
…somehow did. Be aware I had to switch "pip3 install redis[hiredis]" to "pip3 install redis" Currently it's downloading: Can you tell me where these are installed? I couldn't find them in the carefree-creator folder. Update: it failed sadly
|
@all4five Hi! The models are downloaded at And your error message indicates that there's something wrong with the I had tried to install this project on my m1 mac, and it turns out that I can only use CPU to generate images, which usually takes minutes to get a 512*512 one. 🤣 So maybe a better option for m1 users is to use the Google Colab! 😉 |
Ah, my bad, i should actually introduce a flag called |
@TreeZhou Hi! Now you can play this project on mac with cfcreator serve --cpu But it will be REALLY slow to generate an image (~12s/it on my m1, which means it will take 3min33s to generate an image with 20 steps. 🤣) |
Does your project run on Apple Silicon hardware? I wasn't sure if the hardware requirements rule out particular configurations.
I looked at your installation instructions and here in issues but didn't see mention of AS / M1 etc.
The text was updated successfully, but these errors were encountered: