pytorch/xla

[torch_xla] scan_layers fails if the layer have no weights

Open

#8,748 opened on Feb 26, 2025

View on GitHub
 (1 comment) (0 reactions) (1 assignee)C++ (575 forks)github user discovery
enhancementgood first issue

Repository metrics

Stars
 (2,786 stars)
PR merge metrics
 (PR metrics pending)

Description

Seen on https://github.com/pytorch/xla/pull/8734/files#diff-fd0b937d2fd231d227ae1901d62379ae35208c19b3e90f4188a1e272764eaae4

We should support scanning over layers that don't even have any weights and just do pure compute.

Contributor guide