Skip to content

How to update third party library and test in docker?

mentat edited this page Mar 22, 2023 · 14 revisions
  1. change commit hash in requirement.txt for the particular library you want to update.

  2. Re-build the docker (during this re-build process is when third party library gets built) to create a new image from MIOpen's root directory.

    You can name your docker any thing you want except for ci (rocm/miopen:ci) since this name is reserved for MIOpen's continuous integration (CI) process.

    eg: ~/MIOpen$ docker build -t your-docker-miopen-image .
    
  3. Push that docker image created in step (2) to docker hub. You need dockerhub account. If you do not have one. Ask someone in the team who has one to push the new image for you.

  4. wait till the docker is completely pushed to docker hub. You can view your recently pushed docker on https://hub.docker.com/r/rocm/miopen/tags.

  5. Go to http://micimaster.amd.com/job/MLLibs/job/MIOpen/

  6. Make sure to log in to your account.

  7. Select your branch

  8. click Build With Parameter

  9. scroll to end till you see DOCKER_IMAGE_OVERRIDE

  10. paste the docker image name you created. eg: rocm/miopen:bg_lwpmiopen-20-ck

  11. Click Build