llnl / llnl/LEAP

Volume mask for acceleration

Open
#177 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Cuda
Stars
249
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Hi Kyle,

I'm implementing a iterative reconstruction with a large learnable voxel grid (906×906×320), which results in slow reconstruction. However, most of the voxels are empty, and I’ve managed to obtain a volume mask (as shown in the demo you provided).

I’m wondering if it’s possible to accelerate the computation by using the volume mask—specifically, by skipping the forward and backward projections (i.e., loss gradient computation) in the empty regions where the mask is zero.

I noticed in the set_volume_mask function comments that the volume mask doesn't improve speed, but I’m curious if there’s any way to modify the pipeline to make this feasible. Any advice or insights would be greatly appreciated.

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the set_volume_mask entry point and trace how the forward and backward projection pipeline handles masked voxels. Determine whether the requested skipping behavior can be defined without changing reconstruction results, then identify appropriate projection tests or benchmarks to demonstrate completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
pytorch
Domain
machine-learning, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.