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

Android studio安装自己本地部署的codeshell的时候,tool.getToolWindow把偶哦为空指针,效果上是无法打开交互窗口,在intellij上是正常调试运行的,求大佬赐教,感谢! #32

Open
Yuumi-lulu opened this issue Mar 22, 2024 · 1 comment

Comments

@Yuumi-lulu
Copy link

Android studio安装自己本地部署的codeshell的时候,tool.getToolWindow把偶哦为空指针,效果上是无法打开交互窗口,在intellij上是正常调试运行的,求大佬赐教,感谢!

@beeant0512
Copy link

@Yuumi-lulu 请教 按官方的方式,models是git clone的 CodeShell-7B-Chat 直接挂在进去,但是启动后还是会重新下载模型,是哪儿的使用方式不对吗?

docker run --gpus 'all' --shm-size 1g -p 9090:80 -v $HOME/models:/data
--env LOG_LEVEL="info,text_generation_router=debug"
ghcr.nju.edu.cn/huggingface/text-generation-inference:1.0.3
--model-id /data/CodeShell-7B-Chat --num-shard 1
--max-total-tokens 5000 --max-input-length 4096
--max-stop-sequences 12 --trust-remote-code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants