WisdomShell / codeshell

A series of code large language models developed by PKU-KCL
http://se.pku.edu.cn/kcl
Other
1.61k stars 120 forks source link

use WIsdomShell/TGI to make install, when Compiling text-generation-launcher, unresolved import `nix::sys::signal::Signal` #73

Closed VVIP1024 closed 7 months ago

VVIP1024 commented 7 months ago

我安装了nix包,但是还是报错?

VVIP1024 commented 7 months ago

报错的原因找到了,是nix的版本不对,https://github.com/huggingface/text-generation-inference/blob/main/launcher/Cargo.toml:nix = { version = "0.28.0", features = ["signal"] } 而项目提供的代码中:https://github.com/WisdomShell/text-generation-inference/blob/main/launcher/Cargo.toml:nix = "0.27.1"