Closed ardha27 closed 8 months ago
@ardha27 Are you using the latest code? I just tested the main
branch by cog predict
, and it works fine.
Can you teach me a bit on how to test it on local before i push it to replicate?
is the first starting on replicate always takes long time?
i wait for more than 30m and still 'starting'
Can you teach me a bit on how to test it on local before i push it to replicate?
Follow cog's document.
cog predict
, or cog predict -i prompt='1 girl'
.is the first starting on replicate always takes long time?
i wait for more than 30m and still 'starting'
No. It takes 3~7 minutes in normal.
Can you teach me a bit on how to test it on local before i push it to replicate?
Follow cog's document.
- Ensure you have an machine installed docker and nvidia-container-toolkit: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
- Install cog: https://github.com/replicate/cog?tab=readme-ov-file#install
- In the project root direct, run
cog predict
, orcog predict -i prompt='1 girl'
.
thanks, it working now. What is the simplest way to make Fooocus auto download other checkpoint?
btw, can i add all checkpoint/pth file inside the cog/docker? so it not relying on downloading file from other repo
btw, can i add all checkpoint/pth file inside the cog/docker? so it not relying on downloading file from other repo
You can do it easily in Dockerfile for docker, but it will make the image much larger. For cog, I don't know how.
Could you give me one example line, if for example i want to include checkpoint inside dockerfile?
Could you give me one example line, if for example i want to include checkpoint inside dockerfile?
You can use COPY
key word in docker file. But first you need to modify .dockerignore to not exclude checkout file from docker build stage. Just open an getting started toturial for dockerfile write.
i want to fork your code and deploy it to replicate, but i get this error![image](https://github.com/konieshadow/Fooocus-API/assets/48845217/076035fb-8052-450f-b5cb-ad9a866da3a2)