WisdomShell / codeshell

A series of code large language models developed by PKU-KCL

Home Page:http://se.pku.edu.cn/kcl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

VVIP1024 opened this issue · comments

commented

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

commented

报错的原因找到了,是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"