[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MIOpen package LFS files



Hi Xuanteng,

On 2024-05-07 16:35, Xuanteng Huang wrote:
> Looking at upstream PRs uploading [10, 11] target at src/kernels/*.inc, these assembly codes are commit directly without any extra information.
> So maybe they are disassembled from some internal artifacts?

> Likewise, the binary kdb files are maintained in an opaque way [12], the AMD engineer uploaded the binaries without explanation.

in that case, we can't use the files in the main package anyway. If they
can't be rebuilt (resp. retrained) from source, they would need to go
into the non-free section.

To me, [14] doesn't suggest that there is some sort of secret sauce to
these files. The only claim is that they reduce startup latency, for the
first invocation.

Best,
Christian

>>> [1]: https://rocm.docs.amd.com/projects/MIOpen/en/latest/
>>> [2]: https://salsa.debian.org/rocm-team/miopen/-/tree/master/src/kernels?ref_type=heads
>>> [3]: https://rocm.docs.amd.com/projects/MIOpen/en/develop/conceptual/perfdb.html
>>> [4]: https://salsa.debian.org/rocm-team/miopen/-/blob/master/src/binary_cache.cpp?ref_type=heads#L114-129
>>> [5]: https://salsa.debian.org/rocm-team/miopen/-/blob/master/CMakeLists.txt?ref_type=heads#L501-521
>>> [6]: https://salsa.debian.org/rocm-team/miopen/-/blob/master/src/binary_cache.cpp?ref_type=heads#L162-180
>>> [7]: https://salsa.debian.org/rocm-team/miopen/-/blob/master/src/hip/handlehip.cpp?ref_type=heads#L403-413
>>> [8]: https://salsa.debian.org/rocm-team/miopen/-/blob/master/src/hip/handlehip.cpp?ref_type=heads#L415-424
>>>
>> [9]: https://salsa.debian.org/rocm-team/miopen/-/blob/upstream/5.5.1/src/kernels/Conv_Winograd_v14_3_3_fp16dot_stride2_dec.inc?ref_type=tags
> 
> [10]: https://github.com/ROCm/MIOpen/pull/2778
> [11]: https://github.com/ROCm/MIOpen/pull/1968
> [12]: https://github.com/ROCm/MIOpen/pull/2859
> [13]: https://repo.radeon.com/rocm/apt/latest/pool/main/m
> [14]: https://rocm.docs.amd.com/projects/MIOpen/en/latest/install.html#installing-miopen-kernels-package
> [15]: https://github.com/ROCm/pytorch/wiki/Using-MIOpen-kdb-files-with-ROCm-PyTorch-wheels
> [16]: https://src.fedoraproject.org/rpms/miopen/blob/rawhide/f/miopen.spec#_44
> [17]: https://gitlab.archlinux.org/archlinux/packaging/packages/miopen-hip/-/blob/main/PKGBUILD#L20
> [18]: https://archlinux.org/packages/extra/x86_64/miopen-hip/
> [19]: https://packages.fedoraproject.org/pkgs/miopen/miopen/fedora-rawhide.html
> 
> 


Reply to: