Hackathon on Efficient integration of SIRF/STIR/CIL with Pytorch

Home » Hackathon on Efficient integration of SIRF/STIR/CIL with Pytorch

Hackathon on Efficient integration of SIRF/STIR/CIL with Pytorch

We’re planning a CCP-SyneRBI/CCPi hackathon on integration of SIRF/STIR/CIL with PyTorch. The aim is to discuss how to efficiently link data structures in SIRF (and its underlying libraries including STIR) and CIL to PyTorch tensors, and hack some prototype implementation together. 

Contact tomography@stfc.ac.uk if you are interested in taking part to the event.

Aim: optimise usage of CUDA in STIR/SIRF/CIL when interfacing to pytorch

Example tasks:

  • STIR 
    • Allow use CUDA managed pointers for image objects 
    • Add CUDA numerical operations ? 
    • Adjust STIR’s parallelproj interface to use above 
    • Expose via SWIG to python 
  • SIRF 
    • Pass through STIR image objects appropriately to python 
  • CIL 
    • Investigate DataContainer agnostic on backend, e.g. numpy, cupy, pytorch… 
    • Efficient data exchange with GPU backend, TIGRE/ASTRA 
    • making a denoising application with torch function 
    • run CIL Algorithm with DL denoising step 

 

Tentative schedule

Monday: 13:30-17:00
Introductory talks
  • Overview of STIR/SIRF architecture and need for this hackathon (Kris Thielemans) 
  • Overview of CIL architecture (Gemma Fardell) 
  • SIRF pytorch interface on Python level (Imraj Singh) 
  • Overview of interfacing C++/CUDA libraries with python/pytorch (Casper da Costa-Luis) 
  • CuVec and NiftyPET (Pawel Markiewicz & Casper da Costa-Luis) 
  • OpenRTK (Simon Rit) 
  • Parallelproj (Georg Schramm) 
Tuesday: 9:00-17:00
  • Group hacking 9:00 – 11:30
  • Group activity reporting: 11:30 – 12:00
  • Lunch 12:00 – 13:00
  • Group hacking 13:00 – 16:30
  • Group activity reporting: 16:30 – 17:00
Wednesday: 9:00-13:00
  • Group hacking 9:00 – 11:30
  • Group activity reporting: 11:30 – 12:00
  • Lunch 12:00 – 13:00

April 7, 2025

1:30 am

09/04/2025

Location at UCL Bloomsbury Campus (exact rooms TBC)