Comments (14)
The Conda package is available now: https://anaconda.org/conda-forge/treelite
from treelite.
I submitted a Conda recipe to conda-forge today: conda-forge/staged-recipes#11926.
from treelite.
+1
from treelite.
+1
from treelite.
+1
from treelite.
- 1
from treelite.
+1
from treelite.
+1
from treelite.
@hcho3 How hard would it actually be to provide a conda installer for treelite?
@teju85 @dantegd FYI.
from treelite.
@canonizer I'm currently working on 1.0 release for PyPI. What is your use case for using Conda specifically?
from treelite.
Most rapids AI components don't support PyPI due to c++14
from treelite.
@trivialfis Thanks for clarification. I have no prior experience setting up a conda recipe. I wonder how difficult it is.
from treelite.
Would suggest adding this to conda-forge. Should add I'm biased as I work on the project. That said, conda-forge has become the defacto community Conda channel. It is also used to build packages in the Anaconda distribution. Many other domain specific channels (like rapidsai
) use conda-forge as their base.
When it comes to contributing a new recipe, we have a quickstart for contributing and a FAQ. For more comprehensive information conda-forge has docs and conda-build has even more docs. Plus there is an active Gitter channel and there are GitHub teams like the staged-recipes
team designed to walk you through the process.
Please let me know if you have any questions. 😄
from treelite.
@hcho3 the process is the following (based on https://conda-forge.org/#add_recipe):
- fork the repository https://github.com/conda-forge/staged-recipes
- create
treelite
folder inrecipes
- create
meta.yaml
with the package description and dependencies - create
build.sh
andbld.bat
to build on unix and windows.
Here is an attempt of conda-build for treelite: conda-forge/staged-recipes#11338.
Here are some remarks:
- the tar.gz archive for release 0.32 is missing
dmlc-core
source so I had to use git_url instead of source tag in themeta.yaml
- openmp support in conda is explained here: https://conda-forge.org/docs/maintainer/knowledge_base.html#openmp
- on osx, I had patch your CMakeLists.txt to include OpenMP headers (based on: https://cmake.org/cmake/help/latest/module/FindOpenMP.html).
- It might be better to build dmlc-core separately and include it in treelite CMake using exported targets, this way you could use dmlc package which is already available on conda.
from treelite.
Related Issues (20)
- treelite::ConcatenateModelObjects() ought to set threshold_type and leaf_output_type fields
- Clean up serialization logic
- Support XGBoost gblinear Booster HOT 1
- Release version 3.3.0
- Release version 3.4.0
- Replace setup.py with pyproject.toml
- Treelite crashes with XGBoost 2.0 dev
- Document Treelite serialization format.
- Adopt Four-Document System to organize docs
- Refactor sklearn loader using mix-in classes
- Implement v4 serialization format
- Revamp JSON importer to make it easy to use
- Drop "max_index" postprocessor
- Add directory exist check in _load_lib for add_dll_directory HOT 1
- scikit-learn 1.4.0 breaks unit test HOT 1
- Multi-class, multi-output RandomForestClassifier in scikit-learn produces error
- Test multi-target models where each tree predicts multiple regression targets HOT 1
- Export model back to scikit-learn HOT 1
- NumPy 2.0 support HOT 4
- xgboost json model fails to load HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from treelite.