| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
We develop under:
Please use tools/env.sh to create python venv, then source venv/bin/activate to build engine.
We make sure all things work fun under docker, and recommend using it to develop and deploy.
docker run --privileged --net=host --ipc=host -it --rm -v /path/to/paddlespeech:/workspace --name=dev registry.baidubce.com/paddlepaddle/paddle:2.2.2-gpu-cuda10.2-cudnn7 /bin/bash
bash tools/venv.sh
For now we are using feature under develop branch of paddle, so we need to install paddlepaddle nightly build version. For example:
source venv/bin/activate python -m pip install paddlepaddle==2.4.2 -i https://mirror.baidu.com/pypi/simple ./build.sh
More details please see README.md under examples.
If using docker please check --privileged is set when docker run.
apt-get install libc6-dbgpushd tools
./setup_valgrind.sh
popdCMake Error at CMakeLists.txt:119 (string):
string sub-command STRIP requires two arguments.
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'paddle'
-- PADDLE_COMPILE_FLAGS=
CMake Error at CMakeLists.txt:131 (string):
string sub-command STRIP requires two arguments.
File "<string>", line 1
import os; import paddle; include_dir=paddle.sysconfig.get_include(); paddle_dir=os.path.split(include_dir)[0]; libs_dir=os.path.join(paddle_dir, 'libs'); fluid_dir=os.path.join(paddle_dir, 'fluid'); out=':'.join([libs_dir, fluid_dir]); print(out);
^
please install paddlepaddle >= 2.4rc
cd $YOUR_ENV_PATH/lib/python3.8/site-packages/paddle/fluid patchelf --set-soname libpaddle.so libpaddle.so
# my gcc version is 8.2 apt-get install gfortran-8
using gcc 8.2, gfortran 8.2.
apt-get install python3-dev
for more info please see here.
| Back | FazBrowse Home | New Git URL |