Bug 2539097

Summary: Review Request: python-torchao - PyTorch native quantization and sparsity for training and inference
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: Package ReviewAssignee: Miroslav Suchý <msuchy>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: msuchy, package-review
Target Milestone: ---Flags: msuchy: fedora-review?
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2547877    

Description Peter Robinson 2026-09-23 07:04:06 UTC
SPEC: https://pbrobinson.fedorapeople.org/python-torchao.spec
SRPM: https://pbrobinson.fedorapeople.org/python-torchao-0.18.0-0.fc44.src.rpm

Description:
PyTorch native quantization and sparsity for training and inference.

FAS: pbrobinson

koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=150525886

Reproducible: Always

Comment 1 Peter Robinson 2026-09-23 11:12:28 UTC
was meant to be:
SRPM: https://pbrobinson.fedorapeople.org/python-torchao-0.18.0-1.fc44.src.rpm

Comment 2 Miroslav Suchý 2026-09-24 10:12:59 UTC
Note: Could not download Source0:                                                                                                       
     https://github.com/pytorch/ao/archive/0.18.0.tar.gz#/torchao-0.18.0.tar.gz
     See: https://docs.fedoraproject.org/en-US/packaging-
     guidelines/SourceURL/

> W: no-%check-section

It would be great to at least check the import. https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_tests

Comment 3 Peter Robinson 2026-10-23 15:34:47 UTC
(In reply to Miroslav Suchý from comment #2)
> Note: Could not download Source0:                                           

Fixed

> > W: no-%check-section
> 
> It would be great to at least check the import.
> https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_tests

It's currently broken due to pytorch package issues, needs further investigation, the bits are added in though.

Plus a couple of other cleanups.

SPEC: https://pbrobinson.fedorapeople.org/python-torchao.spec
SRPM: https://pbrobinson.fedorapeople.org/python-torchao-0.18.0-2.fc44.src.rpm

koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=151585120

Comment 4 Miroslav Suchý 2026-10-24 10:25:04 UTC
- Package does not have BR python3-devel

https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_build_time_dependency_on_python3_devel

Comment 5 Peter Robinson 2026-10-24 10:42:11 UTC
(In reply to Miroslav Suchý from comment #4)
> - Package does not have BR python3-devel

I've updated the spec/srpm. Can we maybe just do a full review rather than drip feeding it and I can go through and fix all of the problems in a single pass?