Skip to content

PyTorch packages collected into single easyconfig, e.g. torchvision as extension? #17489

@VRehnberg

Description

@VRehnberg

In an old Conference call it was said that

should things like torchdata and torchvision be installed as extensions in the PyTorch

  • probably yes, anything under the pytorch organisation makes sense to add as extension to PyTorch
  • is Pillow (dep of PyTorch) vs Pillow-SIMD (dep of torchvision) a problem?
    • not really, can just use the Pillow dep of PyTorch
  • Pillow-SIMD should never be a direct dep for anything?
  • especially since it doesn't work on aarch64?

I haven't followed the discussion since so I'm not sure if this has been decided differently. However, if it still holds how should the transition be?

I have one rejected PR (#16580) from which I gather that this would only be done for PyTorch easyconfigs before easyconfigs for torchvisision, torchtext, torchdata, torchaudio, ... with the PyTorch in question as dependency have been made?

What to do if some of the torchpackages exists as separate easyconfigs but not all, should additional packages be added as separate easyconfigs as well or as extension to PyTorch?

Should all new PyTorch easyconfigs include these extensions or can they be added in subsequent PRs (that can be rebuilt with eb easyconfig.eb --skip --rebuild)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions