Skip to content

Conversation

@mgorny
Copy link
Contributor

@mgorny mgorny commented Mar 12, 2025

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

This is a fork of #341, on top of which I attempted enabling Kineto with CUPTI. Unfortunately, I couldn't get it to work — possibly it needs more CUDA lookup fixes from 2.5.x. But that's too much for my feverish brain right now. Still, opening a draft in case anyone wanted to try some more.

hmaarrfk and others added 7 commits February 1, 2025 16:39
Explicitly pass `-Wl,-z,noexecstack` to the linker, to ensure that
`libpytorch_cpu.so` is compiled without an executable stack.  This is
necessary because the raw assembly in oneDNN triggers:

```
$BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: warning: ittptmark64.S.o: missing .note.GNU-stack section implies executable stack
```

...and glibc 2.41 no longer permits loading libraries with executable
stack.

Fixes conda-forge#350
When building with `mkl`, upstream build system uses the same OpenMP
implementation as `mkl`, which is `llvm-openmp`.  In generic variant,
the upstream can use either `llvm-openmp` or `libgomp`, but
`llvm-openmp` takes precedence if it is installed.  In CUDA-enabled
builds, `llvm-openmp` was installed as an indirect dependency,
and therefore the package used it rather than `libgomp`.
For consistency and to avoid need to patch the build system, just depend
on `llvm-openmp` for all Linux targets.
@conda-forge-admin
Copy link
Contributor

conda-forge-admin commented Mar 12, 2025

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipe/meta.yaml:

  • ℹ️ The recipe is not parsable by parser conda-souschef (grayskull). This parser is not currently used by conda-forge, but may be in the future. We are collecting information to see which recipes are compatible with grayskull.
  • ℹ️ The recipe is not parsable by parser conda-recipe-manager. The recipe can only be automatically migrated to the new v1 format if it is parseable by conda-recipe-manager.
  • ℹ️ top-level output has some malformed specs:
  • In section build: `numpy *
  • In section run: pytorch 2.4.1=cuda*_blas_impl*PKG_BUILDNUM, pytorch 2.4.1=cpu_blas_impl*PKG_BUILDNUM
    pytorch-gpu output has some malformed specs:
  • In section run: pytorch 2.4.1=cuda*_blas_impl*PKG_BUILDNUM, pytorch 2.4.1=cpu_blas_impl*PKG_BUILDNUM
    Requirement spec fields should always be space-separated to avoid known issues in conda-build. For example, instead of name =version=build, use name version.* build.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/13941794401. Examine the logs at this URL for more detail.

@mgorny
Copy link
Contributor Author

mgorny commented Mar 17, 2025

Confirmed that it's looking for the library via CUDA_SOURCE_DIR, that points to the build environment rather than host environment.

@mgorny mgorny marked this pull request as ready for review March 17, 2025 14:10
@mgorny
Copy link
Contributor Author

mgorny commented Mar 17, 2025

I think this should be good enough. To avoid further changes to the build system, I've went ahead and removed NO_DEFAULT_PATH from libcupti lookup — which should be good enough for us.

@mgorny mgorny changed the title Attempted (but failing) kineto backport to 2.4.x 2.4.x kineto backport Mar 17, 2025
Copy link
Member

@h-vetinari h-vetinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@hmaarrfk
Copy link
Contributor

2025-03-18T00:00:27.1638451Z Resource usage statistics from testing pytorch:
2025-03-18T00:00:27.1639263Z    Process count: 3
2025-03-18T00:00:27.1639826Z    CPU time: Sys=0:00:00.3, User=0:00:02.1
2025-03-18T00:00:27.1640504Z    Memory: 299.8M
2025-03-18T00:00:27.1641019Z    Disk usage: 38.2K
2025-03-18T00:00:27.1641569Z    Time elapsed: 0:00:10.3
2025-03-18T00:00:27.1641939Z 
2025-03-18T00:00:27.1641950Z 
2025-03-18T00:00:27.1646105Z TEST END: /home/conda/feedstock_root/build_artifacts/linux-64/pytorch-2.4.1-cuda118_py311h920f05a_306.conda
2025-03-18T00:00:27.5096852Z TEST START: /home/conda/feedstock_root/build_artifacts/linux-64/pytorch-gpu-2.4.1-cuda118py311hf8a3b2d_306.conda
2025-03-18T00:00:27.5715945Z WARNING: Multiple meta files found. The meta.yaml file in the base directory (/tmp/tmp03vqzz70/info/recipe) will be used.
2025-03-18T00:00:27.5800048Z Adding in variants from /tmp/tmp03vqzz70/info/recipe/conda_build_config.yaml
2025-03-18T00:00:34.6848282Z Reloading output folder: ...working... done
2025-03-18T00:00:34.8744813Z Solving environment (_test_env): ...working... failed
2025-03-18T00:00:34.8799703Z WARNING: failed to get package records, retrying.  exception was: Unsatisfiable dependencies for platform linux-64: {MatchSpec("pytorch-gpu==2.4.1=cuda118py311hf8a3b2d_306"), MatchSpec("pytorch=2.4.1[build=cuda*_mkl*306]")}
2025-03-18T00:00:34.8802077Z Encountered problems while solving:
2025-03-18T00:00:34.8803317Z   - nothing provides pytorch 2.4.1 cuda*_mkl*306 needed by pytorch-gpu-2.4.1-cuda118py311hf8a3b2d_306
2025-03-18T00:00:34.8804866Z   - unsupported request
2025-03-18T00:00:34.8805263Z 
2025-03-18T00:00:34.8805546Z Could not solve for environment specs
2025-03-18T00:00:34.8806332Z The following packages are incompatible
2025-03-18T00:00:34.8865021Z ├─ pytorch-gpu =2.4.1 cuda118py311hf8a3b2d_306 is not installable because it requires
2025-03-18T00:00:34.8866825Z │  └─ pytorch ==2.4.1 cuda*_mkl*306, which does not exist (perhaps a missing channel);
2025-03-18T00:00:34.8868856Z └─ pytorch =2.4.1 cuda*_mkl*306 does not exist (perhaps a typo or a missing channel).
2025-03-18T00:00:39.9409135Z Reloading output folder: ...working... done
2025-03-18T00:00:40.1270236Z Solving environment (_test_env): ...working... failed
2025-03-18T00:00:45.9490527Z Reloading output folder: ...working... done
2025-03-18T00:00:46.1361667Z Solving environment (_test_env): ...working... failed
2025-03-18T00:00:51.7719885Z Reloading output folder: ...working... done
2025-03-18T00:00:51.9558154Z Solving environment (_test_env): ...working... failed
2025-03-18T00:00:51.9615371Z ERROR: Failed to get package records, max retries exceeded.
2025-03-18T00:00:51.9637290Z WARNING: Tests failed for pytorch-gpu-2.4.1-cuda118py311hf8a3b2d_306.conda - moving package to /home/conda/feedstock_root/build_artifacts/broken
2025-03-18T00:00:52.0081308Z Traceback (most recent call last):
2025-03-18T00:00:52.0083616Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/environ.py", line 890, in get_install_actions
2025-03-18T00:00:52.0085641Z     _actions = _install_actions(prefix, index, specs, subdir=subdir)
2025-03-18T00:00:52.0086592Z                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0087817Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/environ.py", line 1304, in install_actions
2025-03-18T00:00:52.0089639Z     txn = solver.solve_for_transaction(prune=False, ignore_pinned=False)
2025-03-18T00:00:52.0090571Z           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0092376Z   File "/opt/conda/lib/python3.12/site-packages/conda/core/solve.py", line 153, in solve_for_transaction
2025-03-18T00:00:52.0094202Z     unlink_precs, link_precs = self.solve_for_diff(
2025-03-18T00:00:52.0094997Z                                ^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0096401Z   File "/opt/conda/lib/python3.12/site-packages/conda/core/solve.py", line 222, in solve_for_diff
2025-03-18T00:00:52.0097906Z     final_precs = self.solve_final_state(
2025-03-18T00:00:52.0098865Z                   ^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0100420Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 181, in solve_final_state
2025-03-18T00:00:52.0101896Z     out_state = self._solving_loop(in_state, out_state, index)
2025-03-18T00:00:52.0102761Z                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0104388Z   File "/opt/conda/lib/python3.12/site-packages/conda/common/io.py", line 87, in decorated
2025-03-18T00:00:52.0106193Z     return f(*args, **kwds)
2025-03-18T00:00:52.0107062Z            ^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0108722Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 307, in _solving_loop
2025-03-18T00:00:52.0110597Z     solved, outcome = self._solve_attempt(in_state, out_state, index, attempt=attempt)
2025-03-18T00:00:52.0111909Z                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0114033Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 364, in _solve_attempt
2025-03-18T00:00:52.0115953Z     new_conflicts = self._maybe_raise_for_problems(outcome, index, out_state, old_conflicts)
2025-03-18T00:00:52.0117545Z                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0119670Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 753, in _maybe_raise_for_problems
2025-03-18T00:00:52.0121342Z     self._maybe_raise_for_conda_build(
2025-03-18T00:00:52.0123194Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 843, in _maybe_raise_for_conda_build
2025-03-18T00:00:52.0124981Z     raise exc
2025-03-18T00:00:52.0127807Z conda_libmamba_solver.conda_build_exceptions.ExplainedDependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {MatchSpec("pytorch-gpu==2.4.1=cuda118py311hf8a3b2d_306"), MatchSpec("pytorch=2.4.1[build=cuda*_mkl*306]")}
2025-03-18T00:00:52.0131040Z Encountered problems while solving:
2025-03-18T00:00:52.0132931Z   - nothing provides pytorch 2.4.1 cuda*_mkl*306 needed by pytorch-gpu-2.4.1-cuda118py311hf8a3b2d_306
2025-03-18T00:00:52.0134486Z   - unsupported request
2025-03-18T00:00:52.0135135Z 
2025-03-18T00:00:52.0135624Z Could not solve for environment specs
2025-03-18T00:00:52.0136383Z The following packages are incompatible
2025-03-18T00:00:52.0138782Z ├─ pytorch-gpu =2.4.1 cuda118py311hf8a3b2d_306 is not installable because it requires
2025-03-18T00:00:52.0140807Z │  └─ pytorch ==2.4.1 cuda*_mkl*306, which does not exist (perhaps a missing channel);
2025-03-18T00:00:52.0142240Z └─ pytorch =2.4.1 cuda*_mkl*306 does not exist (perhaps a typo or a missing channel).
2025-03-18T00:00:52.0143266Z 
2025-03-18T00:00:52.0143977Z During handling of the above exception, another exception occurred:
2025-03-18T00:00:52.0144696Z 
2025-03-18T00:00:52.0144955Z Traceback (most recent call last):
2025-03-18T00:00:52.0146440Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/environ.py", line 890, in get_install_actions
2025-03-18T00:00:52.0148130Z     _actions = _install_actions(prefix, index, specs, subdir=subdir)
2025-03-18T00:00:52.0149037Z                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0150743Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/environ.py", line 1304, in install_actions
2025-03-18T00:00:52.0152177Z     txn = solver.solve_for_transaction(prune=False, ignore_pinned=False)
2025-03-18T00:00:52.0153106Z           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0154604Z   File "/opt/conda/lib/python3.12/site-packages/conda/core/solve.py", line 153, in solve_for_transaction
2025-03-18T00:00:52.0156163Z     unlink_precs, link_precs = self.solve_for_diff(
2025-03-18T00:00:52.0156917Z                                ^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0158766Z   File "/opt/conda/lib/python3.12/site-packages/conda/core/solve.py", line 222, in solve_for_diff
2025-03-18T00:00:52.0160218Z     final_precs = self.solve_final_state(
2025-03-18T00:00:52.0160911Z                   ^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0162635Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 181, in solve_final_state
2025-03-18T00:00:52.0164687Z     out_state = self._solving_loop(in_state, out_state, index)
2025-03-18T00:00:52.0165533Z                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0166869Z   File "/opt/conda/lib/python3.12/site-packages/conda/common/io.py", line 87, in decorated
2025-03-18T00:00:52.0168561Z     return f(*args, **kwds)
2025-03-18T00:00:52.0169154Z            ^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0170549Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 307, in _solving_loop
2025-03-18T00:00:52.0172639Z     solved, outcome = self._solve_attempt(in_state, out_state, index, attempt=attempt)
2025-03-18T00:00:52.0174151Z                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0176354Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 364, in _solve_attempt
2025-03-18T00:00:52.0178929Z     new_conflicts = self._maybe_raise_for_problems(outcome, index, out_state, old_conflicts)
2025-03-18T00:00:52.0180278Z                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0181675Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 753, in _maybe_raise_for_problems
2025-03-18T00:00:52.0183051Z     self._maybe_raise_for_conda_build(
2025-03-18T00:00:52.0184411Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 843, in _maybe_raise_for_conda_build
2025-03-18T00:00:52.0186249Z     raise exc
2025-03-18T00:00:52.0188635Z conda_libmamba_solver.conda_build_exceptions.ExplainedDependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {MatchSpec("pytorch-gpu==2.4.1=cuda118py311hf8a3b2d_306"), MatchSpec("pytorch=2.4.1[build=cuda*_mkl*306]")}
2025-03-18T00:00:52.0191766Z Encountered problems while solving:
2025-03-18T00:00:52.0193018Z   - nothing provides pytorch 2.4.1 cuda*_mkl*306 needed by pytorch-gpu-2.4.1-cuda118py311hf8a3b2d_306
2025-03-18T00:00:52.0194156Z   - unsupported request
2025-03-18T00:00:52.0194518Z 
2025-03-18T00:00:52.0194785Z Could not solve for environment specs
2025-03-18T00:00:52.0195506Z The following packages are incompatible
2025-03-18T00:00:52.0215057Z ├─ pytorch-gpu =2.4.1 cuda118py311hf8a3b2d_306 is not installable because it requires
2025-03-18T00:00:52.0216802Z │  └─ pytorch ==2.4.1 cuda*_mkl*306, which does not exist (perhaps a missing channel);
2025-03-18T00:00:52.0218352Z └─ pytorch =2.4.1 cuda*_mkl*306 does not exist (perhaps a typo or a missing channel).
2025-03-18T00:00:52.0219138Z 
2025-03-18T00:00:52.0219603Z During handling of the above exception, another exception occurred:
2025-03-18T00:00:52.0220311Z 
2025-03-18T00:00:52.0220574Z Traceback (most recent call last):
2025-03-18T00:00:52.0221995Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/environ.py", line 890, in get_install_actions
2025-03-18T00:00:52.0223427Z     _actions = _install_actions(prefix, index, specs, subdir=subdir)
2025-03-18T00:00:52.0224394Z                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0225592Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/environ.py", line 1304, in install_actions
2025-03-18T00:00:52.0227070Z     txn = solver.solve_for_transaction(prune=False, ignore_pinned=False)
2025-03-18T00:00:52.0227995Z           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0229231Z   File "/opt/conda/lib/python3.12/site-packages/conda/core/solve.py", line 153, in solve_for_transaction
2025-03-18T00:00:52.0230537Z     unlink_precs, link_precs = self.solve_for_diff(
2025-03-18T00:00:52.0231299Z                                ^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0232424Z   File "/opt/conda/lib/python3.12/site-packages/conda/core/solve.py", line 222, in solve_for_diff
2025-03-18T00:00:52.0233598Z     final_precs = self.solve_final_state(
2025-03-18T00:00:52.0234284Z                   ^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0235525Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 181, in solve_final_state
2025-03-18T00:00:52.0236943Z     out_state = self._solving_loop(in_state, out_state, index)
2025-03-18T00:00:52.0237771Z                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0238852Z   File "/opt/conda/lib/python3.12/site-packages/conda/common/io.py", line 87, in decorated
2025-03-18T00:00:52.0239922Z     return f(*args, **kwds)
2025-03-18T00:00:52.0240500Z            ^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0241638Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 307, in _solving_loop
2025-03-18T00:00:52.0243663Z     solved, outcome = self._solve_attempt(in_state, out_state, index, attempt=attempt)
2025-03-18T00:00:52.0244820Z                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0246128Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 364, in _solve_attempt
2025-03-18T00:00:52.0247842Z     new_conflicts = self._maybe_raise_for_problems(outcome, index, out_state, old_conflicts)
2025-03-18T00:00:52.0249331Z                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0250729Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 753, in _maybe_raise_for_problems
2025-03-18T00:00:52.0252096Z     self._maybe_raise_for_conda_build(
2025-03-18T00:00:52.0253526Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 843, in _maybe_raise_for_conda_build
2025-03-18T00:00:52.0255000Z     raise exc
2025-03-18T00:00:52.0257357Z conda_libmamba_solver.conda_build_exceptions.ExplainedDependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {MatchSpec("pytorch-gpu==2.4.1=cuda118py311hf8a3b2d_306"), MatchSpec("pytorch=2.4.1[build=cuda*_mkl*306]")}
2025-03-18T00:00:52.0259899Z Encountered problems while solving:
2025-03-18T00:00:52.0261043Z   - nothing provides pytorch 2.4.1 cuda*_mkl*306 needed by pytorch-gpu-2.4.1-cuda118py311hf8a3b2d_306
2025-03-18T00:00:52.0262267Z   - unsupported request
2025-03-18T00:00:52.0262630Z 
2025-03-18T00:00:52.0262898Z Could not solve for environment specs
2025-03-18T00:00:52.0263614Z The following packages are incompatible
2025-03-18T00:00:52.0264855Z ├─ pytorch-gpu =2.4.1 cuda118py311hf8a3b2d_306 is not installable because it requires
2025-03-18T00:00:52.0268209Z │  └─ pytorch ==2.4.1 cuda*_mkl*306, which does not exist (perhaps a missing channel);
2025-03-18T00:00:52.0269647Z └─ pytorch =2.4.1 cuda*_mkl*306 does not exist (perhaps a typo or a missing channel).
2025-03-18T00:00:52.0270404Z 
2025-03-18T00:00:52.0270876Z During handling of the above exception, another exception occurred:
2025-03-18T00:00:52.0271558Z 
2025-03-18T00:00:52.0271817Z Traceback (most recent call last):
2025-03-18T00:00:52.0272862Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/build.py", line 3383, in test
2025-03-18T00:00:52.0273974Z     precs = environ.get_package_records(
2025-03-18T00:00:52.0274665Z             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0275842Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/environ.py", line 937, in get_install_actions
2025-03-18T00:00:52.0277171Z     precs = get_package_records(
2025-03-18T00:00:52.0277788Z             ^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0279000Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/environ.py", line 937, in get_install_actions
2025-03-18T00:00:52.0280286Z     precs = get_package_records(
2025-03-18T00:00:52.0280910Z             ^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0282055Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/environ.py", line 937, in get_install_actions
2025-03-18T00:00:52.0283264Z     precs = get_package_records(
2025-03-18T00:00:52.0284112Z             ^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0285251Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/environ.py", line 890, in get_install_actions
2025-03-18T00:00:52.0286787Z     _actions = _install_actions(prefix, index, specs, subdir=subdir)
2025-03-18T00:00:52.0287678Z                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0289091Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/environ.py", line 1304, in install_actions
2025-03-18T00:00:52.0290497Z     txn = solver.solve_for_transaction(prune=False, ignore_pinned=False)
2025-03-18T00:00:52.0291433Z           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0292670Z   File "/opt/conda/lib/python3.12/site-packages/conda/core/solve.py", line 153, in solve_for_transaction
2025-03-18T00:00:52.0294147Z     unlink_precs, link_precs = self.solve_for_diff(
2025-03-18T00:00:52.0295077Z                                ^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0296219Z   File "/opt/conda/lib/python3.12/site-packages/conda/core/solve.py", line 222, in solve_for_diff
2025-03-18T00:00:52.0297383Z     final_precs = self.solve_final_state(
2025-03-18T00:00:52.0298064Z                   ^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0299388Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 181, in solve_final_state
2025-03-18T00:00:52.0300824Z     out_state = self._solving_loop(in_state, out_state, index)
2025-03-18T00:00:52.0301679Z                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0302749Z   File "/opt/conda/lib/python3.12/site-packages/conda/common/io.py", line 87, in decorated
2025-03-18T00:00:52.0303899Z     return f(*args, **kwds)
2025-03-18T00:00:52.0304585Z            ^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0305727Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 307, in _solving_loop
2025-03-18T00:00:52.0307295Z     solved, outcome = self._solve_attempt(in_state, out_state, index, attempt=attempt)
2025-03-18T00:00:52.0308419Z                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0309708Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 364, in _solve_attempt
2025-03-18T00:00:52.0311321Z     new_conflicts = self._maybe_raise_for_problems(outcome, index, out_state, old_conflicts)
2025-03-18T00:00:52.0312489Z                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-18T00:00:52.0314061Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 753, in _maybe_raise_for_problems
2025-03-18T00:00:52.0315513Z     self._maybe_raise_for_conda_build(
2025-03-18T00:00:52.0316985Z   File "/opt/conda/lib/python3.12/site-packages/conda_libmamba_solver/solver.py", line 843, in _maybe_raise_for_conda_build
2025-03-18T00:00:52.0318404Z     raise exc
2025-03-18T00:00:52.0320918Z conda_libmamba_solver.conda_build_exceptions.ExplainedDependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {MatchSpec("pytorch-gpu==2.4.1=cuda118py311hf8a3b2d_306"), MatchSpec("pytorch=2.4.1[build=cuda*_mkl*306]")}
2025-03-18T00:00:52.0323621Z Encountered problems while solving:
2025-03-18T00:00:52.0324757Z   - nothing provides pytorch 2.4.1 cuda*_mkl*306 needed by pytorch-gpu-2.4.1-cuda118py311hf8a3b2d_306
2025-03-18T00:00:52.0325880Z   - unsupported request
2025-03-18T00:00:52.0326239Z 
2025-03-18T00:00:52.0326505Z Could not solve for environment specs
2025-03-18T00:00:52.0327287Z The following packages are incompatible
2025-03-18T00:00:52.0328645Z ├─ pytorch-gpu =2.4.1 cuda118py311hf8a3b2d_306 is not installable because it requires
2025-03-18T00:00:52.0330113Z │  └─ pytorch ==2.4.1 cuda*_mkl*306, which does not exist (perhaps a missing channel);
2025-03-18T00:00:52.0331601Z └─ pytorch =2.4.1 cuda*_mkl*306 does not exist (perhaps a typo or a missing channel).
2025-03-18T00:00:52.0332352Z 
2025-03-18T00:00:52.0332817Z During handling of the above exception, another exception occurred:
2025-03-18T00:00:52.0333499Z 
2025-03-18T00:00:52.0333760Z Traceback (most recent call last):
2025-03-18T00:00:52.0334540Z   File "/opt/conda/bin/conda-build", line 11, in <module>
2025-03-18T00:00:52.0335328Z     sys.exit(execute())
2025-03-18T00:00:52.0335862Z              ^^^^^^^^^
2025-03-18T00:00:52.0336906Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/cli/main_build.py", line 622, in execute
2025-03-18T00:00:52.0338050Z     api.build(
2025-03-18T00:00:52.0338944Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/api.py", line 211, in build
2025-03-18T00:00:52.0339971Z     return build_tree(
2025-03-18T00:00:52.0340502Z            ^^^^^^^^^^^
2025-03-18T00:00:52.0341571Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/build.py", line 3671, in build_tree
2025-03-18T00:00:52.0343050Z     test(pkg, config=metadata.config.copy(), stats=stats)
2025-03-18T00:00:52.0344226Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/build.py", line 3408, in test
2025-03-18T00:00:52.0345269Z     tests_failed(
2025-03-18T00:00:52.0346251Z   File "/opt/conda/lib/python3.12/site-packages/conda_build/build.py", line 3545, in tests_failed
2025-03-18T00:00:52.0347725Z     raise CondaBuildUserError("TESTS FAILED: " + os.path.basename(pkg))
2025-03-18T00:00:52.0349273Z conda_build.exceptions.CondaBuildUserError: TESTS FAILED: pytorch-gpu-2.4.1-cuda118py311hf8a3b2d_306.conda
2025-03-18T00:00:59.8369092Z ##[error]Process completed with exit code 1.
2025-03-18T00:00:59.8727743Z Post job cleanup.
2025-03-18T00:01:00.1547552Z [command]/usr/bin/git version
2025-03-18T00:01:00.1605277Z git version 2.34.1
2025-03-18T00:01:00.1663095Z Temporarily overriding HOME='/home/runnerx/actions-runner/_work/_temp/50bb03f4-0cb3-486b-8392-45f95f8ebc5c' before making global git config changes
2025-03-18T00:01:00.1664594Z Adding repository directory to the temporary git global config as a safe directory
2025-03-18T00:01:00.1667995Z [command]/usr/bin/git config --global --add safe.directory /home/runnerx/actions-runner/_work/pytorch-cpu-feedstock/pytorch-cpu-feedstock
2025-03-18T00:01:00.1713630Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2025-03-18T00:01:00.1751345Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2025-03-18T00:01:00.2357029Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2025-03-18T00:01:00.2377044Z http.https://github.com/.extraheader
2025-03-18T00:01:00.2388227Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2025-03-18T00:01:00.2414007Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2025-03-18T00:01:00.2753689Z Cleaning up orphan processes

This is effectively a waste of our time. Other people's tech debt should not be your burden @mgorny

Feel free to just "stop" on this front.

@mgorny
Copy link
Contributor Author

mgorny commented Mar 18, 2025

Not a big deal — it's just a matter of copying the build string: from the newer version. (Presuming it's fine to change them in the old version.)

@jeongseok-meta
Copy link
Contributor

To expedite the process, I am locally building 'linux_aarch64_c_compiler_version13' and will share the build log once it's complete.

@h-vetinari
Copy link
Member

To expedite the process, I am locally building 'linux_aarch64_c_compiler_version13' and will share the build log once it's complete.

That's kind of you, but IMO not necessary. There's no big congestion on the server at the moment, so we can just let this build normally.

@jslee02
Copy link

jslee02 commented Mar 19, 2025

That's kind of you, but IMO not necessary. There's no big congestion on the server at the moment, so we can just let this build normally.

Agreed. I was concerned that the build was being pushed back due to other PR. Uploading the log, just in case:

linux_aarch64_c_compiler_version13cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13-log.zip

@h-vetinari h-vetinari merged commit d6c6b9f into conda-forge:v2.4.x Mar 20, 2025
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants