Skip to content

Commit

Permalink
fix SVD
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaweizzhao committed Mar 8, 2024
1 parent 8460814 commit a6bc165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galore_torch/galore_projector.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_orthogonal_matrix(self, weights, rank, type):
float_data = True
matrix = module_params.data

U, s, Vh = torch.linalg.svd(matrix)
U, s, Vh = torch.linalg.svd(matrix, full_matrices = False)

#make the smaller matrix always to be orthogonal matrix
if type=='right':
Expand Down

0 comments on commit a6bc165

Please sign in to comment.