TIGRE icon indicating copy to clipboard operation
TIGRE copied to clipboard

Add Windows CI coverage for Python installation and CUDA compatibility

Open victrvondoom opened this issue 2 weeks ago • 4 comments

Expected Behavior

TIGRE should provide a clearly documented and reproducible Windows installation and validation workflow for its Python interface.

Ideally, automated CI should verify the supported combinations of:

  • Windows versions.
  • Supported Python versions.
  • Compatible CUDA Toolkit versions.
  • Required C++ compiler toolchains.

The validation should cover more than package installation. It should also verify that TIGRE's Python bindings load correctly, sample datasets can be located, and basic projection, backprojection, and reconstruction operations work on supported CUDA configurations.

Where GPU hardware is unavailable in CI, installation and CPU-independent checks should still run, with GPU-dependent tests executed on an appropriate runner.

Actual Behavior

The repository provides both MATLAB and Python interfaces and relies on CUDA and C++ compilation for its GPU functionality.

However, I would like to see a more explicit, automated Windows compatibility validation workflow covering the Python installation process, compiler requirements, CUDA integration, and sample-data loading.

The README currently explains the source installation process and mentions prebuilt Linux wheels. A dedicated Windows validation matrix would make platform compatibility easier to verify and help identify installation or integration regressions before users encounter them.

This is a request for improved compatibility coverage, rather than a claim that a specific Windows installation failure has been reproduced.

Code to reproduce the problem (If applicable)

Not applicable as a confirmed runtime bug.

A proposed validation workflow could include:

  1. Install TIGRE from the repository using the documented Python installation procedure.
  2. Verify that the Python package and compiled extensions import successfully.
  3. Load the bundled sample dataset.
  4. Initialize a supported CUDA device.
  5. Execute a minimal forward projection and backprojection.
  6. Run a small reconstruction example.
  7. Verify the expected output dimensions and numerical validity.

Specifications

  • MATLAB/Python version: MATLAB R2026b / Python 3.15.2 (reference versions; compatibility should be verified before inclusion in the supported matrix).
  • OS: Windows 11, version 26H2 (OS Build 26300.9818).
  • CUDA version: NVIDIA CUDA Toolkit 13.5.0 (reference version; actual compatibility with TIGRE and the installed GPU driver needs verification).

Note: These are current reference release versions, not versions personally tested by me. The CI matrix should ultimately use versions supported by TIGRE's dependencies and build configuration.

victrvondoom avatar Nov 16 '26 14:11 victrvondoom

Thanks for the comment! Indeed. TIGRE CI basically doesn't exist now, most of whats there is through random LLM PRs. I am currently working on implementing appropiate CI, it will come withing next month.

AnderBiguri avatar Nov 16 '26 14:11 AnderBiguri

@AnderBiguri, I would genuinely love to be part of this work, especially the CI improvements you're planning over the next month. I'd be more than happy to help with that or pick up any other open issue that needs attention.

I also have a few ideas about some less obvious problems that might be affecting the project, and I'd love to investigate them, discuss them with you, and raise issues with proper findings.

Could you please assign me an issue to start with? Or, if you'd prefer, I can first open an issue based on my research and work on it once you approve it.

I'm really asking for an opportunity here. I genuinely want to contribute to TIGRE, not just open an issue and disappear. I'm willing to put in the time, learn the parts of the codebase I don't know yet, and keep working until I can deliver something useful. It would honestly mean a lot to me if you could give me a chance. Thank you! 🙏

victrvondoom avatar Nov 16 '26 15:11 victrvondoom

hi @victrvondoom The truth is that with the advent of LLMs, doing a lot of the basic big fixing and CI of a standard maintainer has become really easy, and I don't really need anyone to be running Claude prompts that I can myself and verify much faster on my own.

So the best way to contribute to TIGRE is now via new features that are useful for the tomography community, with algorithms, data, pre/postprocessing techniques, data loaders, etc. Of course much of this requires someone to be part of a research team working on this, so if you are, and you are doing research that you can validate and contribute to TIGRE, fantastic.

AnderBiguri avatar Nov 16 '26 16:11 AnderBiguri

Covered as far as hosted runners allow: windows-check.yml builds a Windows wheel with MSVC + CUDA 12.8 on every PR that touches compiled code, and the release workflow builds Windows wheels (#948). GPU tests can't run on GitHub's runners and stay on a local machine. Closing.

AnderBiguri avatar Nov 27 '26 13:11 AnderBiguri