Skip to content

Commit

Permalink
Merge pull request #15 from FluxML/dg/bk
Browse files Browse the repository at this point in the history
Add Buildkite pipeline
  • Loading branch information
DhairyaLGandhi authored Mar 15, 2022
2 parents de9fae6 + f0fc9e8 commit 101c23b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
steps:
- label: "GPU integration with julia v1.6"
plugins:
- JuliaCI/julia#v1:
# Drop default "registries" directory, so it is not persisted from execution to execution
# Taken from https://github.com/JuliaLang/julia/blob/v1.7.2/.buildkite/pipelines/main/platforms/package_linux.yml#L11-L12
persist_depot_dirs: packages,artifacts,compiled
version: "1.6"
- JuliaCI/julia-test#v1: ~
agents:
queue: "juliagpu"
cuda: "*"
timeout_in_minutes: 60

- label: "GPU integration with julia v1"
plugins:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-test#v1: ~
agents:
queue: "juliagpu"
cuda: "*"
env:
JULIA_CUDA_USE_BINARYBUILDER: "true"
timeout_in_minutes: 60
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ Zygote = "0.6"
julia = "1.6"

[extras]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
Dagger = "d58978e5-989f-55fb-8d15-ea34adc7bf54"
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
Metalhead = "dbeba491-748d-5e0e-a39e-b530a07fa0cc"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Dagger", "Distributed", "Flux", "Metalhead", "Test"]
test = ["CUDA", "Dagger", "Distributed", "Flux", "Metalhead", "Test"]
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ using DaggerFlux, Dagger
using Flux, Metalhead
using Flux.Zygote
using Distributed
using CUDA
using Test

function compare(y::Tuple, ŷ)
Expand Down

0 comments on commit 101c23b

Please sign in to comment.