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

Aperta
#2,539 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
54/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, python, ubuntu

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
654
Fork
258
Merge medio
2g 7h
PR unite (30g)
39

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pymc-devs/pytensor

Tutte le issue di pymc-devs/pytensor

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.