-
Notifications
You must be signed in to change notification settings - Fork 16
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 Run Failed - MacOS ARM64 Image #35
Comments
Thanks for bringing this to our attention! I see the problem stems from the volume mapping for selfie-ui. Your workaround is on the right track by simplifying the Docker run command. Let's try this for now: docker run -p 8181:8181 \
-v $HOME/.cache/huggingface:/root/.cache/huggingface \
selfie:arm64 I'll dive deeper into optimizing our Docker setup for ARM64 and fixing the static files issue. Keep an eye out for updates, and please keep the feedback coming—it helps us improve! Let me know if the workaround does the trick or if you hit any more snags. |
Thank you for the workaround suggestion. Unfortunately, I'm still encountering the same error message.
|
Hey @usama-asfar, thanks for flagging this This might help with a Docker, but, due to current limitations with Docker on macOS, direct access to Metal APIs is not available for containers. As a result, applications requiring intensive graphics processing may experience reduced performance compared to running natively on macOS. So if you give more info on your original issue it might be better to resolve it, then use Docker on Mac for inferences due to performance. |
I have encountered into another issue. https://github.com/vana-com/selfie/pull/36. Here is the complete log.
My original issue was with package version configuration within my existing projects (version-sensitive). I had to switch between package versions in the workspace, and it's quite a pain. Thank you for your support, @volod-vana. If this issue persists or if it seems to be a system/configuration problem is specific only to me, I will switch back to running natively on my machine. |
Hey @usama-asfar thanks for the details and for your patience. I did update that PR again, can you please update and try again? I'm looking into using conda for dev environment on mac for better performance, but so far I'm getting segmentation faults when running inferences that way. I will update you once that available or if we will find some other solution that will not require switching between package versions. |
Although the build was successful, it failed with the same error. Let's keep the issue open and please keep me updated here. I will set up Selfie locally. Thank you @volod-vana.
|
Hi, Due to conflicts in local package versions with existing projects, unexpected behavior occurred with the local setup. Therefore, I decided to use Docker from the latest commit.
Please let me know if there is any additional information you would like me to provide. Thank you.
Log
The text was updated successfully, but these errors were encountered: