-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[buildkite] Add CI builds on GPUs (#113)
* [buildkite] Add CI builds on GPUs * Update pipeline.yml * Update pipeline.yml again * Remove self-hosted builds * Fix pipeline.yml * Fix pipeline.yml * Update pipeline.yml added more env variables for Intel * env oneAPI * is env an issue? * Project.toml for test * project env * cleanup buildkite --------- Co-authored-by: Sungho Shin <[email protected]>
- Loading branch information
1 parent
b8158ee
commit f002603
Showing
4 changed files
with
117 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
steps: | ||
- label: "Nvidia GPUs -- CUDA.jl" | ||
plugins: | ||
- JuliaCI/julia#v1: | ||
version: "1.10" | ||
agents: | ||
queue: "juliagpu" | ||
cuda: "*" | ||
env: | ||
EXAMODELS_TEST_CUDA: 1 | ||
command: | | ||
julia --color=yes --project=./test -e ' | ||
using Pkg | ||
Pkg.develop(path=".") | ||
Pkg.instantiate() | ||
include("test/runtests.jl")' | ||
timeout_in_minutes: 30 | ||
|
||
- label: "AMD GPUs -- AMDGPU.jl" | ||
plugins: | ||
- JuliaCI/julia#v1: | ||
version: "1.10" | ||
agents: | ||
queue: "juliagpu" | ||
rocm: "*" | ||
rocmgpu: "*" | ||
env: | ||
EXAMODELS_TEST_AMDGPU: 1 | ||
JULIA_NUM_THREADS: 4 | ||
JULIA_AMDGPU_CORE_MUST_LOAD: "1" | ||
JULIA_AMDGPU_HIP_MUST_LOAD: "1" | ||
JULIA_AMDGPU_DISABLE_ARTIFACTS: "1" | ||
command: | | ||
julia --color=yes --project=./test -e ' | ||
using Pkg | ||
Pkg.develop(path=".") | ||
Pkg.instantiate() | ||
include("test/runtests.jl")' | ||
timeout_in_minutes: 30 | ||
|
||
- label: "Intel GPUs -- oneAPI.jl" | ||
plugins: | ||
- JuliaCI/julia#v1: | ||
version: "1.10" | ||
agents: | ||
queue: "juliagpu" | ||
intel: "*" | ||
env: | ||
EXAMODELS_TEST_ONEAPI: 1 | ||
OverrideDefaultFP64Settings: 1 | ||
IGC_EnableDPEmulation: 1 | ||
command: | | ||
julia --color=yes --project=./test -e ' | ||
using Pkg | ||
Pkg.develop(path=".") | ||
Pkg.instantiate() | ||
include("test/runtests.jl")' | ||
timeout_in_minutes: 30 | ||
|
||
# - label: "Apple M1 GPUs -- Metal.jl" | ||
# plugins: | ||
# - JuliaCI/julia#v1: | ||
# version: "1.10" | ||
# agents: | ||
# queue: "juliaecosystem" | ||
# os: "macos" | ||
# arch: "aarch64" | ||
# env: | ||
# EXAMODELS_TEST_METAL: "TRUE" | ||
# command: | | ||
# julia --color=yes --project -e ' | ||
# using Pkg | ||
# Pkg.develop(path=".") | ||
# Pkg.add("Metal") | ||
# Pkg.add("KernelAbstractions") | ||
# Pkg.instantiate() | ||
# include("test/runtests.jl")' | ||
# timeout_in_minutes: 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[deps] | ||
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" | ||
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6" | ||
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" | ||
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c" | ||
MadNLP = "2621e9c9-9eb4-46b1-8089-e8c72242dfb6" | ||
NLPModels = "a4795742-8479-5a88-8948-cc11e1c8c1a6" | ||
NLPModelsIpopt = "f4238b75-b362-5c4c-b852-0801c9a21d71" | ||
NLPModelsJuMP = "792afdf1-32c1-5681-94e0-d7bf7a5df49e" | ||
Percival = "01435c0c-c90d-11e9-3788-63660f8fbccc" | ||
PowerModels = "c36e90e8-916a-50a6-bd94-075b64ef4655" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e" | ||
Ipopt = "b6b21f68-93f8-5de0-b562-5493be1d77c9" | ||
JuMP = "4076af6c-e467-56ae-b986-b466b2749572" | ||
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b" | ||
oneAPI = "8f75cd03-7ff8-4ecb-9b8f-daf728133b1b" |