On 12/9/23 14:47, Dominik 'Rathann' Mierzejewski wrote:
On Friday, 08 December 2023 at 16:34, Steve Grubb wrote:
On Friday, December 8, 2023 12:41:59 AM EST Jun Aruga (he / him) wrote:
Congratulations for the PyTorch package!
https://src.fedoraproject.org/rpms/python-torch

I hope someone will announce this great achievement to the Fedora
community too, and update the following page too.
https://fedoraproject.org/wiki/SIGs/PyTorch/packagingStatus

Yes, this is nice that we have pytorch in Fedora. Looking at the specfile...

USE_CUDA=OFF
USE_ROCM=OFF

Which does not align with:

%description
PyTorch is a Python package that provides two high-level features:
  * Tensor computation (like NumPy) with strong GPU acceleration

GPU acceleration?

Indeed. We have ROCM in Fedora already:
$ sudo dnf list rocm\*devel
Last metadata expiration check: 0:00:24 ago on Sat 09 Dec 2023 22:42:19.
Available Packages
rocm-comgr-devel.x86_64                           16.1-2.fc38                   
        updates
rocm-hip-devel.x86_64                             5.5.1-10.fc38                 
        updates
rocm-opencl-devel.x86_64                          5.5.1-10.fc38                 
        updates
rocm-runtime-devel.x86_64                         5.5.0-2.fc38                  
        updates
rocm-smi-devel.x86_64                             5.5.1-3.fc38                  
        updates

At least the OpenCL part works quite well for me.

We have made a lot of progress towards getting ROCm packaged in Fedora but 
we're not quite done and I know there are a few yet-unpackaged ROCm components 
which are required before ROCm support can be enabled for pytorch.

The current status list of ROCm packages is in the wiki: 
https://fedoraproject.org/wiki/SIGs/HC#Package_status

The current plan is to have ROCm 6.0.0 in F40 before branch, assuming that the 
release dates line up. As far as I know, AMD has not given an exact release 
date for 6.0 but ROCm 6.0 was announced last week and it seems likely to 
release well before F40 branch.

Tim

[...]
pip install torch
python3
import torch
torch.__config__.show()

The config listed there should be compared with the config in the spec file to
get as close to the expected feature set as possible so that people can just
switch. This is a positive step and I would love to switch one day.

Good idea.

Regards,
Dominik
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to