VDB
Sign up
HIGH7.5

PYSEC-2025-204

Quick fix

PYSEC-2025-204 — torch: upgrade to the fixed version with the command below.

pip install --upgrade 'torch>=2.9.0'

Details

pytorch v2.8.0 was discovered to display unexpected behavior when the components torch.rot90 and torch.randn_like are used together.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/torch
Introduced in: 0Fixed in: 2.9.0
Fixpip install --upgrade 'torch>=2.9.0'

References