Skip to content

Better sharding mechanism #1899

Open
Open
@malfet

Description

@malfet

Right now sharding is done in round-robin manner per folder, see https://github.com/pytorch/tutorials/blob/master/.jenkins/build.sh
Which creates a very unbalanced experience as some folders have 20+ tutorials, but many have as few as 3-4 tutorials, which is guaranteed to schedule more tutorials build in first shards and leave later shards with just 1 or 2 tutorials to build

This can be addressed by enumerating all tutorials and dividing them between shards evenly

cc @malfet @janeyx99

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions