-
Notifications
You must be signed in to change notification settings - Fork 303
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
Docker-Missing entrypoint.sh #33
Comments
Also win 10, same issue. I used this command to enter the docker image, and found that home/user/app/ is empty. But I'm not familiar with docker at all, so I'm not sure where to go from there. Some searching on this issue says that text encoding on the docker files is the issue, but I see that these are already encoded in UTF-8, which should work on windows. |
I also have the same problem, and am running windows 10. Interestingly, I tried downloading the repo as a zip file rather than cloning it and I'm able to get farther with the install, however I still run into trouble. fpie fails to install with the following output:
I tried installing cmake and running the container again, but I get the same output still. |
Once this PR is merged #49, those issues should be fixed |
I'm still having trouble getting docker to run, though its a different problem now. After running the "docker-compose up" command, I get a very long output that ends with this:
Any thoughts? This is my first time using docker and WSL, so its possible I messed something up but I'm not sure what it'd be. In case its needed, the full terminal output is below, and I get this output either when I try to start the docker container or run the above mentioned command:
|
Haven't seen that one with OMP errors. Can you double check if you run this command from your shell, do you see your GPU listed?
|
I experienced the same issue as @SkyeErnst. @tpsjr7 yes that command does list my GPU Anyone has an idea of what we could do to find out what is missing? |
I'm guessing, seeing that the error is saying, "OMP:" I see that the environment.yml is pulling in intel-openmp. Do you have an Intel CPU? If not, maybe why that's failing. Also another guess, maybe it's failing here, stablediffusion-infinity/process.py Line 61 in a2afeb8
Can you try commenting out or deleting that try block in process.py that's trying to use openmp? maybe the code will fall back to using another backend instead of failing there.
|
Thanks tpsjr7, however I'm still having issues after updating. docker-compose build runs successfully. docker-compose up returns this:
|
@tpsjr7 I have an AMD Ryzen so it could be that indeed. I'll have a look if there is any equivalent to intel-openmp for AMD or if I need to comment out something. Thanks ! |
yeah I don't understand why it's not seeing it. In the docker-compose.yml file it should be mounting your local source code into the container here If you want to confirm, try running this command: It will open a shell into the container, see if the file is there: |
Oh, I didn't even check today, assuming nothing changed for me. Yeah, that file exists, app/ is totally populated now, it was empty before your change. So i tried running it manually, like so:
|
I'd clear, update, and delete everything and try again
|
done, and same result still. edit: i've also tried converting entrypoint.sh carriage returns to unix, building and running; I see a lot of suggestions for that, but no change. |
same problem here with windows 10 |
"(sd-inf) E:\stable-diffusion\outpaint1-stablediffusion-infinity" Are you running docker from the windows command prompt? That does not work for me, I run into that OMP error. I run using the Ubuntu command line from the microsoft store https://www.microsoft.com/store/productId/9MTTCL66CPXJ
and also in the Docker Desktop settings -> Resources -> WSL Integration ->" Enable Integration with my default WSL distro " is checked I would clone from that Ubuntu command line and try again. |
You don't have any WSL 2 distro. Please convert a WSL 1 distro to WSL 2, or install a new distro and it will appear here. |
I've tried it in an windows cmd as admin, as well as the miniconda console. WSL Integration is checked, but also says "You don't have any WSL 2 distro. Please convert a WSL 1 distro to WSL 2, or install a new distro and it will appear here." Not too interested in installing Ubuntu for this, but thanks for the help all the same! |
I noticed you misspelled entrypoint.sh as 'enrypoint' there. You would just run it as If you wanted to try running it from "docker-compose run sd-infinity bash" again as before. But you still might run into the OMP error running from that windows command line. Also, it's Ubuntu running as a windows app ( not dual booting, but it can be a bit fincky getting docker command line to show up from the ubuntu app command line ) |
Yeah, I think I'm going to bail out here, that's too much os-inception for this to make any sense. |
the same but thanks (base) C:\AI-New\infinity\stablediffusion-infinity-1\docker>docker-compose run sd-infinity bash |
Does not work. This should work:
|
how to cd in ubuntu? |
To get docker for windows setup with ubuntu, have to follow https://docs.docker.com/desktop/windows/wsl/ and then run docker-compose using the windows ubuntu app https://www.microsoft.com/store/productId/9MTTCL66CPXJ |
@Miro88cz your C drive would be mounted under /mnt/ |
@tpsjr7 : I was running it from Windows Terminal which uses Powershell 7 on my machine. I tried with ubuntu as suggested in post #33 (comment) but I'm struggling with it. How did you run docker-compose build and docker-compose up? As your unix user or as root? If I use it as my unix user, I got this error message :
If I use
I was expecting a chmod to be permitted as root |
Trying to run the docker commands in a WSL2 ubuntu terminal now, and I get this error when running the first docker command
|
You can try changing the version from 3.9 to 3.3 in the docker-compose.yml, 3.3 also works for me. Also I'm using
|
@tpsjr7 I did try changing the version in .yml file, and ran into other issues. Though I know what the problem is now, my docker-compose version is 1.29.2. I couldn't update the package though, either through apt-get or pip. Both seem to think the latest version is 1.29.2, even though its clearly not. I had to download it off of their git repo, but the good news is its finally working. Thank you very much for the help! |
I can't run it either. Will leave this here in case it helps: System info: Using docker desktop with WSL 2 backend. Tried to docker compose in both powershell and CMD prompt with same results:
|
If you want to use docker, only these two options currently work:
Things that don't work at the moment:
|
That is what I tried but I have an |
@lkwq007 can you close this issue. I think the previous discussion in here will confuse people. I've updated the README on how to setup, if there's still issues they can open a new ticket. |
@tpsjr7 |
Thanks, I got it running now thanks to docker-run.sh . |
Hello.
I am brand new to Docker, and this is my first attempt at using it.
I am on Windows 10, admin command prompt.
I have run the commands as shown under the install directions. The first two command work, however, I am getting the following error when I try to 'compose up':
What information can I give to help troubleshoot? Since I am on Win10, I am having issues locating the directories in the WSL system. To be honest, I am not even sure I am using the right words to describe the above sentence.
Any help is welcome.
The text was updated successfully, but these errors were encountered: