-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ITensors] [BUG] DMRG breaks when using cuTENSOR backend #1533
Comments
Thanks for the report, it looks like it shouldn't be difficult to fix. It looks like we are just converting to the |
Hello, @mtfishman yes I can look into this more. From a first glance, I would guess the issue is related to the Julia 1.6. Using an Julia version below 1.10 will grab outdated versions of |
Hi @kmp5VT. Unfortunately, I am stuck with Julia 1.6. The cluster where I am running this code only has support for the LTS version on its GPU nodes. |
Would it work for you to install Julia locally within your cluster home folder ? We have a tutorial on how to do that (basically it's the same as installing Julia from binary on your own personal machine). It might work just as well as using the cluster-wide Julia install except that then you could use a newer version of Julia. Note that whichever install you use, Julia just installs your packages into your home folder anyway (underneath the |
I see, thanks for pointing that out @kmp5VT, good point about the Julia version. @iagoleal, this isn't really up to us unfortunately, the latest package versions of the entire GPU ecosystem in Julia only works on more recent versions of Julia (it depends heavily on developments in the Julia compiler), so it is best to use the latest stable release (Julia 1.10) if possible, for example by installing Julia yourself as Miles suggested. We also plan to only support Julia 1.10 and above once it becomes LTS (I'm not sure that's official yet but I've heard that will happen when Julia 1.11 is released, which should be pretty soon). I'm closing this since your original code should work if you use a more recent Julia version. |
@iagoleal if you need more help using a newer version of Julia on your cluster, please start a post either in the ITensor forum (https://itensor.discourse.group) or the Julia forum (https://discourse.julialang.org). |
Hello, thanks for all your help! I just followed the tutorial sent by Miles and it works with Julia 1.10. |
Description of bug
Hello, I tried to run DMRG using the
cuTENSOR.jl
backend but stumbled into a method error.There is no problem when running with just
CUDA.jl
.Minimal code demonstrating the bug or unexpected behavior
Minimal runnable code
Expected output or behavior
The expected behavior was for the code to run with no exception, as happens when using only CUDA.jl.
Actual output or behavior
The code throws an error with the output below.
Output of minimal runnable code
Version information
versioninfo()
:using Pkg; Pkg.status("ITensors")
:Additionally, I am running it with CUDA 11.2.2.
The text was updated successfully, but these errors were encountered: