$ the-wire · showcase
TopK SAE training with sparse activations no longer crashes on backward
By RepoJournal · Filed · About Interpretability · Composed from the cited sources · methodology
SAELens fixed the autograd failure that broke TopK SAE training on the first loss.backward() whenever use_sparse_activations=True ran with the default rescale_acts_by_decoder_norm=True.
fix: train TopK SAEs with sparse activations when rescaling by decoder norm jbloomAus/SAELens
act_times_W_dec multiplies sparse COO activations by the reciprocal decoder norms, and autograd could not backpropagate through that sparse * dense product: "NotImplementedError: Could not run 'aten::view' with arguments from the 'SparseCPU' backend." The forward pass and decode() worked, so the failure surfaced only at the first backward call, which means any TopKTrainingSAE run with sparse ac...
fix: train TopK SAEs with sparse activations when rescaling by decoder norm (#801) jbloomAus/SAELens
The fix landed on main as a merged change to the same training path, so it reaches you with the next SAELens release rather than by pinning a branch. If your config already sets use_sparse_activations=True, the combination with rescale_acts_by_decoder_norm is now trainable.
Action items