Using "write_when_maxdim_exceeds" in ITensorTDVP raises error

I am trying to implement tdvp on the gpu using ITensorGPU and have seen really good speedups, but I am running into memory issues. I wanted to use the “write_when_maxdim_exceeds” argument to write to disk, but now I am getting an error message “LoadError: UndefVarError: disk not defined”. This happens when I add the argument to the tdvp call in the code provided in the examples folder too:

1 Like