New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: How to compile lightseq #445
Comments
I try to follow the instruction of this doc docs/build.md and another error occur. /usr/local/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.a(H5.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/local/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status HDF5 was installed by: $ curl -O -L -C - https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_12_0.tar.gz
$ tar -xzvf hdf5-1_12_0.tar.gz
$ cd hdf5-hdf5-1_12_0
$ ./configure --prefix=/usr/local/hdf5 "CFLAGS=-fPIC" "CXXFLAGS=-fPIC"
$ make
$ make install
$ cd .. |
Have you added the hdf5 path to $PATH before building? |
There might be something wrong with my env. I used docker container and fixed this error. Thanks a lot @Taka152 . Two more questions, how can I reproduce this speedup of Transformer-Big mentioned in here. What are the |
|
Thanks a lot. |
I try to compile lightseq by using
build.sh
, but run into the following problem:Branch
master
and tagv3.0.1
both failed.Did I miss something? How can I manage to compile this project?
The text was updated successfully, but these errors were encountered: