-
Notifications
You must be signed in to change notification settings - Fork 554
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
compiler error from source in linux cluster #458
Comments
Could you test us how you installed your GCC? |
I don't how to install GCC, because I use the cluster server. GCC is installed by other specify people. GCC version:
|
So your GCC is 11.2.0 However, from the cmake output:
it shows the GCC version is 8.5.0. Could you follow the code below to set the corresponding environment variables so that cmake can find the # Please change gcc_dir accordingly
gcc_dir=/ceph-fj/fangjun/software/gcc-12.2.0
export PATH=$gcc_dir/bin:$PATH
export CC=$gcc_dir/bin/gcc
export CXX=$gcc_dir/bin/g++
export LIBRARY_PATH=$gcc_dir/lib64:$LIBRARY_PATH
export LD_LIBRARY_PATH=$gcc_dir/lib64:$LD_LIBRARY_PATH
export C_INCLUDE_PATH=$gcc_dir/include
export CPLUS_INCLUDE_PATH=$gcc_dir/include |
try update to gcc 12.0.0 |
The command
|
I have update to gcc 12.0.0 follow the suggestion from @csukuangfj . |
Are you using the latest master? |
yes, I git clone it just now. |
Could you remove the build directory after setting the environment variables and re-try? |
If it throws errors again, please run
and post the detailed output. |
Also, please make sure the cmake logs show that you are indeed using GCC 12.0.0. |
yes, I post it here:
|
|
Please move sherpa-onnx/sherpa-onnx/csrc/CMakeLists.txt Lines 116 to 118 in 539b27e
to the line after sherpa-onnx/sherpa-onnx/csrc/CMakeLists.txt Line 145 in 539b27e
and rerun make VERBOSE=1 (No need to remove the build directory.) |
Could you make a pull-request once you fix it? |
I follow your suggestion, But error is same.
After modified , I post the CMakeLists.txt
|
Yes, if fixed it, I will pull request. |
Could you change
to
and re-try? Please post logs of |
The CMakeList.txt is as follows:
the error is as follows:
|
Please use cmake -DBUILD_SHARED_LIBS=ON ..
make -j4 It should work with shared libraries on your system. I will try to reproduce it. |
yes, solved it. thanks a lot @csukuangfj |
however, when I run the below command:
the output error is as follows:
|
please check the file size of your model |
Yes, I checked my model and found the size is very small. when I download the model, I forget that run this command However, I have a querstion, There are so many English models, which one has better synthesis effect? Do you have any recommendations? |
I suggest that you select a model that you prefer. There are no WERs for TTS models. So it is hard to say whether a model is better or worse. You can try all of the models at the following huggingface space. ![]() |
Yes, I see , I haven’t seen a Chinese-English bilingual tts. Is there such a vits tts model? |
I got the same error. Have you resolve it with static library? @shanguanma @csukuangfj |
I meet the same problem -- The C compiler identification is GNU 7.5.0
When I use GNU 12.1.0
still not work When i use GNU 7.5.0 , it's work |
@deyiluobo https://groups.google.com/g/sparselizardforum/c/bfmP65SP9gE
https://www.gnu.org/software/libc/manual/html_node/Single_002dThreaded.html |
I am rebuilding the static onnxruntime lib with a lower version gcc, i.e., GCC 8. Please wait for a moment. |
@shanguanma @magicse @xiayezi2013 @deyiluobo Could you try the latest master? It should be fixed via #587 |
hi @csukuangfj I had no problems from the very beginning and everything compiled and worked without problems. |
I want to run your tts model, I compiler sherpa-onnx follow the steps:
however, when I run this command:
cmake -DCMAKE_BUILD_TYPE=Release ..
,it occurs the below errors:cmake version is as follows:
The text was updated successfully, but these errors were encountered: