Public bug reported:

[ Impact ]

    miopen 7.2.4 (libmiopen1) brings bug fixes, performance improvements and
    internal modernisation compared to 7.1.1, as part of the ROCm 7.2 stack:

    - ASM/MISA kernel stride-adjustment fix: An incorrect stride adjustment
      in the assembly (MISA) kernel path was triggered when an output dimension
      equals one, leading to wrong convolution results in that edge case.

    - CK backward solver applicability fix: The Composable Kernel (CK)
      backward solver applicability check failed to account for the 
deterministic
      mode flag, allowing the solver to be selected when it should have been
      excluded. This could silently produce non-deterministic or incorrect
      backward-pass results when determinism was requested.

    - BatchNorm tuning correctness fix: Batchnorm tuning produced incorrect
      results in certain configurations. Also, batchnorm tuning is now exposed
      via `miopenSetTuningPolicy`, giving callers explicit control over the
      tuning strategy.

    - Generic search warm-up fix: The generic kernel search did not provide
      sufficient warm-up iterations for some kernels, causing the benchmark
      phase to capture cold-path timings and select sub-optimal kernels during
      the Find phase.

    - Portability and performance improvements: Multiple OpenCL kernels were
      ported to HIP. User database file locking was improved for network
      storage scenarios. Composable Kernel selection during tuning was refined,
      3D heuristics for gfx950 were added, and Winograd Fury 4.6.0 support
      for gfx12 was introduced for improved convolution performance.

    Packaging fixes included in this upload:

    - System DB path for Debian multiarch: The upstream GetSystemDbPath()
      implementation computed the wrong path under Debian multiarch layout
      (/usr/lib/share/miopen/db instead of /usr/share/miopen/db). A new
      packaging patch (0005-fix-system-db-path-for-multiarch.patch) and a
      corresponding d/rules variable bake in the correct FHS path, fixing
      autopkgtest failures in Full/CPU_CandidateSelection_NONE where all
      gfx942_ConvHipImplicitGemm3DGroupWrwXdlops tests threw
      "Could not open metadata file: /usr/lib/share/miopen/db/...".

    - *.tn.model format for libfdeep-dev 0.18.2: The upstream model files
      were exported with Keras 2; d/rules now converts them at build time to
      the Keras 3 format expected by libfdeep-dev >= 0.17.1.

    - Drop upstreamed gfx1151 patch: The gfx1151 support patch
      (0005-upstream-gfx1151-support.patch) is now part of upstream 7.2.4
      and was removed from the packaging patch series.

    Reverse dependencies: librocblas5, libmiopen1-tests.

[ Test Plan ]

    1. Build:
       - sbuild or dpkg-buildpackage succeeds.
       - dpkg --compare-versions 7.2.4+dfsg-0ubuntu1 gt 7.1.1+dfsg-0ubuntu1
         returns true.
       - No debian/*.symbols file is tracked for this package; confirm the
         SONAME (libMIOpen.so.1) is unchanged with objdump -p.
    2. Installability:
       - apt install libmiopen1 libmiopen-data.
       - Confirm reverse dependencies remain installable without rebuild.
       - Verify the system DB path resolves correctly:
           ls /usr/share/miopen/db/
         should list the *.tn.model and *.ktn.model files.
    3. Autopkgtest:
       - Run autopkgtest suite (libmiopen1-tests).
       - All tests pass.
       ```
       autopkgtest [18:23:06]: test libmiopen1-tests: -----------------------]
       autopkgtest [18:23:06]: test libmiopen1-tests:  - - - - - - - - - - 
results - - - - - - - - - -
       libmiopen1-tests     PASS
       autopkgtest [18:23:06]: @@@@@@@@@@@@@@@@@@@@ summary
       libmiopen1-tests     PASS
       2026-06-19 18:23:08 - Autopkg tests ended for miopen.
       Tests took: 1h 18m 18s.
       ```

[ Where problems could occur ]

    - ASM/MISA stride fix: Only triggered when an output spatial dimension
      is exactly 1. Workloads that never hit that shape are unaffected.
      Symptom: incorrect convolution output values for such shapes.
    - CK backward determinism fix: Applications that set the deterministic
      flag and previously worked around the broken solver selection silently
      may now observe the CK solver being excluded. Performance impact only
      (a slower fallback solver selected); numerical results will be correct.
    - BatchNorm tuning behaviour change: Callers invoking batchnorm tuning
      will now get correct (potentially different) optimised kernel selections.
      Symptom: different kernel chosen after re-tuning; any cached PerfDb
      entry for batchnorm may be superseded.
    - System DB path patch (packaging): If the patch is not applied cleanly
      the library will fall back to the wrong path and fail to load AI tuning
      model files at runtime. Symptom: errors like "Could not open metadata
      file" during convolution operations that require the system DB.

[ Other Info ]

 * No ABI breakage: the SONAME remains libMIOpen.so.1. The only header
   change is documentation rewording of the miopenTuningPolicy_t enum
   comments; enum values are unchanged.
 * This update is part of the coordinated ROCm 7.2 stack release.
 * PPA: https://launchpad.net/~bruno-bdmoura/+archive/ubuntu/miopen-7.2.4
 * Upstream version comparison:
   https://github.com/ROCm/MIOpen/compare/rocm-7.1.1...rocm-7.2.4
 * Target: stonking 26.10

** Affects: miopen (Ubuntu)
     Importance: Undecided
     Assignee: Bruno Bernardo de Moura (bruno-bdmoura)
         Status: New

** Changed in: miopen (Ubuntu)
     Assignee: (unassigned) => Bruno Bernardo de Moura (bruno-bdmoura)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2157988

Title:
  SRU: New upstream version 7.2.4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/miopen/+bug/2157988/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to