Skip to content

Conversation

@JamesRobertsonGames
Copy link
Contributor

@JamesRobertsonGames JamesRobertsonGames commented Sep 10, 2025

Pytorch 2.7

Destination channel: defaults

Links

Notice

  • osx-arm build and test pipeline is flaky as usual - it will pass on retry
  • windows builds timeout on PBP - manual graph submission passes with test skips

Explanation of changes:

  • CPU Build only
  • MKL 2025 Compatibility assured
  • Regenerate patches
  • Add patched to fix CUDA build requirement on non-cuda build
  • Remove tests which trip up due to CI/CD issues

@package-build-platform
Copy link

Failed to submit graph for 6103e50 Message: Failed to run command: 'pbp generate from-feedstock --output /tmp/tmp3ba0fwq9/pytorch-feedstock.yaml --custom-metadata-file /tmp/tmp3ba0fwq9/custom_metadata.yaml --release-name pytorch-feedstock-73-6103e50edd4ce441f21ad3078a3c045349f029aa pytorch-feedstock/recipe', with error: 'INFO:root:Found feedstock pytorch-feedstock at /tmp/tmp3ba0fwq9/pytorch-feedstock/recipe INFO:root:Build/Test graph from pytorch-feedstock Created by sbx_user1051 on 2025-10-21 18:55:18 Command line: /opt/conda/envs/webhook-listener/bin/pbp generate from-feedstock --output /tmp/tmp3ba0fwq9/pytorch-feedstock.yaml --custom-metadata-file /tmp/tmp3ba0fwq9/custom_metadata.yaml --release-name pytorch-feedstock-73-6103e50edd4ce441f21ad3078a3c045349f029aa pytorch-feedstock/recipe

INFO:root:Found abs.yaml in /tmp/tmp3ba0fwq9/pytorch-feedstock
INFO:root:Creating graph from feedstock at: pytorch-feedstock
INFO:pbpcli.utils.common:Setting env var: CONDA_SUBDIR = linux-64.
INFO:pbpcli.utils.expand_variants:Elapsed time for get_package_variants: 0.09 seconds
INFO:pbpcli.utils.expand_variants:Matrix vars: 3 unchanging vars:(397), changing vars (3): ['blas_impl', 'numpy', 'python']
INFO:pbpcli.utils.expand_variants:Elapsed time for preparation for render: 0.00 seconds
WARNING: Adding .* to spec 'libtorch 2.7.0' to ensure satisfiability. Please consider putting {{{{ var_name }}}}.* or some relational operator (>/</>=/<=) on this spec in meta.yaml, or if req is also a build req, using {{{{ pin_compatible() }}}} jinja2 function instead. See https://conda.io/docs/user-guide/tasks/build-packages/variants.html#pinning-at-the-variant-level
INFO:pbpcli.utils.expand_variants:Elapsed time for api.render: 108.98 seconds
INFO:pbpcli.utils.common:Unsetting env var: CONDA_SUBDIR
INFO:pbpcli.utils.common:Setting env var: CONDA_SUBDIR = linux-aarch64.
INFO:pbpcli.utils.expand_variants:Elapsed time for get_package_variants: 0.10 seconds
INFO:pbpcli.utils.expand_variants:Matrix vars: 2 unchanging vars:(397), changing vars (2): ['numpy', 'python']
INFO:pbpcli.utils.expand_variants:Elapsed time for preparation for render: 0.00 seconds
INFO:pbpcli.utils.common:Setting env var: CONDA_OVERRIDE_GLIBC = 2.28.
INFO:pbpcli.utils.common:Unsetting env var: CONDA_OVERRIDE_GLIBC
INFO:pbpcli.utils.expand_variants:Elapsed time for api.render: 50.72 seconds
INFO:pbpcli.utils.common:Unsetting env var: CONDA_SUBDIR
INFO:pbpcli.utils.common:Setting env var: CONDA_SUBDIR = osx-arm64.
INFO:pbpcli.utils.expand_variants:Elapsed time for get_package_variants: 0.10 seconds
INFO:pbpcli.utils.expand_variants:Matrix vars: 5 unchanging vars:(398), changing vars (5): ['CONDA_BUILD_SYSROOT', 'MACOSX_SDK_VERSION', 'gpu_variant', 'numpy', 'python']
INFO:pbpcli.utils.expand_variants:Elapsed time for preparation for render: 0.00 seconds
INFO:pbpcli.utils.common:Setting env var: CONDA_OVERRIDE_OSX = 12.1.
WARNING: Setting build platform. This is only useful when pretending to be on another platform, such as for rendering necessary dependencies on a non-native platform. I trust that you know what you're doing.
INFO:pbpcli.utils.common:Unsetting env var: CONDA_OVERRIDE_OSX
INFO:pbpcli.utils.expand_variants:Elapsed time for api.render: 53.13 seconds
INFO:pbpcli.utils.common:Unsetting env var: CONDA_SUBDIR
INFO:pbpcli.utils.common:Setting env var: CONDA_SUBDIR = win-64.
INFO:pbpcli.utils.expand_variants:Elapsed time for get_package_variants: 0.10 seconds
INFO:pbpcli.utils.expand_variants:Matrix vars: 2 unchanging vars:(402), changing vars (2): ['numpy', 'python']
INFO:pbpcli.utils.expand_variants:Elapsed time for preparation for render: 0.00 seconds
INFO:pbpcli.utils.common:Unsetting env var: CONDA_SUBDIR
Traceback (most recent call last):
File "/opt/conda/envs/webhook-listener/bin/pbp", line 10, in
sys.exit(cli())
~~~^^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/click/core.py", line 1442, in call
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/click/core.py", line 1363, in main
rv = self.invoke(ctx)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/click/core.py", line 1830, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/click/core.py", line 1830, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/click/core.py", line 1226, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/click/core.py", line 794, in invoke
return callback(*args, **kwargs)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/pbpcli/cli/generate.py", line 413, in wrapper
return func(*args, **kwargs)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/pbpcli/cli/generate.py", line 624, in from_feedstock
build_configs, test_configs = expand_build_matrix(feedstock.recipe_dir_path, src_channels)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/pbpcli/cli/generate.py", line 79, in expand_build_matrix
_targets, build_configs, test_configs = variants_for_feedstock_and_platform(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
recipe_dir_path, platform, src_channels
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/pbpcli/utils/expand_variants.py", line 544, in variants_for_feedstock_and_platform
metadata_tuples = api.render(
parsed.recipe,
...<2 lines>...
variants=None,
)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/api.py", line 68, in render
return render_metadata_tuples(
metadata_tuples,
...<3 lines>...
bypass_env_check=bypass_env_check,
)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/render.py", line 1097, in render_metadata_tuples
for od, om in meta.get_output_metadata_set(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
permit_unsatisfiable_variants=permit_unsatisfiable_variants,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
permit_undefined_jinja=not finalize,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
bypass_env_check=bypass_env_check,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/metadata.py", line 2781, in get_output_metadata_set
conda_packages = finalize_outputs_pass(
ref_metadata,
...<3 lines>...
bypass_env_check=bypass_env_check,
)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/metadata.py", line 1077, in finalize_outputs_pass
fm = finalize_metadata(
om,
parent_metadata=parent_metadata,
permit_unsatisfiable_variants=permit_unsatisfiable_variants,
)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/render.py", line 722, in finalize_metadata
build_unsat, host_unsat = add_upstream_pins(
~~~~~~~~~~~~~~~~~^
m, permit_unsatisfiable_variants, exclude_pattern, extra_specs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/render.py", line 507, in add_upstream_pins
host_deps, host_unsat, extra_run_specs_from_host = _read_upstream_pin_files(
~~~~~~~~~~~~~~~~~~~~~~~~^
m, "host", permit_unsatisfiable_variants, exclude_pattern, extra_specs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/render.py", line 463, in _read_upstream_pin_files
extra_run_specs = get_upstream_pins(m, precs, env)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/render.py", line 433, in get_upstream_pins
loc, dist = execute_download_actions(
~~~~~~~~~~~~~~~~~~~~~~~~^
m,
^^
...<2 lines>...
package_subset=[prec],
^^^^^^^^^^^^^^^^^^^^^^
)[prec]
^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/render.py", line 388, in execute_download_actions
link_prec = [
~
...<3 lines>...
== (prec.name, prec.version, prec.build)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
][0]
~^^^
IndexError: list index out of range
'
aws lambda request id: 7a430d9e-f46b-5d15-8af6-6cef2d394de3
View in Grafana

@package-build-platform
Copy link

Failed to submit graph for 2a7da22 Message: Failed to run command: 'pbp generate from-feedstock --output /tmp/tmpvc4thfqz/pytorch-feedstock.yaml --custom-metadata-file /tmp/tmpvc4thfqz/custom_metadata.yaml --release-name pytorch-feedstock-73-2a7da221135e06deda8bc4faea71e9282cd18310 pytorch-feedstock/recipe', with error: 'INFO:root:Found feedstock pytorch-feedstock at /tmp/tmpvc4thfqz/pytorch-feedstock/recipe INFO:root:Build/Test graph from pytorch-feedstock Created by sbx_user1051 on 2025-10-23 06:01:18 Command line: /opt/conda/envs/webhook-listener/bin/pbp generate from-feedstock --output /tmp/tmpvc4thfqz/pytorch-feedstock.yaml --custom-metadata-file /tmp/tmpvc4thfqz/custom_metadata.yaml --release-name pytorch-feedstock-73-2a7da221135e06deda8bc4faea71e9282cd18310 pytorch-feedstock/recipe

INFO:root:Found abs.yaml in /tmp/tmpvc4thfqz/pytorch-feedstock
INFO:root:Creating graph from feedstock at: pytorch-feedstock
INFO:pbpcli.utils.common:Setting env var: CONDA_SUBDIR = linux-64.
INFO:pbpcli.utils.expand_variants:Elapsed time for get_package_variants: 0.09 seconds
INFO:pbpcli.utils.expand_variants:Matrix vars: 3 unchanging vars:(397), changing vars (3): ['blas_impl', 'numpy', 'python']
INFO:pbpcli.utils.expand_variants:Elapsed time for preparation for render: 0.00 seconds
WARNING: Adding .* to spec 'libtorch 2.7.0' to ensure satisfiability. Please consider putting {{{{ var_name }}}}.* or some relational operator (>/</>=/<=) on this spec in meta.yaml, or if req is also a build req, using {{{{ pin_compatible() }}}} jinja2 function instead. See https://conda.io/docs/user-guide/tasks/build-packages/variants.html#pinning-at-the-variant-level
INFO:pbpcli.utils.expand_variants:Elapsed time for api.render: 105.09 seconds
INFO:pbpcli.utils.common:Unsetting env var: CONDA_SUBDIR
INFO:pbpcli.utils.common:Setting env var: CONDA_SUBDIR = linux-aarch64.
INFO:pbpcli.utils.expand_variants:Elapsed time for get_package_variants: 0.10 seconds
INFO:pbpcli.utils.expand_variants:Matrix vars: 2 unchanging vars:(397), changing vars (2): ['numpy', 'python']
INFO:pbpcli.utils.expand_variants:Elapsed time for preparation for render: 0.00 seconds
INFO:pbpcli.utils.common:Setting env var: CONDA_OVERRIDE_GLIBC = 2.28.
INFO:pbpcli.utils.common:Unsetting env var: CONDA_OVERRIDE_GLIBC
INFO:pbpcli.utils.common:Unsetting env var: CONDA_SUBDIR
Traceback (most recent call last):
File "/opt/conda/envs/webhook-listener/bin/pbp", line 10, in
sys.exit(cli())
~~~^^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/click/core.py", line 1442, in call
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/click/core.py", line 1363, in main
rv = self.invoke(ctx)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/click/core.py", line 1830, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/click/core.py", line 1830, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/click/core.py", line 1226, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/click/core.py", line 794, in invoke
return callback(*args, **kwargs)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/pbpcli/cli/generate.py", line 413, in wrapper
return func(*args, **kwargs)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/pbpcli/cli/generate.py", line 624, in from_feedstock
build_configs, test_configs = expand_build_matrix(feedstock.recipe_dir_path, src_channels)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/pbpcli/cli/generate.py", line 79, in expand_build_matrix
_targets, build_configs, test_configs = variants_for_feedstock_and_platform(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
recipe_dir_path, platform, src_channels
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/pbpcli/utils/expand_variants.py", line 544, in variants_for_feedstock_and_platform
metadata_tuples = api.render(
parsed.recipe,
...<2 lines>...
variants=None,
)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/api.py", line 68, in render
return render_metadata_tuples(
metadata_tuples,
...<3 lines>...
bypass_env_check=bypass_env_check,
)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/render.py", line 1097, in render_metadata_tuples
for od, om in meta.get_output_metadata_set(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
permit_unsatisfiable_variants=permit_unsatisfiable_variants,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
permit_undefined_jinja=not finalize,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
bypass_env_check=bypass_env_check,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/metadata.py", line 2781, in get_output_metadata_set
conda_packages = finalize_outputs_pass(
ref_metadata,
...<3 lines>...
bypass_env_check=bypass_env_check,
)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/metadata.py", line 1077, in finalize_outputs_pass
fm = finalize_metadata(
om,
parent_metadata=parent_metadata,
permit_unsatisfiable_variants=permit_unsatisfiable_variants,
)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/render.py", line 722, in finalize_metadata
build_unsat, host_unsat = add_upstream_pins(
~~~~~~~~~~~~~~~~~^
m, permit_unsatisfiable_variants, exclude_pattern, extra_specs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/render.py", line 507, in add_upstream_pins
host_deps, host_unsat, extra_run_specs_from_host = _read_upstream_pin_files(
~~~~~~~~~~~~~~~~~~~~~~~~^
m, "host", permit_unsatisfiable_variants, exclude_pattern, extra_specs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/render.py", line 463, in _read_upstream_pin_files
extra_run_specs = get_upstream_pins(m, precs, env)
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/render.py", line 433, in get_upstream_pins
loc, dist = execute_download_actions(
~~~~~~~~~~~~~~~~~~~~~~~~^
m,
^^
...<2 lines>...
package_subset=[prec],
^^^^^^^^^^^^^^^^^^^^^^
)[prec]
^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda_build/render.py", line 396, in execute_download_actions
pfe.execute()
~~~~~~~~~~~^^
File "/opt/conda/envs/webhook-listener/lib/python3.13/site-packages/conda/core/package_cache_data.py", line 913, in execute
raise CondaMultiError(not_cancelled)
conda.CondaMultiError: ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer'))
("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer'))

'
aws lambda request id: 29617f2b-37a9-5114-887c-1e58f143026d
View in Grafana

@JamesRobertsonGames JamesRobertsonGames changed the title 2.7.0 Update 2.7.0 Update - CPU only Oct 24, 2025
# we cannot apply patches to submodules when checking out with git_url, because
# then conda switches the patch-application to use git, which cannot construct
# a usable ancestor from outside the submodule; the only option then is to
# pull in the submodules separately.
Copy link
Contributor

Choose a reason for hiding this comment

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

NB, this bit is to support release candidate building, which shouldn't be used mostly. Also the method below won't fetch release candidates anymore.

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.

4 participants