MadryLab / trak

A fast, effective data attribution method for neural networks in PyTorch
https://trak.csail.mit.edu/
MIT License
180 stars 25 forks source link

fix finalize features floods CPU memory: remove log and load mapped gradients to device #59

Closed JD-ETH closed 10 months ago

JD-ETH commented 10 months ago

loading data directly on device instead of moving from CPU to GPU in score computation steps

kristian-georgiev commented 10 months ago

Great catch @JD-ETH, thanks!