Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

introduce trilinear upsampling #5

Closed
wants to merge 70 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
011534e
add scatter for CUDA
yuehhua Apr 12, 2021
55bc915
avoid unsafe behaviors
yuehhua Apr 14, 2021
eead674
add gitignore
yuehhua Apr 14, 2021
2c9ddfd
fix
yuehhua Apr 14, 2021
6af7d68
remove @eval
yuehhua Apr 14, 2021
fe007ae
test for scatter
yuehhua Apr 16, 2021
b892c48
add copy to avoid repeatedly modifying on dst
yuehhua Apr 16, 2021
c4b1820
correct test case
yuehhua Apr 20, 2021
4df4841
correct API
yuehhua Apr 21, 2021
d946494
introduce trilinear upsampling
Apr 25, 2021
325c731
Fix use of convdims.
maleadt Apr 29, 2021
d7e0e2b
Update src/cudnn/conv.jl
maleadt Apr 29, 2021
25631eb
Merge pull request #7 from FluxML/tb/convdims
DhairyaLGandhi Apr 29, 2021
84bdd6a
bump patch
DhairyaLGandhi Apr 29, 2021
4897bb7
add Manifest.toml
yuehhua May 2, 2021
2482cc6
Merge branch 'master' into scatter
yuehhua May 2, 2021
dc7e9ea
update compact
yuehhua May 2, 2021
1bd64c8
Update Project.toml
CarloLucibello May 2, 2021
94ea8b3
Merge pull request #1 from yuehhua/scatter
CarloLucibello May 2, 2021
feeea33
Add support for groups in convolutions
May 20, 2021
73fc04a
Remove local stuff
May 20, 2021
c5da628
gather for CUDA
yuehhua May 21, 2021
81896d1
Finish tests
May 21, 2021
c43a1eb
Revert unnecessary changes
May 21, 2021
2dd99b8
Minor refactor
May 21, 2021
f4b2774
Join tests together
May 22, 2021
c529ad7
Revert Manifest.toml
May 22, 2021
2a4b220
Merge pull request #8 from yuehhua/gather
CarloLucibello May 24, 2021
e224c4d
Update Project.toml
CarloLucibello Jun 1, 2021
6749baf
support gather for cuda gradient
yuehhua Jun 9, 2021
f7cdfb7
Merge pull request #12 from yuehhua/gather
CarloLucibello Jun 10, 2021
b8baa3d
Update Project.toml
CarloLucibello Jun 10, 2021
9defb4d
Specify which `@atomic` required (#14)
colbec Jun 18, 2021
00fe908
Update scatter.jl
domschl Jun 18, 2021
2937954
Merge pull request #15 from domschl/patch-1
CarloLucibello Jun 18, 2021
14ce8f6
Replcae workspace macro with do-block
akashkgarg Jun 21, 2021
6d7571e
Updating compat for CUDA.jl 3.3.1
akashkgarg Jun 22, 2021
3341eee
Merge pull request #16 from akashkgarg/workspace-macro-fix
DhairyaLGandhi Jun 23, 2021
d3d9372
bump patch
DhairyaLGandhi Jun 23, 2021
c2608fa
allow kwargs in `gradtest`
ToucheSir Jun 26, 2021
7f6d899
test softmax with dims
ToucheSir Jun 26, 2021
32f5240
Add links to readme
mcabbott Jun 27, 2021
2c1f05c
Test even more dimensions
ToucheSir Jun 27, 2021
acd314f
Merge pull request #18 from FluxML/mcabbott-patch-1
CarloLucibello Jun 27, 2021
ba9a1c0
Merge pull request #17 from ToucheSir/bc/test_softmax_dims
CarloLucibello Jun 27, 2021
60585e2
support scatter for cuda gradient
yuehhua Jun 9, 2021
c3e1331
Merge pull request #13 from yuehhua/scatter
CarloLucibello Jul 2, 2021
f574508
Update Project.toml
CarloLucibello Jul 2, 2021
c699dd4
Use CUDA.@atomic
darsnack Jul 2, 2021
57ea510
Merge pull request #19 from darsnack/kd/fix-@atomic
DhairyaLGandhi Jul 2, 2021
39b7719
bump patch
DhairyaLGandhi Jul 2, 2021
3c84be5
also test for the upcoming release
DhairyaLGandhi Jul 2, 2021
8f6ca86
pkg up
DhairyaLGandhi Jul 2, 2021
8a16b56
Merge pull request #20 from FluxML/dg/bump
DhairyaLGandhi Jul 3, 2021
b68d082
remove some old cruft
CarloLucibello Jul 15, 2021
b44c045
fix pooling
CarloLucibello Jul 15, 2021
45e94e5
fix pooling
CarloLucibello Jul 15, 2021
e94cafd
fix tests
CarloLucibello Jul 15, 2021
7e90581
Merge pull request #21 from FluxML/cl/groups
CarloLucibello Jul 15, 2021
fdc4e36
Update Project.toml
CarloLucibello Jul 15, 2021
a1182f6
Merge remote-tracking branch 'upstream/master'
Jul 16, 2021
e4ccf8d
Minor refactoring
Jul 16, 2021
2c883a9
Update test/conv.jl
CarloLucibello Jul 17, 2021
c01979c
Update NNlib to 0.7.25 & remove test
Jul 17, 2021
cbb9d71
Retrigger CI
Jul 17, 2021
0ff6f80
Merge pull request #9 from pxl-th/master
CarloLucibello Jul 17, 2021
4729fdb
Update Project.toml
CarloLucibello Jul 17, 2021
4092e7f
Update Project.toml
CarloLucibello Jul 17, 2021
e9cee63
introduce trilinear upsampling
Apr 25, 2021
b294fd7
Merge branch 'trilinear' of github.com:maxfreu/NNlibCUDA.jl into tril…
Jul 24, 2021
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
10 changes: 10 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,13 @@ steps:
queue: "juliagpu"
cuda: "*"
timeout_in_minutes: 60

- label: "GPU integration with julia v1.7-nightly"
plugins:
- JuliaCI/julia#v1:
version: "1.7-nightly"
- JuliaCI/julia-test#v1: ~
agents:
queue: "juliagpu"
cuda: "*"
timeout_in_minutes: 60
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Manifest.toml
288 changes: 0 additions & 288 deletions Manifest.toml

This file was deleted.

6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "NNlibCUDA"
uuid = "a00861dc-f156-4864-bf3c-e6376f28a68d"
version = "0.1.0"
version = "0.1.7"

[deps]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
Expand All @@ -10,8 +10,8 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"

[compat]
CUDA = "3"
NNlib = "0.7"
CUDA = "3.3.1"
NNlib = "0.7.25"
julia = "1.6"

[extras]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# NNlibCUDA
# NNlibCUDA.jl

CUDA compatibility for NNlib.jl.
This is a glue package which extends functions from [NNlib.jl](https://github.com/FluxML/NNlib.jl) to work with [CUDA.jl](https://github.com/JuliaGPU/CUDA.jl). It should be loaded automatically when using [Flux.jl](https://github.com/FluxML/Flux.jl), but not when using NNlib.jl by itself.

Julia gpu kernels are in `src/`, while wrappers around `cudnn` are in `src/cudnn/`.
5 changes: 5 additions & 0 deletions src/NNlibCUDA.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ using NNlib
using CUDA
using Random, Statistics

const IntOrIntTuple = Union{Integer, NTuple{N,<:Integer} where N}

include("upsample.jl")
include("activations.jl")
include("batchedmul.jl")
include("scatter.jl")
include("gather.jl")
include("utils.jl")
include("cudnn/cudnn.jl")
include("cudnn/conv.jl")
include("cudnn/pooling.jl")
Expand Down
Loading