Skip to content

Instantly share code, notes, and snippets.

import torch
import math
def iso_c(task_vectors, config):
device = config.device
print("Computing SVD...")
with torch.no_grad():
new_vector = {}
for key in task_vectors[0].vector: