forked from huggingface/text-generation-inference
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
System Info
- LTI-TGI fork
- Operating System: Springdale Open Enterprise Linux 8.6 (Modena)
- Kernel: Linux 4.18.0-372.32.1.el8_6.x86_64
- Architecture: x86-64
Information
- Docker
- The CLI directly
Tasks
- An officially supported command
- My own modifications
Reproduction
- Run
(base) $ bash setup_scripts/conda_server.sh - Error received when building:
error: failed to compile `text-generation-router v0.9.5 (/home/abhinavr/git_clones/text-generation-inference/router)`, intermediate artifacts can be found at `/home/abhinavr/git_clones/text-generation-inference/target`
Caused by:
package `clap_derive v4.5.0` cannot be built because it requires rustc 1.74 or newer, while the currently active rustc version is 1.70.0
Either upgrade to rustc 1.74 or newer, or use
cargo update -p [email protected] --precise ver
where `ver` is the latest version of `clap_derive` supporting rustc 1.70.0
make: *** [Makefile:12: install-router] Error 101
Should be a simple fix, just bump up the rust version here: https://github.com/CoderPat/text-generation-inference/blob/2ee704adb0a90bc95caaaadce66d82eb3108cbc9/setup_scripts/conda_server.sh#L93C1-L93C47
mamba install -y -c conda-forge "rust>=1.74"
Expected behavior
Installation without error
Metadata
Metadata
Assignees
Labels
No labels