Skip to content
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

Can't use versions later than 0.8.6 #711

Closed
PhilipFackler opened this issue Dec 19, 2024 · 2 comments
Closed

Can't use versions later than 0.8.6 #711

PhilipFackler opened this issue Dec 19, 2024 · 2 comments

Comments

@PhilipFackler
Copy link

I'm only on one system with AMD MI100 (and using ROCm 6.0.2).

With any version of AMDGPU.jl greater than 0.8.6, I get the following error when calling zeros (this comes from v1.1.6):

julia> AMDGPU.zeros(Float64, 10)
ERROR: HIPError(code hipErrorInvalidValue, one or more arguments outside of acceptable range)
Stacktrace:
  [1] check(err::AMDGPU.HIP.hipError_t)
    @ AMDGPU.HIP ~/julia_depot/packages/AMDGPU/a1MFN/src/hip/error.jl:145
  [2] macro expansion
    @ ~/julia_depot/packages/AMDGPU/a1MFN/src/utils.jl:135 [inlined]
  [3] hipMemGetInfo(free::Base.RefValue{UInt64}, total::Base.RefValue{UInt64})
    @ AMDGPU.HIP ~/julia_depot/packages/AMDGPU/a1MFN/src/hip/libhip.jl:209
  [4] info
    @ ~/julia_depot/packages/AMDGPU/a1MFN/src/memory.jl:10 [inlined]
  [5] free
    @ ~/julia_depot/packages/AMDGPU/a1MFN/src/memory.jl:20 [inlined]
  [6] maybe_collect(; blocking::Bool)
    @ AMDGPU ~/julia_depot/packages/AMDGPU/a1MFN/src/memory.jl:157
  [7] maybe_collect
    @ ~/julia_depot/packages/AMDGPU/a1MFN/src/memory.jl:144 [inlined]
  [8] AMDGPU.Runtime.Mem.HIPBuffer(bytesize::Int64; stream::HIPStream)
    @ AMDGPU.Runtime.Mem ~/julia_depot/packages/AMDGPU/a1MFN/src/runtime/memory/hip.jl:42
  [9] pool_alloc
    @ ~/julia_depot/packages/AMDGPU/a1MFN/src/memory.jl:270 [inlined]
 [10] ROCArray{Float64, 1, AMDGPU.Runtime.Mem.HIPBuffer}(::UndefInitializer, dims::Tuple{Int64})
    @ AMDGPU ~/julia_depot/packages/AMDGPU/a1MFN/src/array.jl:15
 [11] ROCArray
    @ ~/julia_depot/packages/AMDGPU/a1MFN/src/array.jl:88 [inlined]
 [12] (ROCArray{Float64})(::UndefInitializer, dims::Int64)
    @ AMDGPU ~/julia_depot/packages/AMDGPU/a1MFN/src/array.jl:106
 [13] zeros(T::Type, dims::Int64)
    @ AMDGPU ~/julia_depot/packages/AMDGPU/a1MFN/src/array.jl:259
 [14] top-level scope
    @ REPL[9]:1
@pxl-th
Copy link
Member

pxl-th commented Dec 19, 2024

Hi. Can you post the output of AMDGPU.versioninfo() and what OS are you on?

@PhilipFackler
Copy link
Author

After logging out and back in, I cannot reproduce the problem. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants