Skip to content

Commit

Permalink
ci: install specific AMDGPU version
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Nov 20, 2024
1 parent cb0900f commit 34e8aa0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/LuxLib/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if (BACKEND_GROUP == "all" || BACKEND_GROUP == "cuda")
end
end
(BACKEND_GROUP == "all" || BACKEND_GROUP == "amdgpu") &&
push!(EXTRA_PKGS, PackageSpec(; name="AMDGPU"))
push!(EXTRA_PKGS, PackageSpec(; name="AMDGPU", version=v"1.0.4"))
(BACKEND_GROUP == "all" || BACKEND_GROUP == "oneapi") &&
push!(EXTRA_PKGS, PackageSpec(; name="oneAPI"))
(BACKEND_GROUP == "all" || BACKEND_GROUP == "metal") &&
Expand Down
2 changes: 1 addition & 1 deletion lib/MLDataDevices/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if (BACKEND_GROUP == "all" || BACKEND_GROUP == "cuda")
end
end
(BACKEND_GROUP == "all" || BACKEND_GROUP == "amdgpu") &&
push!(EXTRA_PKGS, PackageSpec(; name="AMDGPU"))
push!(EXTRA_PKGS, PackageSpec(; name="AMDGPU", version=v"1.0.4"))
(BACKEND_GROUP == "all" || BACKEND_GROUP == "oneapi") &&
push!(EXTRA_PKGS, PackageSpec(; name="oneAPI"))
(BACKEND_GROUP == "all" || BACKEND_GROUP == "metal") &&
Expand Down
3 changes: 2 additions & 1 deletion lib/WeightInitializers/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ const BACKEND_GROUP = lowercase(get(ENV, "BACKEND_GROUP", "All"))
const EXTRA_PKGS = String[]

(BACKEND_GROUP == "all" || BACKEND_GROUP == "cuda") && push!(EXTRA_PKGS, "CUDA")
(BACKEND_GROUP == "all" || BACKEND_GROUP == "amdgpu") && push!(EXTRA_PKGS, "AMDGPU")
(BACKEND_GROUP == "all" || BACKEND_GROUP == "amdgpu") &&
push!(EXTRA_PKGS, "AMDGPU"; version=v"1.0.4")
(BACKEND_GROUP == "all" || BACKEND_GROUP == "metal") && push!(EXTRA_PKGS, "Metal")
(BACKEND_GROUP == "all" || BACKEND_GROUP == "oneapi") && push!(EXTRA_PKGS, "oneAPI")

Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if (BACKEND_GROUP == "all" || BACKEND_GROUP == "cuda")
end
end
(BACKEND_GROUP == "all" || BACKEND_GROUP == "amdgpu") &&
push!(EXTRA_PKGS, Pkg.PackageSpec("AMDGPU"))
push!(EXTRA_PKGS, Pkg.PackageSpec("AMDGPU", version=v"1.0.4"))

if !isempty(EXTRA_PKGS) || !isempty(EXTRA_DEV_PKGS)
@info "Installing Extra Packages for testing" EXTRA_PKGS EXTRA_DEV_PKGS
Expand Down

0 comments on commit 34e8aa0

Please sign in to comment.