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?
a recent enhancement in the
run_pip_listfunction that is used to sanity check the output ofpip list:run_pip_listfunction to print warning for mismatched Python package names or versions easybuild-easyblocks#4109reveals a problem for our PyTorch easyconfigs, for example with
--sanity-check-only:Should be easy to fix, just use
torchrather thanpytorchas extension name, and should be easy to test via--sanity-check-only.@Flamefire Can you pick up on this?