You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using reprhere significantly slows down non-CPU runs (-33% on HPU, probably similar numbers on GPU). Which makes sense as repr copies data from the device to the host.
Could we rely on type(x) instead?
See #25871 (comment)
(copy paste)
Using
repr
here significantly slows down non-CPU runs (-33% on HPU, probably similar numbers on GPU). Which makes sense asrepr
copies data from the device to the host.Could we rely on
type(x)
instead?Here is a code snippet to measure it:
The text was updated successfully, but these errors were encountered: