jpata / particleflow

Machine-learned, GPU-accelerated particle flow reconstruction
Apache License 2.0
24 stars 30 forks source link

fix torch no grad #290

Closed jpata closed 9 months ago

jpata commented 9 months ago

no_grad is required around the model forward pass in the validation loop to allow larger batch sizes not to OOM.