pytorch_influence_functions
pytorch_influence_functions copied to clipboard
pass "damp" and "scale" to cacl_influence_single
Pass "damp" and "scale" to "cacl_influence_single" method. I found this when trying to fix the "NAN" problem #6.
@iamgroot42 added a NaN check in his fork to detect when there is numerical instability. Those are probably worth rolling into a pull request (either this one or a separate one).
I did have to make a change to his version to work properly with newer PyTorch versions. I can share code if you like @zatcsc.