torch-batch-svd icon indicating copy to clipboard operation
torch-batch-svd copied to clipboard

Why it only works for matrices whose row and column are smaller than 32

Open wh1994-phd opened this issue 2 years ago • 1 comments

Describe the problem Why it only works for matrices whose row and column are smaller than 32?How can i use it for higher dim?

wh1994-phd avatar Nov 16 '22 15:11 wh1994-phd

https://github.com/KinglittleQ/torch-batch-svd/blob/c0a96119187f7d55f939d2ff2b92942c6d6ca930/torch_batch_svd/batch_svd.py#L19-L21

Just change this assertion and you are good to go (of course it depends on single/double precision and the VRAM on your GPU).

scaomath avatar Mar 21 '23 03:03 scaomath