Skip to content
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

where is the inference_lib_dist and fluid_inference_lib? #9

Closed
zhusleep opened this issue Aug 3, 2018 · 3 comments
Closed

where is the inference_lib_dist and fluid_inference_lib? #9

zhusleep opened this issue Aug 3, 2018 · 3 comments

Comments

@zhusleep
Copy link

zhusleep commented Aug 3, 2018

原文:
make -j <num_cpu_cores> inference_lib_dist # 并发编译可提高速度, <num_cpu_cores>表示并发编译的线程数
问题:
How to profile the inference_lib_dist ? which form?
原文:
cmake -DPADDLE_ROOT=/path/to/fluid_inference_lib ..
问题:
If I use a paddle docker image, what should I do withe the fluid_inference_lib? where is file?

Thanks!

@sdshq
Copy link
Collaborator

sdshq commented Aug 3, 2018

`inference_lib_dist ' is a target of Paddle's Makefile. By making this target, it will generate the target files (headers and libs) in build/fluid_inference_lib directory.
Afterwards, when building LAC, you have to specify this directory in the CMake command line so that the linker could find the Paddle libraries.

@qingmei-migu
Copy link

`inference_lib_dist ' is a target of Paddle's Makefile. By making this target, it will generate the target files (headers and libs) in build/fluid_inference_lib directory.
Afterwards, when building LAC, you have to specify this directory in the CMake command line so that the linker could find the Paddle libraries.

but if I use a paddle docker image, I cannot find the target files

does this means, we can only install paddle from source code?

@qingmei-migu
Copy link

原文:
make -j <num_cpu_cores> inference_lib_dist # 并发编译可提高速度, <num_cpu_cores>表示并发编译的线程数
问题:
How to profile the inference_lib_dist ? which form?
原文:
cmake -DPADDLE_ROOT=/path/to/fluid_inference_lib ..
问题:
If I use a paddle docker image, what should I do withe the fluid_inference_lib? where is file?

Thanks!

did you solve the problem finally?

@Bond-H Bond-H closed this as completed Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants