Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
261 commits
Select commit Hold shift + click to select a range
667559c
ManagedDataBuffer
raver119 Mar 26, 2020
d2d603e
ManagedDataBuffer
raver119 Mar 26, 2020
a52e862
one more planned Graph method
raver119 Mar 26, 2020
0e09e35
virtual DataBuffer methods
raver119 Mar 26, 2020
b2c2fa5
few build fixes
raver119 Mar 27, 2020
9334cbb
few other abstractions
raver119 Mar 27, 2020
540bbaf
first basic test
raver119 Mar 27, 2020
2a9b3c7
two more abstractions
raver119 Mar 27, 2020
8131f18
few missing methods
raver119 Mar 27, 2020
9d52e98
meh
raver119 Mar 27, 2020
d6f4c9b
meh
raver119 Mar 27, 2020
5c8c1ae
ManagedDataBuffer stuff
raver119 Mar 27, 2020
b84a51f
additional assert
raver119 Mar 27, 2020
6312a91
.gitignore
raver119 Mar 27, 2020
a28154c
meh
raver119 Mar 27, 2020
7fe07d1
virtual destructor
raver119 Mar 27, 2020
b0ad718
first analyzer test
raver119 Mar 28, 2020
16e544e
second analyzer test
raver119 Mar 28, 2020
eade08e
minor fix
raver119 Mar 28, 2020
c743a35
additional convenience operator for OpSequence
raver119 Mar 28, 2020
d920ca9
ExecutionLayer abstraction instead of std::vector for OptimizedGraph
raver119 Mar 28, 2020
0d42c67
NodeOptimizer abstraction
raver119 Mar 28, 2020
34deb66
GraphOptimizer abstraction
raver119 Mar 28, 2020
e7ed426
few files moved around
raver119 Mar 28, 2020
49469d5
few more files moved around
raver119 Mar 28, 2020
c4f0387
one more method
raver119 Mar 28, 2020
8d7e470
GraphExecutor
raver119 Mar 28, 2020
d3a46e7
one include fixed
raver119 Mar 28, 2020
9939fa9
few minor api changes
raver119 Mar 29, 2020
e7c22f6
placeholder test
raver119 Mar 29, 2020
f4a4387
GraphMemoryManager propagation
raver119 Mar 29, 2020
49835c7
GraphMemoryManager propagation 2
raver119 Mar 30, 2020
0fda980
few more tests
raver119 Mar 30, 2020
78b4068
nano rearrangement in tests
raver119 Mar 30, 2020
f79d1c7
GraphExecutor skeleton
raver119 Mar 30, 2020
b2194f1
GraphExecutor skeleton 2
raver119 Mar 30, 2020
8122ab8
GraphExecutor skeleton 3
raver119 Mar 30, 2020
2dd19a5
libnd4j raw implementation of topological sort
olegsemeniv Mar 30, 2020
079e4f2
some more rearrangements
raver119 Mar 31, 2020
a5ad0a1
next step
raver119 Mar 31, 2020
15365a0
next step
raver119 Mar 31, 2020
a350345
getting rid of legacy stuff
raver119 Mar 31, 2020
916a359
getting rid of legacy stuff
raver119 Mar 31, 2020
6db387e
bunch of tests fixed
raver119 Apr 1, 2020
c212277
minor fix
raver119 Apr 1, 2020
e23dbec
inputs/outputs validation
raver119 Apr 1, 2020
d4c17d3
shared_ptr for ops in cache and Nodes
raver119 Apr 1, 2020
ba31c63
few small fixes
raver119 Apr 1, 2020
d4434d6
few other Node fields removed
raver119 Apr 1, 2020
7ea87ce
next step
raver119 Apr 1, 2020
bc77361
one more signature changed
raver119 Apr 1, 2020
b463931
one more signature for Graph
raver119 Apr 1, 2020
bdbce0b
ExecutionTask instead of pair
raver119 Apr 1, 2020
1ecc0c4
nano fix
raver119 Apr 1, 2020
6f68769
few more methods/fields removed
raver119 Apr 1, 2020
49e66c4
ContextPrototype nodeId
raver119 Apr 1, 2020
b020d0a
few more changes around GraphExecutor
raver119 Apr 1, 2020
f6cc648
Node inputs propagation
raver119 Apr 1, 2020
4c75473
first execution test passes
raver119 Apr 1, 2020
e13ac10
graph execution and results
raver119 Apr 2, 2020
8ca3351
additional validation during graph construction
raver119 Apr 2, 2020
27a3f2d
Merge branch 'master' into r119_abstractions
raver119 Apr 2, 2020
54c1bf0
few files updated after merge
raver119 Apr 2, 2020
5f69862
few nano tweaks in RNGTests
raver119 Apr 2, 2020
d4ba199
libnd4j next step of graph topological sorting implementation
olegsemeniv Apr 2, 2020
80d58a4
libnd4j moved graph optimization semantic from graph to optimized gra…
olegsemeniv Apr 3, 2020
7aeb96e
internal changes
raver119 Apr 3, 2020
e9a4bdf
Merge branch 'r119_abstractions' of https://github.com/KonduitAI/deep…
raver119 Apr 3, 2020
b21f5f8
first set of small fixes
raver119 Apr 3, 2020
aee4066
no crashing tests atm
raver119 Apr 3, 2020
be7cad9
30 tests fixed
raver119 Apr 3, 2020
9ee47c1
check for inplace flag validity
raver119 Apr 3, 2020
1e9d587
more fixed tests JacobiSVD, QR, cholesky etc
raver119 Apr 3, 2020
f64b426
libnd4j corrections and optimization of graph topological sort, added…
olegsemeniv Apr 6, 2020
6a2b3c5
libnd4j minor corrections, added one more test of graph, added descri…
olegsemeniv Apr 6, 2020
1cb2d47
libnd4j: fixed behavior for several cases of directed graph, added tests
olegsemeniv Apr 7, 2020
9608a3f
libnd4j minor build fixes
olegsemeniv Apr 7, 2020
791f66d
Merge branch 'master' into r119_abstractions
raver119 Apr 8, 2020
5431b0c
var fix
raver119 Apr 8, 2020
1b80125
libnd4j fixed tests crashes in DeclarableOpsTests1 test case
olegsemeniv Apr 8, 2020
7c398c4
Merge branch 'r119_abstractions' of https://github.com/KonduitAI/deep…
olegsemeniv Apr 8, 2020
a174341
- RNG tests fixed
raver119 Apr 8, 2020
4e722e4
Merge remote-tracking branch 'origin/r119_abstractions' into r119_abs…
raver119 Apr 8, 2020
6e739e4
one fixed test for Oleg
raver119 Apr 8, 2020
3241880
libnd4j replace in-place test parts by new semantics
olegsemeniv Apr 8, 2020
cf6f214
libnd4j fixed support of some graphs, added test case
olegsemeniv Apr 8, 2020
b763947
two special graphs for Oleg
raver119 Apr 9, 2020
31557ea
libnd4j: added one more test for directed graph testing, minor correc…
olegsemeniv Apr 9, 2020
8ca8440
libnd4j fixed special case of graph, test added
olegsemeniv Apr 9, 2020
09dc51f
libnd4j fixed selection of external inputs
olegsemeniv Apr 9, 2020
83522cb
libnd4j added support of logic operation handling in optimized graph,…
olegsemeniv Apr 10, 2020
450dce0
libnd4j temporary disabled one step as seems it is wrong
olegsemeniv Apr 10, 2020
c87b184
libnd4j added more comments and behavior description for easier suppo…
olegsemeniv Apr 14, 2020
faca248
Merge branch 'master' into r119_abstractions
raver119 Apr 17, 2020
f6fc5c4
changes adopted
raver119 Apr 17, 2020
ab5c3aa
Merge branch 'master' into r119_abstractions
raver119 Apr 20, 2020
6244faa
Merge branch 'master' into r119_abstractions
raver119 Apr 20, 2020
09399a1
all svd tests pass
raver119 Apr 20, 2020
cd401bf
some NDArrayList-related changes
raver119 Apr 20, 2020
4c6e321
all list ops pass
raver119 Apr 20, 2020
7d706c4
Merge branch 'master' into r119_abstractions
raver119 Apr 21, 2020
362bec1
some references here and there
raver119 Apr 21, 2020
9667524
minor tests tweaks
raver119 Apr 22, 2020
9af3df1
- get rid of undefined ndarrays in lstmLayer, use pointers instead
shyrma Apr 22, 2020
336acf8
Merge branch 'master' into r119_abstractions
raver119 Apr 24, 2020
30e0542
test nano fix
raver119 Apr 24, 2020
f482c98
one more test fixed
raver119 Apr 24, 2020
2de6bc7
Graph::execute now handles VariableProxy creation
raver119 Apr 27, 2020
18fc952
Merge branch 'master' into r119_abstractions
raver119 Apr 27, 2020
94ba5f4
- GraphHolder changes - no more pointers there
raver119 Apr 27, 2020
0c23a21
few minor tweaks here and themplace_backere
raver119 Apr 27, 2020
f5c6a24
Merge branch 'master' into r119_abstractions
raver119 Apr 27, 2020
e9fb645
remove outdated Graph tests
raver119 Apr 27, 2020
cae1158
printOut draft
raver119 Apr 28, 2020
88ddc7f
printOut draft
raver119 Apr 28, 2020
d34fda0
Merge branch 'master' into r119_abstractions
raver119 Apr 30, 2020
bb57cfe
minor fix
raver119 May 1, 2020
ac0bd76
master merge
raver119 May 11, 2020
a99a45d
master merge
raver119 May 11, 2020
670e57c
Google formatting enforced
raver119 May 11, 2020
f6939ae
formatting
raver119 May 11, 2020
31958e6
formatting
raver119 May 11, 2020
e456070
Merge branch 'master' into r119_abstractions
raver119 May 11, 2020
03d3d7b
merge
raver119 May 11, 2020
2c4f807
Merge branch 'master' into r119_abstractions
raver119 May 14, 2020
e615438
merge
raver119 May 14, 2020
3114c90
disable one long running test in debug builds
raver119 May 14, 2020
f6dd7af
Merge branch 'master' into r119_abstractions
raver119 May 15, 2020
1410b90
master merged
raver119 May 15, 2020
c4af106
- got back row in JacobiSVD code which was accidentally deleted
shyrma May 15, 2020
4e5e535
- implementation of algorithm for topological sort of graph with no c…
shyrma May 21, 2020
69963ba
- testing and fixing bugs in algorithm for topological sort of graph
shyrma May 22, 2020
03d4f34
- algorithm of topological sort of graph with no cycles is completed
shyrma May 25, 2020
768ffb0
- provide sort of OpSequences within ExecutionLayer
shyrma May 26, 2020
63f623b
- correct topo sort code: now take into account that nodes id may be …
shyrma May 26, 2020
375b644
minor tests CMakeLists.txt fix
raver119 May 26, 2020
c4e1c72
- id propagation fixed for Logic ops
raver119 May 26, 2020
eaffa43
- inputs propagation fixed for Logic ops
raver119 May 26, 2020
e5191e8
dependencies
raver119 May 27, 2020
0d96f84
minor CMakeLists fix
raver119 May 28, 2020
5d82947
- while sorting, take into account dependencies between variables and…
shyrma May 28, 2020
72b83f4
while graph
raver119 May 28, 2020
73d52a8
Merge branch 'master' into r119_abstractions
raver119 Jun 1, 2020
ac4f755
master merged
raver119 Jun 1, 2020
4c90c1b
Merge branch 'master' into r119_abstractions
raver119 Jun 8, 2020
5c83564
stuff compiles again
raver119 Jun 8, 2020
a570ed2
minor tweaks
raver119 Jun 8, 2020
7cdd353
ASAN should be active for GCC only
raver119 Jun 8, 2020
ed8f34f
un-MMAP Graphs once they're gone
raver119 Jun 8, 2020
c405d3c
re-enabled GraphExecutorTests
raver119 Jun 8, 2020
6ee056a
just few comments
raver119 Jun 8, 2020
9bfdee7
ExecutionTask shouldn't rely on DeclarableOp
raver119 Jun 8, 2020
d138926
minor Node overhaul
raver119 Jun 9, 2020
715b124
we don't need extras
raver119 Jun 9, 2020
d051734
meh
raver119 Jun 9, 2020
dbb670c
meh
raver119 Jun 9, 2020
7af9efc
additional graph sort
raver119 Jun 9, 2020
6ec4966
Additional assertion
raver119 Jun 9, 2020
9b4dea6
few updates of minifier
raver119 Jun 9, 2020
facc2cf
- merge layers, containing only one opSeq with len=1, into one layer
shyrma Jun 9, 2020
0add137
- correct GraphAnalysisTests.optimizedGraph_7 test
shyrma Jun 9, 2020
8fbeec6
meh 3
raver119 Jun 9, 2020
ee081ea
Merge remote-tracking branch 'origin/r119_abstractions' into r119_abs…
raver119 Jun 9, 2020
9b27736
one more test
raver119 Jun 9, 2020
5531e88
typo
raver119 Jun 9, 2020
dad0e27
meh
raver119 Jun 9, 2020
ca37027
few tests
raver119 Jun 10, 2020
769c08f
VariableProxy update methods
raver119 Jun 10, 2020
3a4bec1
VariableSpace::dropVariable() implemented properly
raver119 Jun 10, 2020
3ae5e45
- check tests for graphs containing conditions
shyrma Jun 10, 2020
6e07438
- fill outputs of nodes in original map
shyrma Jun 10, 2020
a0ee500
- reproduce crash
shyrma Jun 10, 2020
6f9bc96
3 new tests
raver119 Jun 10, 2020
28ce87e
&&
raver119 Jun 10, 2020
cf8f677
one more test
raver119 Jun 10, 2020
9299246
no mo
raver119 Jun 10, 2020
264efe0
meh
raver119 Jun 10, 2020
0408720
few additional assertion
raver119 Jun 11, 2020
c3795cb
two Node signatures renamed
raver119 Jun 11, 2020
adea25b
one more assert
raver119 Jun 11, 2020
ffac730
StackFrames
raver119 Jun 11, 2020
41b30d2
minor updates
raver119 Jun 11, 2020
7ad0492
swap
raver119 Jun 11, 2020
16e986b
- correct number of outputs in node
shyrma Jun 11, 2020
f4a4f53
- introduce special treatment for NextIteration op in graph loop
shyrma Jun 11, 2020
ca037cc
Stack?
raver119 Jun 11, 2020
78e96e8
LogicSwitch draft
raver119 Jun 12, 2020
cbf0f68
- add new data member (map of nodes) to OptimizedGraph class
shyrma Jun 12, 2020
4c77db9
LogicSwitch draft
raver119 Jun 12, 2020
37ef5e9
LogicSwitch draft
raver119 Jun 12, 2020
4d02fc5
weird printout
raver119 Jun 15, 2020
0512e9c
Node fields
raver119 Jun 15, 2020
bb0d898
one more comment
raver119 Jun 15, 2020
e7f3b48
minor Node tweaks
raver119 Jun 15, 2020
db8b49c
- change condition on variable to be input array in graph
shyrma Jun 15, 2020
38294ff
NDArray ostream
raver119 Jun 15, 2020
64e6606
Refactored printIndexedBuffer routine.
shugeo Jun 15, 2020
38f328e
Merge branch 'r119_abstractions' of https://github.com/KonduitAI/deep…
shugeo Jun 15, 2020
e5ba9c9
- Node::_axis should be copied/moved too
raver119 Jun 15, 2020
78adefd
Merge remote-tracking branch 'origin/r119_abstractions' into r119_abs…
raver119 Jun 15, 2020
9dba7fb
Corrected formattedString routine.
shugeo Jun 15, 2020
e6488e7
Merge branch 'r119_abstractions' of https://github.com/KonduitAI/deep…
shugeo Jun 15, 2020
eceafbb
Refactored formattedString routine.
shugeo Jun 15, 2020
61db9e8
other method should be used in << operator
raver119 Jun 15, 2020
a2ad18b
Merge remote-tracking branch 'origin/r119_abstractions' into r119_abs…
raver119 Jun 15, 2020
aa8b370
Merge branch 'master' into r119_abstractions
raver119 Jun 17, 2020
ee730f0
nested while test
raver119 Jun 17, 2020
0d892d3
one more test passes
raver119 Jun 18, 2020
aa71161
one more test fixed
raver119 Jun 18, 2020
638160b
one outdated test removed
raver119 Jun 18, 2020
c89220d
few outdated tests removed
raver119 Jun 18, 2020
516a79d
Layer/Sequence delimiters added to Graph::printOut
raver119 Jun 18, 2020
c65f16e
CUDA side update
raver119 Jun 18, 2020
947fb48
- restore deleted row of code in lstmLayer mkl helper
shyrma Jun 18, 2020
5828e64
- first attempt to combine all ops belonging to loop into one opSequence
shyrma Jun 18, 2020
d4b79ac
- correct alg for cycle ops
shyrma Jun 18, 2020
aeb96b9
few more assertions
raver119 Jun 19, 2020
2971d0f
Outputs added to Graph::printOut
raver119 Jun 19, 2020
9b8b41d
next step
raver119 Jun 19, 2020
1ab388c
Numeric Node frameId
raver119 Jun 19, 2020
b13edae
Numeric Node frameId
raver119 Jun 19, 2020
d45132d
- determine correspondence between enter and exit nodes
shyrma Jun 19, 2020
7a8b379
- correct procedure of opSeq creation for ops within given loop
shyrma Jun 19, 2020
5bfed37
next step
raver119 Jun 19, 2020
5883c08
Merge remote-tracking branch 'origin/r119_abstractions' into r119_abs…
raver119 Jun 19, 2020
d8892cd
next step
raver119 Jun 19, 2020
8be942c
next step
raver119 Jun 19, 2020
3e00fe0
Exit draft
raver119 Jun 19, 2020
e706c9e
first test passed
raver119 Jun 19, 2020
02f1537
Merge branch 'master' into r119_abstractions
raver119 Jun 19, 2020
4f8fde2
assertions for a new test
raver119 Jun 19, 2020
0b00097
full stack cleanup
raver119 Jun 20, 2020
b5b9319
next step
raver119 Jun 20, 2020
5d74719
bunch of small tweaks
raver119 Jun 22, 2020
ba73c10
- apply another toposort for switch node
shyrma Jun 22, 2020
e27d87d
- purge methods for ExecutionLayer and OptimizedGraph
raver119 Jun 23, 2020
e71e9d1
OpSequence::append test
raver119 Jun 23, 2020
44d1efa
few tweaks to make CLang happy
raver119 Jun 23, 2020
c555c44
- provide different sorting algorithm for graph with loops
shyrma Jun 25, 2020
035416c
disable disabled Merge
raver119 Jun 25, 2020
39963b3
- split graph sorting into two separate algorithms: first one for usu…
shyrma Jun 25, 2020
cc5ef9a
Merge branch 'master' into r119_abstractions
raver119 Jun 25, 2020
8b6aa54
2 more tests for Switch and While
raver119 Jun 25, 2020
0ff755f
- provide connections between Exit and NextIeration nodes within same…
shyrma Jun 26, 2020
f9ce92c
stubs for cuda
raver119 Jun 29, 2020
50aa79f
BERT test updates
raver119 Jun 29, 2020
fc3220d
mmap for CUDA
raver119 Jun 29, 2020
d4c0abd
non_max_suppression_overlaps CUDA fix
raver119 Jun 29, 2020
bd9f9c2
sqrtm :/
raver119 Jun 29, 2020
b4fa5bf
few updates for Java side
raver119 Jul 2, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,7 @@ nd4j/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/nativebla

