Commit graph

11 commits

Author SHA1 Message Date
onepick
c5edd3fdf0 Fix cmake config error
Signed-off-by: onepick <jiajuku12@163.com>
2025-04-18 15:43:03 +08:00
onepick
6a7624fe4a Change the logic to build device since cuda is as default
Signed-off-by: onepick <jiajuku12@163.com>
2025-04-17 19:44:05 +08:00
onepick
97f1995696 Fix some build error for ROCM
1. Fix terrible logic in CMakeLists.txt
2. using the correct typedef for hip

Signed-off-by: onepick <jiajuku12@163.com>
2025-04-17 11:34:33 +08:00
Aubrey Li
63ca2fa84d xxHash: fix link error due to non-position-independent code
Add PROPERTIES POSITION_INDEPENDENT_CODE option to fix the
following error:

/usr/bin/ld: ../../third_party/xxHash/libxxhash.a(xxhash.c.o):
relocation R_X86_64_32S against `.rodata' can not be used when
making a shared object; recompile with -fPIC

Trying to link a non-PIC static library libxxhash.a into a
.so shared library, which is not allowed. The object file
xxhash.c.o must be recompiled with explicit -fPIC support.
2025-04-10 21:50:23 +08:00
Aubrey Li
45d20fa87b balance_serve: Add g++ to compiler list
In some OS distributions, g++ exists in the following form:

  # ls -l /usr/bin/g++*
  -rwxr-xr-x 4 root root 985784 Dec  9 12:51 /usr/bin/g++

So make sure to add g++ to the compiler list as well.
2025-04-09 11:25:35 +08:00
qiyuxinlin
64de784328 format kvc2, delete quant_configs, move model_configs to ~/.ktransformers 2025-04-08 10:06:07 +00:00
Atream
9dd24ecd72 fix compile, add abi check to setup.py 2025-04-08 06:18:30 +00:00
Atream
fa87c1aeea
Update CMakeLists.txt 2025-04-07 10:32:30 +08:00
Atream
ad2009425c
Update CMakeLists.txt 2025-04-07 10:32:12 +08:00
Atream
25cee5810e add balance-serve, support concurrence 2025-03-31 22:55:32 +08:00
Atream
8d0292aa44 refactor folders 2025-03-31 22:45:37 +08:00