F40 Change Proposal: Pytorch Release (Self-Contained)

PyTorch Release

This is a proposed Change for Fedora Linux.
This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee.


:link: PyTorch Release

This change will bring the first iteration of PyTorch to Fedora.

:link: Owner

This project is owned by the SIGs/PyTorch - Fedora Project Wiki.

:link: Current status

  • Targeted release: Fedora Linux 40
  • Last updated: 2024-01-11
  • [ devel thread]
  • FESCo issue:
  • Tracker bug:
  • Release notes tracker:

:link: Detailed Description

The goal of packaging PyTorch for Fedora is to make this open-source machine learning framework easily accessible and seamlessly integrable within the Fedora Linux ecosystem. By providing PyTorch as a packaged software in the Fedora repositories, users gain simplified installation and maintenance processes. This enhances the accessibility of PyTorch for Fedora users, fostering a conducive environment for developers, researchers, and enthusiasts to leverage the capabilities of this powerful machine learning framework. Additionally, packaging PyTorch for Fedora contributes to the broader open-source community by promoting collaborative development and innovation in the field of machine learning on the Fedora platform.

:link: Feedback

The PyTorch SIG meets bi weekly, contributing to the meeting is the best way to engage with what is happening. TBD: Add how to join. The feedback so far has been positive with some high level feature requests. GPU Acceleration More packages that use PyTorch Improving base PyTorch

:link: Benefit to Fedora

This change will introduce PyTorch, a high demand machine learning framework, to Fedora. PyTorch is widely used for tasks such as image and speech recognition, natural language processing, and other artificial intelligence applications, providing a user-friendly interface for building and experimenting with complex machine learning models. This is for CPU (x86_64 and aarch64) only and is the first release for Fedora. The current development effort is focused on AMD GPU acceleration.

:link: Scope

  • Proposal owners:

This change does not affect other parts of the distribution and is an isolated change.

  • Other developers:

To install use > dnf install python-torch

  • Release engineering: N/A (not needed for this Change)

  • Policies and guidelines: N/A (not needed for this Change)

  • Trademark approval: N/A (not needed for this Change)

  • Alignment with Community Initiatives: Yes

:link: Upgrade/compatibility impact

This is the first time this package has been available.

:link: How To Test

The PyTorch code base is very large, start with the public examples described here Learning PyTorch with Examples — PyTorch Tutorials 2.2.0+cu121 documentation

:link: User Experience

How the user installs PyTorch changes from > pip install torch To > dnf install python-torch

The pip install requires local building which may fail and will not be consistent from machine to machine. Dnf will always succeed and be consistent.

:link: Dependencies

PyTorch is available for Rawhide.

:link: Contingency Plan

  • Contingency mechanism: PyTorch is available for Rawhide.

  • Contingency deadline: N/A (not a System Wide Change)

  • Blocks release? N/A (not a System Wide Change)

:link: Documentation

There is a wealth of online and print documentation available. A good place to start is the main project page https://pytorch.org/

:link: Release Notes

PyTorch 2.1.2 and some supporting packages are available in F40

1 Like

This change proposal has now been submitted to FESCo with ticket #3154 for voting.

To find out more, please visit our Changes Policy documentation.

Please fill this in…

“High demand” would mean that the framework itself makes high demands. “Highly-demanded” would mean that people want it. Both are true to some extent, but maybe you meant the second one?

This is true, but what are Proposal Owners actually planning to do?