-
Notifications
You must be signed in to change notification settings - Fork 879
[Utils] Install script: Fix #1080 #1084
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
Conversation
…dge#1080 Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
76a4e10
to
7db8c7e
Compare
Codecov Report
@@ Coverage Diff @@
## master #1084 +/- ##
==========================================
- Coverage 70.34% 70.33% -0.02%
==========================================
Files 116 116
Lines 15929 15929
Branches 3729 3729
==========================================
- Hits 11206 11204 -2
- Misses 2605 2612 +7
+ Partials 2118 2113 -5
Continue to review full report at Codecov.
|
@juntao It seems that the support for aarch64 is there for the beta versions and not for the stable one. |
Yes. So I expect if I pass the beta version number to the install script, I should be able to install the extensions. Is that correct? |
Yes, that should be the case. |
Another could be the addition to install script to check whether the image-deps have a version greater than or equal to |
That is probably a better solution. If the user wants to install an earlier version, we cannot install extensions anyway. |
…arch Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
…cing Issue: `Sourcing not found in /github/home/.bashrc ` Expected: Script should not exit Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
curl -sSf https://raw.githubusercontent.com/SAtacker/WasmEdge/install_script/utils/install.sh | bash -s -- -e all --version=0.9.1-beta.1 --tf-version=0.9.1-beta.1 --tf-deps-version=0.9.1-beta.1 --tf-tools-version=0.9.1-beta.1 --image-version=0.9.1-beta.1 --image-deps-version=0.9.1-beta.1 |
https://github.com/second-state/WasmEdge-tensorflow-deps/releases/tag/0.9.1-beta.1 does not have TF deps for aarch64 while beta-2 has. CC @hydai |
* Extensions for image and tensorflow are available Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
Hi @SAtacker |
Thanks, I'll then make it OS specific. |
Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
It should work now. Thanks all! |
The |
Can you update the test installer link? |
Yes, just to test right? |
Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
Thanks, humble reminder that the last commit was only to test the CI please don't merge. |
Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
This reverts commit 3342c00. Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
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.
I tried it on an AWS t4g instance. It works. Thanks.
flows summarize |
Hello, I am a serverless review bot on flows.network. Here are my reviews of code commits in this PR. The set of reviews includes multiple patches for different files in a GitHub repository. The changes introduced vary from adding support for new architectures or versions to resolving and preventing potential issues. However, some of the patches lack proper testing or an explanation for why changes were made, which could cause unforeseen issues. Additionally, some patches include conditional changes that require further examination, and it is essential to review or test the patches before merging them. Finally, one of the patches is a revert patch, which does not provide an explanation for why the change was made in the first place. DetailsCommit 1This is a patch for a single commit titled "Install Script: Add Linux aarch64 support for extensions" which modifies the Potential problems to consider during the review could include:
Commit 2This GitHub patch is for one specific commit in the The changes added a As for potential problems, since the patch is only for this specific commit, we don't know what other changes are present in the codebase. Also, the script may contain other bugs which are not detected by the patch, so it would be best to perform testing after applying the patch. Commit 3This patch seems to add support for aarch64 architectures in the installation script. It is adding checks to verify the compatibility of Image and Tensorflow extensions versions with aarch64 architecture. If they are compatible, only then they get installed. The potential problem could be that the patch is not tested on other architectures, so it could break the installation process for other architectures. Commit 4This patch is for the uninstall.sh file in the "utils" folder of a GitHub repository. It resolves an issue where the shell configuration not containing sourcing results in the script exiting with an error. The patch adds a condition that if the sourcing is not found in the shell configuration, it prints a warning message instead of exiting the script. Potential problems that can be identified are:
Commit 5This patch adds an installation step for version 0.9.1-beta.1 of WasmEdge and its extensions for image and TensorFlow. It also includes a test for arm extension installation. A potential problem could arise if the installation step fails or if the new version and its extensions cause compatibility issues with the existing codebase. Additionally, it may be worthwhile to ensure that the installation process does not cause any conflicts with other dependencies or packages on the system. Commit 6This is a patch for the As for potential problems, it seems that this patch replaces some existing lines of code in the Commit 7This patch modifies the A potential problem with this change is that it only updates the uninstall script URL if the Commit 8This patch is adding a condition in the Based on this patch, there do not appear to be any potential problems or issues. Commit 9This is a revert patch, reverting commit 3342c00. The key change is in the |
I will now say the magic words to summon the GPT4 review bot! flows summarize |
Hello, I am a serverless review bot on flows.network. Here are my reviews of code commits in this PR. Overall Summary: The provided patches introduce various changes to Potential Issues and Errors:
Important Findings:
It is essential to test these changes thoroughly with different system architectures to ensure the conditional checks are working as expected, and the user experience is smooth. Additional attention should be paid to the removal of compatibility checks and the implementation of proper error messages for unsupported installations. Furthermore, future-proofing the compatibility checks by using a semver library for version comparisons should also be considered. DetailsCommit 1This patch is for updating the Summary of changes:
Potential issues:
Commit 2The key changes in this patch are:
The changes are summarized below:
Potential problems:
However, the changes improve the architecture detection and handling for Linux systems, making it more flexible and easier to manage. Commit 3Summary of key changes:
Potential problems:
Commit 4Summary: Key Changes:
Potential Problems: Commit 5This patch introduces the following key changes:
Potential problems:
Commit 6Summary of key changes:
Potential problems:
Apart from these points, the changes seem to be in line with the intended behavior of disabling Tensorflow installation for aarch64 architecture. Commit 7This GitHub patch modifies the Key Changes:
Potential Problems:
To sum up, there's only one significant change in the patch, but it could potentially cause problems by pointing to a fork instead of the original repository. Commit 8This GitHub patch, titled "[Utils] Install Script: Skipping empty binary names", is a single-commit change that modifies the Key Changes:
Potential Problems:
Conclusion: Commit 9Summary of Key 9F73 Changes:
Potential Problems:
|
Fix #1080
Testing
Install:
curl -sSf https://raw.githubusercontent.com/SAtacker/WasmEdge/install_script/utils/install.sh | bash