Skip to content

Instantly share code, notes, and snippets.

View alexanderst's full-sized avatar

Alexander Stoyakin alexanderst

View GitHub Profile
[INFO] Installing D:\src\github\konduitai\konduit-serving\konduit-serving-metadata\konduit-serving-meta\target\konduit-serving-meta-0.1.0-SNAPSHOT.jar to C:\Users\Alex\.m2\repository\ai\konduit\serving\konduit-serving-meta\0.1.0-SNAPSHOT\konduit-serving-meta-0.1.0-SNAPSHOT.jar
[INFO] Installing D:\src\github\konduitai\konduit-serving\konduit-serving-metadata\konduit-serving-meta\dependency-reduced-pom.xml to C:\Users\Alex\.m2\repository\ai\konduit\serving\konduit-serving-meta\0.1.0-SNAPSHOT\konduit-serving-meta-0.1.0-SNAPSHOT.pom
[INFO]
[INFO] --------------< ai.konduit.serving:konduit-serving-build >--------------
[INFO] Building konduit-serving-build 0.1.0-SNAPSHOT [27/31]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven) @ konduit-serving-build ---
[WARNING]
Dependency convergence error for com.google.code.gson:gson:2.8.5 paths to dependency are:
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< org.datavec:datavec-api >-----------------------
[INFO] Building datavec-api 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ datavec-api ---
[INFO] Deleting D:\src\github\konduitai\deeplearning4j\datavec\datavec-api\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ datavec-api ---
# Namespace Linalg
## Cholesky
```ANY
Computes the Cholesky decomposition of one or more square matrices.
```
* input Input tensor with inner-most 2 dimensions forming square matrices (NUMERIC type)
## Lstsq
```ANY
Solver for linear squares problems.
@alexanderst
alexanderst / gist:bfc81097dfd5f5867cacf3bf37ecd3d7
Last active February 13, 2020 19:25
Grapphite installation
1. Install this docker image https://hub.docker.com/r/hopsoft/graphite-statsd
docker run -d\
--name graphite\
--restart=always\
-p 80:80 \
-p 2003-2004:2003-2004 \
-p 2023-2024:2023-2024 \
-p 8125:8125/udp \
-p 8126:8126 \
-v /path/to/graphite/configs:/opt/graphite/conf\
OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
debug1: Connecting to 51.107.91.115 [51.107.91.115] port 22.
debug1: Connection established.
key_load_public: invalid format
debug1: identity file C:\\Users\\Alex/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\Alex/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\Alex/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
@alexanderst
alexanderst / gist:14039476419c995d53f82368a93a16bb
Last active February 10, 2020 17:03
Gradients tests failures
1. java.lang.IllegalStateException: Cannot differentiate graph relative to the specified loss function variables [loss]: graph does not contain any trainable SDVariables (floating point VARIABLE type SDVariables) that the loss function depend on.
at org.nd4j.base.Preconditions.throwStateEx(Preconditions.java:641)
at org.nd4j.base.Preconditions.checkState(Preconditions.java:304)
at org.nd4j.autodiff.samediff.SameDiff$1.define(SameDiff.java:4346)
at org.nd4j.autodiff.samediff.SameDiff.defineFunction(SameDiff.java:3981)
at org.nd4j.autodiff.samediff.SameDiff.defineFunction(SameDiff.java:3966)
at org.nd4j.autodiff.samediff.SameDiff.createGradFunction(SameDiff.java:4177)
at org.nd4j.autodiff.samediff.SameDiff.createGradFunction(SameDiff.java:4084)
at org.nd4j.autodiff.validation.GradCheckUtil.validateInternalState(GradCheckUtil.java:651)
at org.nd4j.autodiff.validation.GradCheckUtil.checkGradients(GradCheckUtil.java:99)
@alexanderst
alexanderst / log
Created January 28, 2020 10:18
application
This file has been truncated, but you can view the full file.
2020-01-28 12:11:37,375 - [INFO] - from org.nd4j.linalg.factory.Nd4jBackend in main
Loaded [CpuBackend] backend
2020-01-28 12:11:38,252 - [INFO] - from org.nd4j.nativeblas.NativeOpsHolder in main
Number of threads used for linear algebra: 6
2020-01-28 12:11:38,253 - [WARN] - from org.nd4j.linalg.cpu.nativecpu.CpuNDArrayFactory in main
o.n.i.T.TFGraphTestAllSameDiff - ERROR Executing test: fake_quant/min_max_args/rank1_0_1_8bit - input keys []
java.lang.UnsupportedOperationException: Unable to map property "min" of type class java.lang.Float
at org.nd4j.autodiff.samediff.serde.FlatBuffersMapper.mapFunctionPropertiesToFlatProperties(FlatBuffersMapper.java:488)
at org.nd4j.autodiff.samediff.serde.FlatBuffersMapper.asFlatNode(FlatBuffersMapper.java:808)
at org.nd4j.autodiff.samediff.SameDiff.asFlatBuffers(SameDiff.java:4863)
at org.nd4j.autodiff.samediff.SameDiff.asFlatBuffers(SameDiff.java:4759)
at org.nd4j.autodiff.samediff.SameDiff.asFlatBuffers(SameDiff.java:4981)
1. TF vs SD mismatch:
Crop_and_resize
Dropout
nd4j tests failed:
1. FakeQuant
java.lang.UnsupportedOperationException: calculateOutputDataTypes() has not been implemented for org.nd4j.linalg.api.ops.custom.FakeQuantWithMinMaxVarsPerChannel
2. is_strictly_increasing
Error at [D:/src/github/konduitai/deeplearning4j/libnd4j/include/ops/declarable/generic/shape/reshape.cpp:231:0]:
mvn install -DskipTests -Dlibnd4j.cuda
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.nd4j:nd4j-tests:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-compiler-plugin @ line 49, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.nd4j:nd4j-native:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-compiler-plugin @ line 318, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.nd4j:nd4j-cuda-10.1:jar:1.0.0-SNAPSHOT