text-generation-inference icon indicating copy to clipboard operation
text-generation-inference copied to clipboard

text-generation-inference False make install exception

Open tangliangwu opened this issue 1 year ago • 1 comments

System Info

text-generation-inference version: Git Clone Main Branch python version: 3.10.15 protoc version : libprotoc 3.21.12 rust version: rustc 1.80.1 (3f5fd8dd4 2024-08-06)

Information

  • [ ] Docker
  • [X] The CLI directly

Tasks

  • [ ] An officially supported command
  • [ ] My own modifications

Reproduction

none

Expected behavior

git clone https://github.com/huggingface/text-generation-inference.git BUILD_EXTENSIONS=False make install error: --- stderr thread 'main' panicked at /home/spfx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/aws-lc-sys-0.23.1/builder/cc_builder.rs:355:13:

COMPILER BUG DETECTED

Your compiler (cc) is not supported due to a memcmp related bug reported in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189. We strongly recommend against using this compiler. EXECUTED: true ERROR: OUTPUT:

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: failed to compile text-generation-router-v3 v2.4.2-dev0 (/home/spfx/text-generation-inference/backends/v3), intermediate artifacts can be found at /home/spfx/text-generation-inference/target. To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

tangliangwu avatar Dec 06 '24 03:12 tangliangwu

https://forum.mmm.ucar.edu/threads/solved-wrf-compiling-problem-cc.9369/ Try this dude, it works for me

xmanners avatar Mar 22 '25 03:03 xmanners