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

Build Conda Package for Khiops on Linux ARM64 Architecture #102

Open
lucaurelien opened this issue Sep 20, 2023 · 4 comments
Open

Build Conda Package for Khiops on Linux ARM64 Architecture #102

lucaurelien opened this issue Sep 20, 2023 · 4 comments
Labels
Priority/2-Low To do after P1 Status/StandBy The issue is on stand-by (usually blocked by external dependencies) Type/Feature A new feature request or an improvement of a feature

Comments

@lucaurelien
Copy link

Description

We already have a Conda macOS package compatible with the ARM64 architecture. However, we currently lack a Linux ARM64 version. This is important for Mac users who prefer running Khiops in a Docker container (to be based on a Linux-ARM64 image).

Justification

I conducted a performance benchmark comparing the native Conda installation of Khiops on macOS with an emulated Docker Linux-AMD64 image. The results are as follows:

  • Native Conda installation on macOS ARM64: The supervised Adult.txt scenario takes approximately 3 seconds.
  • Emulated Docker Linux-AMD64 image: The same scenario takes approximately 50 seconds.
    The execution time in the container may be degraded due to Docker overheads, but the inadequacy of the architecture is likely to be the main cause of performance differences.

These results show that running Khiops on a Linux-ARM64 architecture container might significantly improve performance.

@folmos-at-orange folmos-at-orange added Status/Draft The issue is still not well defined Type/Feature A new feature request or an improvement of a feature labels Sep 20, 2023
@folmos-at-orange folmos-at-orange changed the title Request for Building a Conda Package for Khiops on Linux ARM64 Architecture Building Conda Package for Khiops on Linux ARM64 Architecture Sep 22, 2023
@folmos-at-orange folmos-at-orange changed the title Building Conda Package for Khiops on Linux ARM64 Architecture Build Conda Package for Khiops on Linux ARM64 Architecture Sep 22, 2023
@folmos-at-orange
Copy link
Member

Note that runners for Linux ARM are not planned in GitHub. So we either do this manually or with a self hosted runner or by cross-compiling (always a tricky ordeal).

@popescu-v
Copy link
Collaborator

Perhaps work started on https://github.com/KhiopsML/khiops-python/tree/cross-compile-khiops-to-arm64 could be adapted to Linux in an easier way? Worth trying perhaps?

@folmos-at-orange
Copy link
Member

folmos-at-orange commented Nov 30, 2023

Now that they are planned, I'd prefer to wait for the Linux ARM runners

@lucaurelien
Copy link
Author

Now that they are planned, I'd prefer to wait for the Linux ARM runners

Should we join the waitlist?

@folmos-at-orange folmos-at-orange added Status/StandBy The issue is on stand-by (usually blocked by external dependencies) Priority/2-Low To do after P1 and removed Status/Draft The issue is still not well defined labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority/2-Low To do after P1 Status/StandBy The issue is on stand-by (usually blocked by external dependencies) Type/Feature A new feature request or an improvement of a feature
Projects
None yet
Development

No branches or pull requests

3 participants