# Ignore meld temp files
*.orig

# ignore some specific folders related to CLion
libnd4j/tests_cpu/libnd4j_tests/cmake*/
libnd4j/tests_cpu/libnd4j_tests/cmake-build-debug-kraken/
12 changes: 6 additions & 6 deletions libnd4j/blas/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ ENDIF()

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang" AND SD_X86_BUILD)
# apple clang but not ios-arm
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ARCH_TUNE}")
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ARCH_TUNE} -Wno-defaulted-function-deleted")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
# using Clang
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ARCH_TUNE}")
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ARCH_TUNE} -Wno-defaulted-function-deleted")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")
# using Intel C++
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ARCH_TUNE} -O3 -fp-model fast")
Expand Down Expand Up @@ -230,9 +230,9 @@ if(SD_CUDA)
file(GLOB_RECURSE COMPILATION_UNITS false ../include/loops/cuda/compilation_units/*.cu.in
../include/ops/impl/compilation_units/*.cpp.in)

foreach(FL_ITEM ${COMPILATION_UNITS})
foreach(FL_ITEM ${COMPILATION_UNITS})
genCompilation(FL_ITEM)
endforeach()
endforeach()

if (HAVE_CUDNN)
message("cuDNN included")
Expand Down Expand Up @@ -305,11 +305,11 @@ elseif(SD_CPU)
file(GLOB_RECURSE LOOPS_SOURCES false ../include/loops/*.cpp ../include/loops/*.h)


file(GLOB_RECURSE COMPILATION_UNITS false ../include/ops/declarable/helpers/cpu/compilation_units/*.cpp.in
file(GLOB_RECURSE COMPILATION_UNITS false ../include/ops/declarable/helpers/cpu/compilation_units/*.cpp.in
../include/loops/cpu/compilation_units/*.cpp.in ../include/helpers/cpu/loops/*.cpp.in
../include/ops/impl/compilation_units/*.cpp.in)

foreach(FL_ITEM ${COMPILATION_UNITS})
foreach(FL_ITEM ${COMPILATION_UNITS})
genCompilation(FL_ITEM)
endforeach()

Expand Down
Loading