Commit Graph

90 Commits

Author SHA1 Message Date
bors[bot] 472e1fbf5e
Merge #957
957: Add some gradient checking tests on GPUs r=dhairyagandhi96 a=dhairyagandhi96

Good to add generic tests for tracking gradients through the various layers on the GPU.

Co-authored-by: Dhairya Gandhi <dhairya@juliacopmuting.com>
Co-authored-by: Dhairya Gandhi <dhairya@juliacomputing.com>
2020-05-21 12:25:53 +00:00
Dhairya Gandhi 0801064d50 add comment on broken layers 2020-05-20 00:11:38 +05:30
Dhairya Gandhi c4409fa6d1 clearing failures 2020-05-19 23:54:18 +05:30
bors[bot] 2dd23574c0
Merge #998
998: test restructure on the GPU r=CarloLucibello a=ChrisRackauckas

Requires https://github.com/FluxML/Zygote.jl/pull/474 to pass

Co-authored-by: Chris Rackauckas <accounts@chrisrackauckas.com>
2020-02-29 09:08:11 +00:00
Dhairya Gandhi 26631e1361 test_broken AlphaDropout 2020-02-16 21:22:37 +05:30
Tim Besard e2c2ec5575 Don't invoke GPU crossentropy with integers.
Broadcasting log on integers does not work.
2020-01-31 08:22:54 +01:00
Tim Besard e66a7f130f Don't compare CPU with GPU arrays. 2020-01-31 08:22:21 +01:00
Chris Rackauckas 9803826a36 test restructure on the GPU
Requires https://github.com/FluxML/Zygote.jl/pull/474
2020-01-20 13:53:28 -05:00
Dhairya Gandhi 29ab410794 test gradients are allocated on the gpu 2020-01-17 15:52:26 +05:30
Dhairya Gandhi b1e68813a8 cpu -> test_throws 2019-12-20 23:02:44 +05:30
Dhairya Gandhi 9b6155c77d
Merge branch 'master' into dg/gradtests 2019-12-05 18:17:47 +05:30
Dhairya Gandhi 76dc8ea9d4 formatting fixes 2019-12-05 18:14:04 +05:30
Dhairya Gandhi 717ad9328d add some grad tests on GPU 2019-12-05 18:12:23 +05:30
matsueushi a0314ce682 Fix logitbinarycrossentropy on CuArrays 2019-11-22 05:23:24 +00:00
janEbert a00d8d94ec Add test for CUDA binarycrossentropy 2019-11-08 17:28:54 +01:00
Tim Besard 33d276cdb7 Fix GPU-less tests. 2019-11-04 15:51:33 +01:00
Tim Besard 39ab740fb7 Check for CUDA availability at run time. 2019-11-02 11:18:06 +01:00
Katharine Hyatt 8913c9c741 Make the vector of weights test pass on GPU 2019-10-23 09:53:09 -04:00
Katharine Hyatt f7ce717aaa Add tests 2019-10-23 09:22:22 -04:00
Mike Innes b90b02872f Merge branch 'master' into tb/cuarrays_dnn 2019-09-27 14:58:32 +01:00
Mike Innes 691a29cf32 cudnn bug is fixed 2019-09-27 14:15:58 +01:00
bors[bot] acb6a89245
Merge #865
865: Functor r=MikeInnes a=MikeInnes

This refactors our current `@treelike` infrastructure. It somewhat formalises what we're doing around the idea of a Flux model as a functor, i.e. something that can be mapped over.

This is much more flexible than what we had before, and avoids some issues. It allows layers to have state that isn't mappable; it allows for dispatch when walking the tree, which means layers like `BatchNorm` can have non-trainable parameters; and it also allows for zipped mapping like `fmap(+, xs, ys)`, which isn't implemented yet but will be useful for the new optimisers work.

The main downside is that the term `functor` has been previously used in the Julia community as a malapropism for "thing that behaves like a function"; but hopefully this can start to reduce that usage.

Co-authored-by: Mike Innes <mike.j.innes@gmail.com>
2019-09-24 16:36:10 +00:00
Dhairya Gandhi 822288d63d merge conflicts 2019-09-24 00:31:44 +05:30
Mike Innes b60df53ba1 pkg up 2019-09-19 18:33:33 +01:00
Mike Innes cabb81e30b internal rename 2019-09-19 15:53:31 +01:00
Mike Innes c5e56b7e04 move setweights and copy_transpose 2019-09-17 17:22:35 +01:00
Mike Innes b348b20452 cudnn rnns + implicit gradients 2019-09-17 15:41:42 +01:00
Mike Innes fe57215b7e test fillarray gradients 2019-09-17 15:21:03 +01:00
Dhairya Gandhi b8d872d842 update to Flux 0.9+ 2019-09-11 21:11:02 +05:30
Mike Innes 487000ac31 fix cuda code and tests 2019-08-19 16:56:48 +01:00
Mike Innes 2f7ad895aa test cleanups 2019-08-19 15:22:50 +01:00
Mike Innes 9590aa63e3 rm last uses of param/data 2019-08-19 15:14:42 +01:00
thebhatman a128a7718d gradients test updated in cudnn 2019-07-16 17:27:35 +05:30
Manjunath Bhat 4ef5ec0005
brackets corrected 2019-07-12 21:03:57 +05:30
thebhatman 8d6028e27a tests with gradients 2019-07-12 20:47:43 +05:30
Mike Innes e2bf46b7fd gpu test fixes 2019-07-12 14:52:01 +01:00
Manjunath Bhat 2b379d0ec0
Allow scalar indexing or onehotbatch tests will fail 2019-07-12 17:56:47 +05:30
thebhatman ce6a1bf84f Modifying tests in curnn.jl 2019-06-13 18:45:37 +05:30
thebhatman 80c680c598 Updated tests in cudnn.jl 2019-06-13 18:44:46 +05:30
thebhatman 25f74d1b4a Modified tests in cuda.jl 2019-06-13 18:44:17 +05:30
thebhatman c7c0ee2cbc Resolving Merge Conflicts 2019-06-12 21:34:42 +05:30
thebhatman a782524a0e Temporarily removed tests of cudnn and curnn. 2019-06-10 18:29:55 +05:30
ayush-1506 2161163a82 added crosscor 2019-05-14 02:52:28 -07:00
Mike J Innes 0c265f305a fix most tests 2019-05-02 18:52:09 -07:00
Dhairya Gandhi 9bbbd17e4b
Merge branch 'master' into onecold 2019-04-30 19:09:36 +05:30
Dhairya Gandhi f4f8ba32fe fix variable name 2019-04-03 16:01:27 +05:30
Dhairya Gandhi cff1dfd258 conditionally execute RNN tests 2019-04-01 19:56:49 +05:30
Dhairya Gandhi bc33108e66 disable rnn tests 2019-03-31 00:29:10 +05:30
Dhairya Gandhi ac467cfe77 fixes 2019-03-30 18:17:57 +05:30
Dhairya Gandhi 492a3ca707 disable GRU tests 2019-03-30 18:15:42 +05:30