Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732954 - sci-libs/miopen - AMD's Machine Intelligence Library
Summary: sci-libs/miopen - AMD's Machine Intelligence Library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 732952
Blocks:
  Show dependency tree
 
Reported: 2020-07-16 20:41 UTC by Dennis Schridde
Modified: 2021-11-10 09:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2020-07-16 20:41:50 UTC
MIOpen provides an implementation of neural network operations for AMD hardware.  It would be nice to have it in Gentoo.

DESCRIPTION="AMD's Machine Intelligence Library"
HOMEPAGE="https://rocmsoftwareplatform.github.io/MIOpen/doc/html/"
DEPEND="sci-libs/rocblas" # bug #732952
Comment 1 Larry the Git Cow gentoo-dev 2021-11-10 04:48:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1ba2684adfb3794f68467c03264d4e67ee3173e

commit b1ba2684adfb3794f68467c03264d4e67ee3173e
Author:     YiyangWu <xgreenlandforwyy@gmail.com>
AuthorDate: 2021-08-26 12:34:56 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2021-11-10 04:47:29 +0000

    sci-libs/miopen: AMD's Machine Intelligence Library
    
    This is AMD's library for high performance machine learning primitives.
    PyTorch-ROCm depends on this package.
    
    Closes: https://bugs.gentoo.org/732954
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Signed-off-by: Benda Xu <heroxbd@gentoo.org>

 sci-libs/miopen/Manifest                           |  1 +
 .../miopen-4.2.0-disable-no-inline-boost.patch     | 14 ++++
 .../files/miopen-4.2.0-gcc11-numeric_limits.patch  | 14 ++++
 .../miopen/files/miopen-4.3.0-enable-test.patch    | 31 +++++++++
 ...x-interface-include-in-HIP_COMPILER_FLAGS.patch | 17 +++++
 sci-libs/miopen/files/miopen-4.3.0-no-strip.patch  | 16 +++++
 .../files/miopen-4.3.0-strip-xnack-in-flags.patch  | 18 +++++
 sci-libs/miopen/metadata.xml                       | 15 ++++
 sci-libs/miopen/miopen-4.3.0.ebuild                | 80 ++++++++++++++++++++++
 9 files changed, 206 insertions(+)
Comment 2 Dennis Schridde 2021-11-10 07:32:47 UTC
(In reply to Larry the Git Cow from comment #1)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=b1ba2684adfb3794f68467c03264d4e67ee3173e
> 
> commit b1ba2684adfb3794f68467c03264d4e67ee3173e
> Author:     YiyangWu <xgreenlandforwyy@gmail.com>
> AuthorDate: 2021-08-26 12:34:56 +0000
> Commit:     Benda Xu <heroxbd@gentoo.org>
> CommitDate: 2021-11-10 04:47:29 +0000
> 
>     sci-libs/miopen: AMD's Machine Intelligence Library

Thank you for this ebuild!

Is dev-libs/opencl-icd-loader instead of dev-libs/ocl-icd also supported?  Would that work?
Comment 3 Dennis Schridde 2021-11-10 07:33:49 UTC
What is the difference between the ROCm 4.3.0 release and the 2.14.0 release?
Comment 4 Benda Xu gentoo-dev 2021-11-10 08:24:51 UTC
(In reply to Dennis Schridde from comment #2)

> Is dev-libs/opencl-icd-loader instead of dev-libs/ocl-icd also supported? 
> Would that work?

Sorry I don't have a clue.  If you have test results please share.


(In reply to Dennis Schridde from comment #3)
> What is the difference between the ROCm 4.3.0 release and the 2.14.0 release?

Interesting question!  Looks like 2.14.0 is miopen's own version number while ROCm-4.3.0 is to be in sync with ROCm.  You will need to dig into the upstream git tree and branching history to figure it out.
Comment 5 Benda Xu gentoo-dev 2021-11-10 09:10:10 UTC
(In reply to Dennis Schridde from comment #3)
> What is the difference between the ROCm 4.3.0 release and the 2.14.0 release?

This could be a chance for us to decouple ROCm and miopen versions.