Skip to content

incorrect name for torch extension in PyTorch easyconfigs #26292

Description

@boegel

a recent enhancement in the run_pip_list function that is used to sanity check the output of pip list:

reveals a problem for our PyTorch easyconfigs, for example with --sanity-check-only:

== sanity checking...
  >> loading modules: PyTorch/2.6.0-foss-2024a...
  >> Check on requirements for installed Python packages with 'pip check': OK
  >> Check on installed Python package names and versions with 'pip list': OK

WARNING: The following Python packages were likely specified with a wrong name because they are missing in the 'pip list' output (causes failure if --upload-test-report is set):
pytorch (close matches in 'pip list' output: torch, pooch, pytoml)

Should be easy to fix, just use torch rather than pytorch as extension name, and should be easy to test via --sanity-check-only.

@Flamefire Can you pick up on this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions