mkl<=2024.0 CI pin installs a libtorch build that won't import on glibc 2.41+

Abierto
#2,539 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
54/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, python, ubuntu

Línea de trabajo

Start with .github/workflows/test.yml and inspect the pytorch link job's package pin and runner configuration; the issue cites conda-forge/pytorch-cpu-feedstock#350 and #355 for the fixed builds. Confirm which mkl constraint allows a fixed libtorch build to install on the target Ubuntu runner, then check that import torch succeeds in the job. #2537 pins the runner to Ubuntu 24.04 as a temporary workaround.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

GitHub CI/CD torch

import torch fails in the pytorch link CI job since ubuntu-latest moved to Ubuntu 26.04, with ImportError: libtorch_cpu.so: cannot enable executable stack. The "mkl<=2024.0" pin in .github/workflows/test.yml limits conda-forge's libtorch 2.5.1 to build _107, which predates the executable-stack fix for conda-forge/pytorch-cpu-feedstock#350 (conda-forge/pytorch-cpu-feedstock#355). Every later CPU build of 2.5.1 requires mkl >=2024.2.2, so the job can't get a fixed build while the pin stays.

The last passing run was on ubuntu-24.04 at 2026-10-19 18:15 UTC. Every run since 2026-10-20 01:14 UTC has landed on ubuntu-26.04 and failed, with the same _107 build installed in both. Example: https://github.com/pymc-devs/pytensor/actions/runs/39483309345/job/118837516328. #2537 pins the job to ubuntu-24.04 in the meantime.

Lenguaje dominante
Python
Estrellas
654
Forks
258
Merge medio
2 d 7 h
PR fusionados (30 d)
39

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pymc-devs/pytensor

Todos los issues de pymc-devs/pytensor

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.