miaoec

Results 2 issues of miaoec

增加在docker容器中部署的支持 ### 构建镜像 ```bash docker build -t chatglm . ``` ### 运行镜像 ``` docker run -v /the/model/path:/model -p 7860:7860 chatglm ``` 通过/the/model/path指定宿主机的模型地址 ### gradio服务地址 ``` http://127.0.0.1:7860/ ```

“在这里注意到 goto again 语句,结合上下文可得若正在进行扩容,就会不断地进行迁移。待迁移完毕后才会开始进行下一次的扩容动作”这句话是不是有点问题呀? ```golang if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) { hashGrow(t, h) goto again // Growing the table invalidates everything, so try again } ``` 这里goto...