Skip to content

Commit

Permalink
Merge pull request #314 from FluxML/nnlibcuda
Browse files Browse the repository at this point in the history
Move NNlibCUDA
  • Loading branch information
DhairyaLGandhi authored Apr 16, 2021
2 parents c30ea9b + 53ada55 commit a04e916
Show file tree
Hide file tree
Showing 30 changed files with 39 additions and 1,001 deletions.
28 changes: 15 additions & 13 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,37 @@ steps:
plugins:
- JuliaCI/julia#v1:
version: "1.6"
- JuliaCI/julia-test#v1: ~
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- lib
commands:
- julia .ci/develop_nnlibcuda.jl
- julia .ci/test_nnlibcuda.jl
# commands:
# - julia --project=test -e """
# Pkg.develop(url = \"https://github.com/FluxML/NNlibCUDA.jl\")
# Pkg.instantiate()
# Pkg.build()
# Pkg.status()
# Pkg.test()
# Pkg.test(\"NNlibCUDA\")
# """
agents:
queue: "juliagpu"
cuda: "*"
env:
NNLIB_TEST_CUDA: true
timeout_in_minutes: 60

## Add these when julia 1.7 is out
# - label: "GPU julia v1"
# plugins:
# - JuliaCI/julia#v1:
# version: "1"
# - JuliaCI/julia-test#v1: ~
# - JuliaCI/julia-coverage#v1:
# codecov: true
# dirs:
# - src
# - lib
# commands:
# - julia .ci/develop.jl
# - julia .ci/test.jl
# agents:
# queue: "juliagpu"
# cuda: "*"
Expand All @@ -38,14 +43,11 @@ steps:
# plugins:
# - JuliaCI/julia#v1:
# version: "nightly"
# - JuliaCI/julia-test#v1: ~
# - JuliaCI/julia-coverage#v1:
# codecov: true
# dirs:
# - src
# - lib
# commands:
# - julia .ci/develop.jl
# - julia .ci/test.jl
# agents:
# queue: "juliagpu"
# cuda: "*"
Expand Down
7 changes: 0 additions & 7 deletions .ci/develop.jl

This file was deleted.

11 changes: 0 additions & 11 deletions .ci/develop_nnlibcuda.jl

This file was deleted.

5 changes: 0 additions & 5 deletions .ci/test.jl

This file was deleted.

5 changes: 0 additions & 5 deletions .ci/test_nnlibcuda.jl

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.3' # Replace this with the minimum Julia version that your package supports.
- '1.5' # Replace this with the minimum Julia version that your package supports.
- '1' # automatically expands to the latest stable 1.x release of Julia
- 'nightly'
os:
Expand Down Expand Up @@ -65,8 +65,8 @@ jobs:
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- run: julia .ci/develop.jl
- run: julia .ci/test.jl
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
Expand Down
9 changes: 5 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "NNlib"
uuid = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
version = "0.7.18"
version = "0.7.19"

[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Expand All @@ -12,13 +12,14 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"

[compat]
Adapt = "3.2"
Adapt = "2, 3.2"
ChainRulesCore = "0.9"
Compat = "3.14"
Requires = "0.5, 1.0"
julia = "1.3"
julia = "1.5"

[extras]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a"
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
Expand All @@ -28,4 +29,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[targets]
test = ["ChainRulesTestUtils", "FiniteDifferences", "Logging", "Random", "StableRNGs", "Test", "Zygote"]
test = ["ChainRulesTestUtils", "CUDA", "FiniteDifferences", "Logging", "Random", "StableRNGs", "Test", "Zygote"]
1 change: 0 additions & 1 deletion lib/NNlibCUDA/.gitignore

This file was deleted.

22 changes: 0 additions & 22 deletions lib/NNlibCUDA/LICENSE.md

This file was deleted.

23 changes: 0 additions & 23 deletions lib/NNlibCUDA/Project.toml

This file was deleted.

5 changes: 0 additions & 5 deletions lib/NNlibCUDA/README.md

This file was deleted.

16 changes: 0 additions & 16 deletions lib/NNlibCUDA/src/NNlibCUDA.jl

This file was deleted.

7 changes: 0 additions & 7 deletions lib/NNlibCUDA/src/batchedmul.jl

This file was deleted.

39 changes: 0 additions & 39 deletions lib/NNlibCUDA/src/cudnn/activations.jl

This file was deleted.

124 changes: 0 additions & 124 deletions lib/NNlibCUDA/src/cudnn/batchnorm.jl

This file was deleted.

Loading

0 comments on commit a04e916

Please sign in to comment.