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

オープン
#2,539 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
54/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, python, ubuntu

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
654
フォーク
258
平均マージ
2日 7時間
マージ済み PR(30日)
39

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pymc-devs/pytensor のほかの issue

pymc-devs/pytensor の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。