Closed schusteritsch closed 5 months ago
Thanks for reporting the problem. This is now fixed in https://github.com/block-hczhai/pyblock3-preview/commit/dcc87b7ced166aa66a2b5ae372679f858e5564c5. You can retry after upgrading to pyblock3==0.2.9rc5
.
Great! Thanks for fixing this so quickly. Seems to work fine now, so I will close this.
I have been trying to recover the dense tensors from sparse tensors by using to_dense(). This follows on from what was described here https://github.com/block-hczhai/block2-preview/issues/64, i.e. how to get the MPS in tensor form in block2, and the answer recommends converting to block3.
I have used essentially the same code as in the above issue:
I then try to get the tensors for each site. This works for sites 0 to 2, so the following for instance gives me an expected output:
However for sites >2 this gives an error about attribute 'infos':
I've tried this both with the up to date pip version (pyblock3==0.2.8) as well as the current version on github (pyblock3==0.2.9rc4).
Any suggestions? Not sure if I did something wrong.