F41 Change Proposal: PyTorch 2.4 (self-contained)

PyTorch 2.4

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.

Wiki
Announed

:link: Summary

PyTorch is a popular python library for deep learning using GPUs and CPUs. It is frequently associated with various AI implementations and other neural network based projects. This change will update PyTorch to the latest upstream version (2.4).

:link: Owner

:link: Detailed Description

Update the base Fedora PyTorch from 2.2 to the latest upstream 2.4. The big change for 2.4 is the integration with the ROCm stack to provide open accelerated AI on AMD GPU’s.

:link: Feedback

:link: Benefit to Fedora

Fedora AI is keeping pace with the fast moving AI by updating PyTorch to match what is available right now in the upsteam with features needed to do real AI development for open source.

:link: Scope

  • Proposal owners: Update base to 2.4 when upstream releases.

  • Other developers:

  • 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 the Fedora Strategy: “Innovation & Leadership in Technology: We integrate programming language stack ecosystems” by including the latest release of PyTorch, Fedora will have the latest release of a popular software stack in AI/ML.

:link: Upgrade/compatibility impact

There should be no backwards incompatible changes with the 2.4 release.

:link: Early Testing (Optional)

Do you require ‘QA Blueprint’ support? N

:link: How To Test

Testing can be done with CPU only but that may lead to very long test times. Testing with ROCm compatible hardware is recommended.

Running through some of the PyTorch Examples is a good way for basic testing of PyTorch. Running through the tests contained in other torch-related packages (e.g python-torchvision) could also be helpful.

:link: User Experience

Users will be able to continue to use PyTorch installed from the Fedora repos - the upgrades to llvm require a newer ROCm and that newer ROCm is only supported by the latest PyTorch release.

Other than being able to continue to use PyTorch from the Fedora repos, the user-noticeable changes will be minimal.

:link: Dependencies

There are no RPMs affected by this change that are not included in the change.

:link: Contingency Plan

Fedora currently ships with the latest public 2.3 release with all of the accelerated features.

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? No, not a System Wide Change.

:link: Documentation

N/A (not a System Wide Change)

:link: Release Notes

Last edited by @amoloney 2024-07-17T21:04:03Z

Last edited by @amoloney 2024-07-17T21:04:03Z

How do you feel about the proposal as written?

  • Strongly in favor
  • In favor, with reservations
  • Neutral
  • Opposed, but could be convinced
  • Strongly opposed
0 voters

If you are in favor but have reservations, or are opposed but something could change your mind, please explain in a reply.

We want everyone to be heard, but many posts repeating the same thing actually makes that harder. If you have something new to say, please say it. If, instead, you find someone has already covered what you’d like to express, please simply give that post a :heart: instead of reiterating. You can even do this by email, by replying with the heart emoji or just “+1”. This will make long topics easier to follow.

Please note that this is an advisory “straw poll” meant to gauge sentiment. It isn’t a vote or a scientific survey. See About the Change Proposals category for more about the Change Process and moderation policy.

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

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

This change has been accepted by FESCo for Fedora Linux 41. A full list of approved changes to date can be found on the Change Set Page.

To find out more about how our changes policy works, please visit our docs site.