Closed wiseodd closed 5 months ago
Currently it is done via multiple forward passes over the entire model, even if the non-last layers are constant. https://github.com/aleximmer/Laplace/blob/f14afc45094bb6e08c19800ecd9ea6a36548b827/laplace/lllaplace.py#L139-L144
Very relevant for large foundation models.
Duplicate #161
Currently it is done via multiple forward passes over the entire model, even if the non-last layers are constant. https://github.com/aleximmer/Laplace/blob/f14afc45094bb6e08c19800ecd9ea6a36548b827/laplace/lllaplace.py#L139-L144
Very relevant for large foundation models.