ai-docstring
ai-docstring copied to clipboard
Immediate Crash on MacOS
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
.
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
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...