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

Add support for Alpine on LGBM #145

Merged
merged 28 commits into from
Mar 14, 2024
Merged

Conversation

Renato2000
Copy link
Contributor

This commit bumps lightgbm to v0.9.14 and makes it possible to use LGBM on nodes with AMD64 architecture using Alpine.

This commit bumps lightgbm to v0.9.14 and makes it possible to use LGBM on nodes with AMD64 architecture using Alpine.
Copy link
Collaborator

@artpdr artpdr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Be mindful of the directory structure that we choose in the other repo and adopt it here accordingly.

Copy link

codecov bot commented Feb 28, 2024

Codecov Report

Attention: Patch coverage is 90.90909% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 80.52%. Comparing base (fe58343) to head (120f159).

Files Patch % Lines
...edzai/openml/provider/lightgbm/Infrastructure.java 72.72% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #145      +/-   ##
============================================
+ Coverage     80.37%   80.52%   +0.15%     
- Complexity      469      479      +10     
============================================
  Files            48       50       +2     
  Lines          1620     1648      +28     
  Branches        157      158       +1     
============================================
+ Hits           1302     1327      +25     
- Misses          231      233       +2     
- Partials         87       88       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Renato Azevedo added 3 commits February 29, 2024 13:18
This commit changes the paths when loading the dependencies on amd64 architecture in order to reflect the changes made on the jar.
This commit changes the path when loading the dependencies on amd64 architecture in order to reflet the change on the jar structure from amd64/alpine to amd64/musl.
Renato Azevedo added 2 commits March 13, 2024 14:24
This commit changes the code structure by adding a new enum representing the libc implementation available. In order to detect the libc implementation, an env variable FDZ_OPENML_JAVA_LIBC must be set with either 'glibc' or 'musl', and using glibc if this env variable is not defined. This new enum is also used along side with the cpu architecture enum to represent the infrastructure running the code.
Renato Azevedo and others added 3 commits March 14, 2024 10:07
This commit includes information in the README about the new ENV variable used to load dependencies for musl-based OS.
Renato Azevedo added 2 commits March 14, 2024 13:42
This commits changes the if statment on the method Infrastructure#getLgbmNativeLibsFolder into a switch statement.
@gandola
Copy link

gandola commented Mar 14, 2024

LGTM

@artpdr artpdr merged commit 4ab3e8e into feedzai:master Mar 14, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants