Rigsolve

GPU compatibility resolver

A PyTorch wheel, CUDA runtime and native extension can each install successfully and still fail together. Rigsolve checks the constraints as one system and produces an install or repair plan with reasons for the versions it picks.

Rigsolve social card showing PyTorch, CUDA and a native extension resolved into one install plan

Measured results

  • 92.2%

    fewer constraint evaluations

    Compared with exhaustive search on a four-package benchmark, with the same optimal assignment.

  • 75%

    fewer planned package changes

    Compared with selecting the newest versions for a C++ ABI repair, with the installed PyTorch family preserved.

What I built

I built an offline-first Python resolver that profiles the machine without importing PyTorch. It uses constraint propagation to eliminate incompatible combinations early and records the compatibility evidence behind its plan.

I added a repair mode that prioritizes keeping working packages. It looks for the smallest set of changes that restores compatibility, which is useful when an environment already depends on an installed PyTorch family.

Stack

  • Python
  • PyTorch
  • CUDA
  • pytest
  • GitHub Actions