Skip to content

Conversation

@LittleLittleCloud
Copy link
Contributor

No description provided.

@LittleLittleCloud
Copy link
Contributor Author

@PGijsbers Hi can you check why ci/cd build is cancelled all the time?

@PGijsbers
Copy link
Collaborator

Not entirely sure. I just merged #520, maybe you can rebase your PR on top of the updated master and see if the error persists?

@LittleLittleCloud
Copy link
Contributor Author

@PGijsbers I finally got some time to fix this PR. Could you review it.

Copy link
Collaborator

@PGijsbers PGijsbers left a 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.

#!/usr/bin/env bash
HERE=$(dirname "$0")
MLNET='mlnet'
MLNET_PACKAGE='mlnet-linux-x64'
Copy link
Collaborator

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}")

Copy link
Contributor Author

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)

Copy link
Collaborator

@PGijsbers PGijsbers Aug 26, 2023

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.

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