Closed atheo89 closed 2 months ago
/lgtm it fixed gha!
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: harshad16
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Related to: https://issues.redhat.com/browse/RHOAIENG-9596
Description
We have the following error in ocp-ci and locally, when we try to fetch the tensorflow python package from repo url. :
Most probably, the issue seems to stem from the fact that the custom source URL we are using for tensorflow_rocm does not have the necessary metadata that pipenv uses to resolve and lock dependencies. When pipenv tries to find the specified package in the custom index, it fails because it doesn't find any matching version metadata.
This fix specify the direct URL to the wheel file in the Pipfile instead of using the custom index.
How has been tested
Run the following cmd to spin up the image:
podman run --rm -it -p8888:8888 ghcr.io/atheo89/notebooks/workbench-images:amd-jupyter-tensorflow-c9s-python-3.9-resolve-tensorflow-rocm_3f5325cf541e01dc0b747432bd7ea99dd6614ec6
Create a new notebook and run:
pip show tensorflow_rocm
You should see the following:Run a test case, where it provided here: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/3rd-party/tensorflow-install.html#running-a-basic-tensorflow-example it should be run successfully
Merge criteria: