Fix system Eigen 5.0.x detection in CMake #188793

Commit:
Fixes detection of system-installed Eigen 5.0.x in CMake's find_package. The existing FindEigen3.cmake module only checked for Eigen3Config.cmake, missing the case where Eigen 5.0+ installs as Eigen3 with a different version scheme. Tested on Ubuntu 24.04 with Eigen 5.0.1 installed via apt. Pull Request resolved: https://github.com/pytorch/pytorch/pull/188793

Failed jobs

Failed unstable jobs

Pending jobs

Queued jobs

Workflows

pull

Job Status
Queued: 3.2m Duration: 18.4m Raw logs Utilization Report
Queued: 1.1m Duration: 22.7m Raw logs Utilization Report
Queued: 1.8m Duration: 14.3m Raw logs
Queued: 4.9m Running: 12.9m Raw logs
Queued: 1.3m Running: 5.8m Raw logs
Queued: 46.0s Running: 17.0m Raw logs
Queued: 2.8m Duration: 6.2m Raw logs Utilization Report
Queued: 2.8m Duration: 5.9m Raw logs Utilization Report
Queued: 1.8m Duration: 6.0m Raw logs Utilization Report
Queued: 1.8m Duration: 5.7m Raw logs Utilization Report
Queued: 2.7m Duration: 5.5m Raw logs Utilization Report
Queued: 3.7m Duration: 3.2m Raw logs Utilization Report
Queued: 1.9m Duration: 18.1m Raw logs Utilization Report
Queued: 48.0s Duration: 7.1m Raw logs Utilization Report
Queued: 1.5m Duration: 6.4m Raw logs Utilization Report
Queued: 1.4m Duration: 6.8m Raw logs Utilization Report
Queued: 1.9m Duration: 17.5m Raw logs Utilization Report

Lint

Job Status
Queued: 18.0s Duration: 4.2m Raw logs Utilization Report
Queued: 14.0s Duration: 1.8m Raw logs Utilization Report
O toc
Queued: 12.0s Duration: 38.0s Raw logs

linux-build

Job Status
Queued: 38.0s Duration: 16.8m Raw logs Utilization Report
Queued: 42.0s Duration: 17.2m Raw logs Utilization Report
Queued: 35.0s Duration: 15.9m Raw logs Utilization Report

inductor

Job Status
Queued: 1.5m Duration: 16.3m Raw logs Utilization Report
Queued: 2.1m Duration: 42.7m Raw logs Utilization Report
Queued: 2.3m Duration: 38.4m Raw logs Utilization Report
Queued: 1.8m Duration: 24.6m Raw logs Utilization Report

periodic

Job Status
Queued: 3.1m Duration: 45.2m Raw logs Utilization Report
Queued: 2.8m Duration: 38.7m Raw logs Utilization Report

Cross-Repo CI Backends

CRCR (3 backends dispatched — L3/L4 only)
Duration: 32m 14s Run
Duration: 1h 42m Run
Duration: 58m 22s Run
Duration: 3.0s Run
Duration: 18m 44s Run
Duration: 27m 31s Run
Duration: 2.0s Run
Duration: 32m 05s Run
Duration: 2.0s Run
Mockup Pages: Main HUD · CRCR Summary · Per-Repo (PR) · Nightly · Periodic · PR Workflows · PR View (Legacy)