fireice009

Results 15 comments of fireice009

https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI https://github.com/ethereum/go-ethereum/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts

Using boto3(1.4.1), and running fake-s3 in https://hub.docker.com/r/lphoward/fake-s3/. Most operations such as head_object, get_object, put_object are ok. But calling client.list_objects throws an exception. ``` File "/usr/local/lib/python3.4/dist-packages/botocore/client.py", line 159, in _api_call return...

这边也碰到了同样的报错。 根据 https://github.com/THUDM/ChatGLM-6B/tree/main/ptuning 最小显存参数训练。 “模型部署”中的两种方式使用都是一样的报错。

> > 这边也碰到了同样的报错。 根据 https://github.com/THUDM/ChatGLM-6B/tree/main/ptuning 最小显存参数训练。 “模型部署”中的两种方式使用都是一样的报错。 > > 后面我尝试了CPU推理就成功了,代码如下: ` #model = AutoModel.from_pretrained("model", config=config, trust_remote_code=True).half().cuda() > > model = AutoModel.from_pretrained("model", config=config, trust_remote_code=True).float() > > prefix_state_dict = torch.load(os.path.join("output\checkpoint-20000", "pytorch_model.bin")) >...

> 你好,我是AI小白,也正在研究这些。 求教,有啥官方的文档,可以指导我训练自己的模型。大概做成一个私有的数据集,公司内部数据。 https://github.com/THUDM/ChatGLM-6B/tree/main/ptuning

同问。另外请问跟https://github.com/lm-sys/FastChat的vicuna关系是什么?

go-zero already has this logic, but the function 'gracefulStop' did not execute as expected. core/proc/signals.go ```go func init() { go func() { // https://golang.org/pkg/os/signal/#Notify signals := make(chan os.Signal, 1) signal.Notify(signals,...

> ```go > waitForCalled := proc.AddWrapUpListener(func() { > fmt.Println("wrap up start...") > time.Sleep(5 * time.Second) > fmt.Println("wrap up done") > }) > waitForCalled() > ``` waitForCalled() will block the flow,...

server.Start() will block the main thread. gracefulStop does not wait when i run `test()` in a new goroutine.