Published event
ArtificialIntelligence
ProductUpdate
1 source(s)
Bug Fix Release
Summary
Bug Fix Release pytorch / pytorch Public Notifications You must be signed in to change notification settings Fork 30.5k Star 103k Bug Fix Release gchanan released this 07 Nov 17:19 v1.3.1 ee77ccb Significant Fixes Type Promotion : fixed a bug where type promotion, combined with non-contiguous tensors could compute incorrect results. ( 28253 ) Version 1.3.0 Version 1.3.1 > >> a = torch .
Why it matters
This ProductUpdate is relevant to the technology intelligence record because it involves GitHub. The source article should remain the factual reference for follow-up coverage.
Key facts
- pytorch / pytorch Public Notifications You must be signed in to change notification settings Fork 30.5k Star 103k Bug Fix Release gchanan released this 07 Nov 17:19 v1.3.1 ee77ccb Significant Fixes Type Promotion : fixed a bug where type promotion, combined with non-contiguous tensors could compute incorrect results.
- ( 28253 ) Version 1.3.0 Version 1.3.1 > >> a = torch .
- tensor ([[ True , True ], [ False , True ]]) # get a non-contiguous tensor > >> a_transpose = a .
- t () # type promote by comparing across dtypes (bool -> long) > >> a_transpose == 0 # POTENTIALLY INCORRECT VALUES > >> a = torch .
- t () # type promote by comparing across dtypes (bool -> long) > >> a_transpose == 0 tensor ([[ False , True ], [ False , False ]]) Type Promotion / Indexing: Fixed a Bug that Allowed Mixed-Dtype Indexing and assignment could lead to incorrect results.
- Mixed dtype operations of this form are currently disabled, as they were in 1.2.
Entities in this story
Related events