Skip to content

Move sharding to type domain in traced_type_inner #2058

@avik-pal

Description

@avik-pal

In traced_type_inner we only need sharding to compute the Sharding.ndevices. We should instead compute the devices before calling the function and then pass in the value as a Val.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions