Skip to content

Tracking the metrics with performance gaps on XLA #2109

@sdesrozis

Description

@sdesrozis

🚀 Feature

Since this commit, the metrics have been disabled with xla device due to a performance regression.

if torch.device(device).type == "xla":
raise ValueError("Cannot create metric on an XLA device. Use device='cpu' instead.")

To solve this, it would be interesting to track which metrics work fine and which have lack of performance. Thus, we could think about more specific enable / disable process.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions