Skip to content

Installation of PyTorch-2.9.1-foss-2024a.eb failed: Nothing found to replace #936

@puneet336

Description

@puneet336

We are trying to build Pytorch and we see following error message:

== preparing...

loading toolchain module: foss/2024a
loading modules for build dependencies:

  • CMake/3.29.3-GCCcore-13.3.0
  • hypothesis/6.103.1-GCCcore-13.3.0
  • setuptools/80.9.0-GCCcore-13.3.0
  • parameterized/0.9.0-GCCcore-13.3.0
  • pytest-flakefinder/1.1.0-GCCcore-13.3.0
  • pytest-rerunfailures/15.0-GCCcore-13.3.0
  • pytest-subtests/0.13.1-GCCcore-13.3.0
  • tlparse/0.4.0-GCCcore-13.3.0
  • optree/0.14.1-GCCcore-13.3.0
  • unittest-xml-reporting/3.1.0-GCCcore-13.3.0
    loading modules for (runtime) dependencies:
  • Ninja/1.12.1-GCCcore-13.3.0
  • Python/3.12.3-GCCcore-13.3.0
  • Python-bundle-PyPI/2024.06-GCCcore-13.3.0
  • expecttest/0.2.1-GCCcore-13.3.0
  • GMP/6.3.0-GCCcore-13.3.0
  • MPFR/4.2.1-GCCcore-13.3.0
  • networkx/3.4.2-gfbf-2024a
  • numactl/2.0.18-GCCcore-13.3.0
  • Pillow/10.4.0-GCCcore-13.3.0
  • protobuf-python/5.28.0-GCCcore-13.3.0
  • protobuf/28.0-GCCcore-13.3.0
  • pybind11/2.12.0-GCC-13.3.0
  • PuLP/2.8.0-foss-2024a
  • PyYAML/6.0.2-GCCcore-13.3.0
  • pyzstd/0.16.2-GCCcore-13.3.0
  • SciPy-bundle/2024.05-gfbf-2024a
  • sympy/1.13.3-gfbf-2024a
  • Z3/4.13.0-GCCcore-13.3.0
    defining build environment for foss/2024a toolchain
    == ... (took 4 secs)
    == configuring...
    running shell command:
    /CHBS/apps/busdev_apps/eb/software/Python/3.12.3-GCCcore-13.3.0/bin/python -c 'import xmlrunner'
    [started at: 2026-04-15 23:44:02]
    [working dir: /opt/temp/singhpuv/PyTorch/2.9.1/foss-2024a/pytorch-v2.9.1]
    [output and state saved to /scratch/tmp/eb-kdl4vziw/run-shell-cmd-output/python-39sgfb2o]
    command completed: exit 0, ran in < 1s
    == ... (took < 1 sec)
    == FAILED: Installation ended unsuccessfully: Nothing found to replace 'if IS_CI:\n\s+# Add the option to generate XML test report.*' in test/run_test.py (took 32 secs)
    == Results of the build can be found in the log file(s) /scratch/tmp/eb-kdl4vziw/easybuild-PyTorch-2.9.1-20260415.234329.EfpEk.log
    == Summary:
  • [SUCCESS] MUMPS/5.7.2-foss-2024a-metis
  • [SUCCESS] Clp/1.17.10-foss-2024a
  • [SUCCESS] Cgl/0.60.8-foss-2024a
  • [SUCCESS] Cbc/2.10.12-foss-2024a
  • [SUCCESS] PuLP/2.8.0-foss-2024a
  • [FAILED] PyTorch/2.9.1-foss-2024a
    ERROR: Installation of PyTorch-2.9.1-foss-2024a.eb failed: "Nothing found to replace 'if IS_CI:\n\s+# Add the option to generate XML test report.*' in test/run_test.py"
    [singhpuv@glchbs-sp200321 pytorch]$

is this a known issue?. please advice.

Metadata

Metadata

Assignees

No one assigned

    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