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

Update openvino workflows #30

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

apepkuss
Copy link
Member

@apepkuss apepkuss commented Sep 6, 2023

In this PR, the build_openvino_mobilenet and build_openvino_road_seg_adas workflows are updated to use WasmEdge 0.13.4. In addition, the install_openvino script is improved.

Copy link
Member

juntao commented Sep 6, 2023

Hello, I am a code review bot on flows.network. Here are my reviews of code commits in this PR.


Summary:

The patch includes updates to the installation script for OpenVINO and the workflows. The key changes involve updating the OpenVINO version and modifying the PATH environment variable.

There are several potential problems identified in the patch. Firstly, there is no error handling or validation for the wget command used for downloading the GPG key file. This may lead to undetected issues during the download process. Secondly, there is no check or handling for the success of the "apt-key add" command, which may cause problems if the GPG key is not added successfully. Additionally, there is no verification step for the success of the "apt update" command, potentially leading to issues with package repository updates. Finally, there is no explanation provided for why the PATH environment variable is modified to include "/usr/lib/x86_64-linux-gnu", which should be clarified.

Two important findings in the patch are the removal of OPENVINO_VERSION and OPENVINO_YEAR variables from the "Install OpenVINO" step, with no clear explanation provided. This may require further investigation. Additionally, the updated VERSION environment variable in the "Install WasmEdge with Wasi-NN OpenVINO plugin" step should be evaluated for compatibility and any potential breaking changes.

In summary, it is recommended to address the potential problems identified, provide clarification on the reasons for the changes, and ensure compatibility and stability in the updated workflow.

Details

Commit 83f3f2a666f53e31cbf010907df7231b8224a52a

Key changes in the patch:

  1. The installation script for OpenVINO has been updated to use version 2023.0.2 instead of 2023.0.0.
  2. The PATH environment variable is updated to include "/usr/lib/x86_64-linux-gnu".

Potential problems:

  1. The patch does not include any error handling or validation for the wget command. If there is an issue with downloading the GPG key file, it may not be detected or handled properly.
  2. There is no check or handling for the success of the "apt-key add" command. If the GPG key is not added successfully, it may cause issues during the subsequent "apt update" command.
  3. There is no verification step for the success of the "apt update" command. If the package repositories are not updated properly, it may lead to issues during the installation of openvino.
  4. It is unclear why the PATH environment variable is modified to include "/usr/lib/x86_64-linux-gnu" at the end of the installation script. It would be helpful to provide a comment explaining the reason for this change.

These are the most important findings in the patch. It is recommended to address the potential problems mentioned above to ensure a smooth and reliable installation process for OpenVINO.

Commit 8cb98bf3618f76ecc22b543c7df73d6b9460765d

Key Changes:

  • The OPENVINO_VERSION and OPENVINO_YEAR environment variables have been removed from the "Install OpenVINO" step in both workflows.
  • The VERSION environment variable has been updated to "0.13.4" in the "Install WasmEdge with Wasi-NN OpenVINO plugin" step in both workflows.

Potential Problems:

  • The reason for removing the OPENVINO_VERSION and OPENVINO_YEAR variables from the "Install OpenVINO" step is unclear. There may be an issue with the OpenVINO installation process that needs further investigation.
  • The updated VERSION environment variable in the "Install WasmEdge with Wasi-NN OpenVINO plugin" step indicates a newer version than before. It's necessary to ensure that this version is compatible with the rest of the project and does not introduce any breaking changes.

Overall, further clarification is needed on the reasons for the changes and any potential impact they may have on the project.

@apepkuss apepkuss requested a review from q82419 September 6, 2023 08:36
@apepkuss
Copy link
Member Author

apepkuss commented Sep 6, 2023

@q82419 Could you please help review this PR? Thanks a lot!

@hydai hydai merged commit 841fac1 into second-state:master Sep 6, 2023
4 checks passed
@apepkuss apepkuss deleted the update-openvino-workflows branch September 6, 2023 22:19
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