-
Notifications
You must be signed in to change notification settings - Fork 210
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
CUTENSOR breaks after device_reset! #2319
Comments
MWE: using CUDA, cuTENSOR, LinearAlgebra
function test()
A = CuArray{Float32}(undef, 1000, 8, 3, 2)
B = CuArray{Float32}(undef, 3, 2, 2, 8)
C = CuArray{Float32}(undef, 3, 3, 1000, 2)
tA = CuTensor(A, ['a', 'f', 'b', 'e'])
tB = CuTensor(B, ['c', 'e', 'd', 'f'])
tC = CuTensor(C, ['b', 'c', 'a', 'd'])
mul!(tC, tA, tB)
end
test()
CUDA.device_reset!()
test()
I have an API trace, but it doesn't look like I'm reusing any resources past the reset, so I guess this is cuTENSOR itself holding on to some stale things.
|
According to upstream this is as intended, and device resets shouldn't be used. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: