Re: Help packaging PyTorch dependencies for Fedora

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

 



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.

[...]
> 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
-- 
Fedora   https://fedoraproject.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
        -- from "Collected Sayings of Muad'Dib" by the Princess Irulan
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux