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