Coder Social home page Coder Social logo

Comments (3)

sdshq avatar sdshq commented on May 18, 2024

`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.

from lac.

qingmei-migu avatar qingmei-migu commented on May 18, 2024

`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?

from lac.

qingmei-migu avatar qingmei-migu commented on May 18, 2024

原文:
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?

from lac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.