Giter Club home page Giter Club logo

Comments (7)

hcho3 avatar hcho3 commented on July 28, 2024

Can you compile from the source? The binary package is outdated. I've been busy and haven't gotten a chance to update the binary.

from treelite.

ibustany avatar ibustany commented on July 28, 2024

Thank you for your quick reply. I did compile the source code to generate and generated the shared object library in treelight/lib/libtreelite.so. However, when I grep the contents for PredictInst, I only see the following:

/home/libs/treelite/lib$ nm -D libtreelite.so | egrep PredictInst
000000000033c850 u _ZGVZN4dmlc2io15LocalFileSystem11GetInstanceEvE8instance
00000000000ea9b0 T _ZN4dmlc2io10FileSystem11GetInstanceERKNS0_3URIE
000000000033c840 u _ZZN4dmlc2io15LocalFileSystem11GetInstanceEvE8instance

Do I need to build another shared object that contains the runtime API's?

Greatly appreciated,
Ismail

from treelite.

hcho3 avatar hcho3 commented on July 28, 2024

Look for libtreelite_runtime.so

from treelite.

ibustany avatar ibustany commented on July 28, 2024

Thank you found it under treelite/runtime/native/lib.
So, I simply need to (1) include "c_api_runtime.h" in my code and (2) link libtreelite_runtime.so and should be good to go, right?

from treelite.

hcho3 avatar hcho3 commented on July 28, 2024

Yes

from treelite.

ibustany avatar ibustany commented on July 28, 2024

Thank you!
Very much appreciated

from treelite.

hcho3 avatar hcho3 commented on July 28, 2024

No problem. Thanks for using Treelite!

from treelite.

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.