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

ci: install specific AMDGPU version #1096

Merged
merged 4 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"))
avik-pal marked this conversation as resolved.
Show resolved Hide resolved

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