-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Update mlnet #522
base: master
Are you sure you want to change the base?
Update mlnet #522
Conversation
@PGijsbers Hi can you check why ci/cd build is cancelled all the time? |
Not entirely sure. I just merged #520, maybe you can rebase your PR on top of the updated |
@PGijsbers I finally got some time to fix this PR. Could you review it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good at first glance, but I have a minor suggestion to not restrict the installation unnecessarily. I'll try out your changes when I am back in the office next week.
@@ -1,6 +1,6 @@ | |||
#!/usr/bin/env bash | |||
HERE=$(dirname "$0") | |||
MLNET='mlnet' | |||
MLNET_PACKAGE='mlnet-linux-x64' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to adjust this so it also works on ARM (and preferably also macos)? For example by storing the result of:
import sys
import platform
platform = {"linux": "linux", "darwin": "osx"}.get(sys.platform)
machine = {"arm64": "arm64", "x86_64": "x64"}.get(platform.machine())
print(f"mlnet-{platform}-{machine}")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep that would work. You might need to target to different platform for arm64 and x64 though
available packages
- mlnet-linux-x64
- mlnet-linux-arm64
- mlnet-macos-x64
- mlnet-macos-arm64 (for m-seriese chip)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That should be in the above script already :) and based on the installation docs the mac abbreviation is osx instead of macos.
No description provided.