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

Unable to start the AI server via docker #10

Open
aaswan opened this issue Jun 6, 2023 · 0 comments
Open

Unable to start the AI server via docker #10

aaswan opened this issue Jun 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@aaswan
Copy link

aaswan commented Jun 6, 2023

Following https://github.com/graykode/ai-docstring#1-run-the-container-for-the-model-inference-server
when I run

docker run -it -d -p 5000:5000 --memory 2g --memory-swap -1 graykode/ai-docstring:cpu

I dont see any containers running via

docker ps -a

I got the following logs

docker logs -t <exited container name>

OSError: Can't load config for 'microsoft/codebert-base'. Make sure that:
'microsoft/codebert-base' is a correct model identifier listed on 'https://huggingface.co/models'
or 'microsoft/codebert-base' is the correct path to a directory containing a config.json file

@aaswan aaswan added the bug Something isn't working label Jun 6, 2023
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

1 participant