Skip to content
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

Immediate Crash on MacOS #11

Open
Servinjesus1 opened this issue Jul 20, 2023 · 2 comments
Open

Immediate Crash on MacOS #11

Servinjesus1 opened this issue Jul 20, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Servinjesus1
Copy link

I'm attempting to use this on Mac Ventura and running into a very similar issue to #1. The output is the same, but the error is not with memory, or at least Docker Desktop's default memory on my computer is 8Gb, not 2, so I would have expected that to be enough.

The error happens immediately, too, which seems odd if it were to be a memory issue.

Specifically, I am initializing the image with docker run -it -d -p 5003:5000 graykode/ai-docstring:cpu (can't download the Weights to run the ngrok notebook). I use port 5003 locally since Apple uses 5000 for AirDrop.

I get the error:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

followed by what appears to be the image hash, identifier, etc.

I have my setting in VSCode set to:

"ai-docstring.ServerEndpoint": "127.0.0.1:5003"

The image seems to run fine, but upon calling Generate Docstring, I get an Error: socket hang up.

@Servinjesus1 Servinjesus1 added the bug Something isn't working label Jul 20, 2023
@jheagbayani
Copy link

jheagbayani commented Aug 6, 2023

docker run -it -d -p 5003:5000 --platform linux/amd64 graykode/ai-docstring

For M1, i've found that the above code successfully runs the image. However, also using port 5003, I get the following error: Error: socket hang up

@Servinjesus1
Copy link
Author

As the last modifications to this add-on were nearly 3 years ago, I am concluding that this add-on is abandoned and will be looking elsewhere for AI docstring generation...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants