Uploaded image for project: 'Red Hat Enterprise Linux AI'
  1. Red Hat Enterprise Linux AI
  2. RHELAI-2384

pulp: Add ROCm 6.2.4 repositories

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • RHELAI 1.4 GA
    • Accelerators - AMD
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Add ROCm 6.2.4 repository mirrors to pulp.

      ie) https://internal.console.redhat.com/api/pulp-content/rhel-ai/rocm-$rocmver-rhel-9/ and https://internal.console.redhat.com/api/pulp-content/rhel-ai/amdgpu-$rocmver-rhel-9.4/

      where rocmver=6.2.4

      This can be done by following the instructions at

      https://docs.google.com/document/d/14suugrC-xpUkcLP82lXgU_NvWKvBhrYdIqLx3qbbP8c/edit?tab=t.0#heading=h.4ufby8vjnfah

      and, for example,

       
      #!/usr/bin/bash
      # Known to work on Fedora 40 (Nov 25 2024)
      RHEL_MAJOR=9
      RHEL_MINOR=4
      if [ $# -ne 1 ]; then
      echo "argument must be a ROCm version string (6.2, 6.2.3, 6.3, etc.)"
      exit 1
      fi
      rocmver=$1
      pulp rpm remote create --name rocm-$rocmver-rhel-${RHEL_MAJOR} --url https://repo.radeon.com/rocm/rhel${RHEL_MAJOR}/$rocmver/main/
      pulp rpm repository create --name rocm-$rocmver-rhel-${RHEL_MAJOR} --remote rocm-$rocmver-rhel-${RHEL_MAJOR} --autopublish
      pulp rpm distribution create --name rocm-$rocmver-rhel-${RHEL_MAJOR} --repository rocm-$rocmver-rhel-${RHEL_MAJOR} --base-path rocm-$rocmver-rhel-${RHEL_MAJOR}
      pulp rpm repository sync --name rocm-$rocmver-rhel-${RHEL_MAJOR}
      pulp rpm remote create --name amdgpu-$rocmver-rhel-${RHEL_MAJOR}.${RHEL_MINOR} --url https://repo.radeon.com/rocm/rhel${RHEL_MAJOR}/$rocmver/main/
      pulp rpm repository create --name amdgpu-$rocmver-rhel-${RHEL_MAJOR}.${RHEL_MINOR} --remote amdgpu-$rocmver-rhel-${RHEL_MAJOR}.${RHEL_MINOR} --autopublish
      pulp rpm distribution create --name  amdgpu-$rocmver-rhel-${RHEL_MAJOR}.${RHEL_MINOR} --repository amdgpu-$rocmver-rhel-${RHEL_MAJOR}.${RHEL_MINOR} --base-path amdgpu-$rocmver-rhel-${RHEL_MAJOR}.${RHEL_MINOR}
      pulp rpm repository sync --name amdgpu-$rocmver-rhel-${RHEL_MAJOR}.${RHEL_MINOR}
       
      

       

              prarit@redhat.com Prarit Bhargava
              prarit@redhat.com Prarit Bhargava
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: