Giter Site home page Giter Site logo

95616arg / syrenn Goto Github PK

View Code? Open in Web Editor NEW
38.0 5.0 5.0 1.9 MB

SyReNN: Symbolic Representations for Neural Networks

License: MIT License

Python 58.46% Dockerfile 0.52% Makefile 0.44% Shell 0.24% C++ 32.84% Starlark 7.51%
neural-network verification integrated-gradients network-patching deep-neural-networks trustworthy-ai trustworthy-machine-learning

syrenn's People

Contributors

adityathakur avatar dependabot[bot] avatar matthewsot avatar zhe-tao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

syrenn's Issues

I meet some problems, can you help me?

CMake Error at cmake/prebuild.cmake:352 (MESSAGE):
Compiling getarch_2nd failed Change Dir:
/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/bazel-out/k8-fastbuild/bin/external/openblas/openblas.build_tmpdir/getarch2_build/CMakeFiles/CMakeTmp

Run Build
Command(s):/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/bazel-out/k8-fastbuild/bin/external/rules_foreign_cc/toolchains/make/bin/make
-f Makefile cmTC_9c818/fast &&
/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/bazel-out/k8-fastbuild/bin/external/rules_foreign_cc/toolchains/make/bin/make
-f CMakeFiles/cmTC_9c818.dir/build.make CMakeFiles/cmTC_9c818.dir/build

make[1]: Entering directory
'/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/bazel-out/k8-fastbuild/bin/external/openblas/openblas.build_tmpdir/getarch2_build/CMakeFiles/CMakeTmp'

Building C object CMakeFiles/cmTC_9c818.dir/getarch_2nd.c.o

/usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall
-Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer
-fno-canonical-system-headers -Wno-builtin-macro-redefined
-D__DATE__=""redacted"" -D__TIMESTAMP__=""redacted""
-D__TIME__=""redacted"" -fopenmp -lpthread -march=native -O3 -m64
-DGEMM_MULTITHREAD_THRESHOLD=4 -DNO_PARALLEL_MAKE=0
-I/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/bazel-out/k8-fastbuild/bin/external/openblas/openblas.build_tmpdir/getarch2_build
-I"/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas"
-I"/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/bazel-out/k8-fastbuild/bin/external/openblas/openblas.build_tmpdir"
-o CMakeFiles/cmTC_9c818.dir/getarch_2nd.c.o -c
/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:
In function 'main':

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:12:35:
error: 'SGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function);
did you mean 'XGEMM_DEFAULT_UNROLL_M'?

 12 |     printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M);
    |                                   ^~~~~~~~~~~~~~~~~~~~~~
    |                                   XGEMM_DEFAULT_UNROLL_M

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:12:35:
note: each undeclared identifier is reported only once for each function it
appears in

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:13:35:
error: 'SGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function);
did you mean 'QGEMM_DEFAULT_UNROLL_N'?

 13 |     printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N);
    |                                   ^~~~~~~~~~~~~~~~~~~~~~
    |                                   QGEMM_DEFAULT_UNROLL_N

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:14:35:
error: 'DGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function);
did you mean 'XGEMM_DEFAULT_UNROLL_M'?

 14 |     printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M);
    |                                   ^~~~~~~~~~~~~~~~~~~~~~
    |                                   XGEMM_DEFAULT_UNROLL_M

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:15:35:
error: 'DGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function);
did you mean 'QGEMM_DEFAULT_UNROLL_N'?

 15 |     printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N);
    |                                   ^~~~~~~~~~~~~~~~~~~~~~
    |                                   QGEMM_DEFAULT_UNROLL_N

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:19:35:
error: 'CGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function);
did you mean 'XGEMM_DEFAULT_UNROLL_M'?

 19 |     printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M);
    |                                   ^~~~~~~~~~~~~~~~~~~~~~
    |                                   XGEMM_DEFAULT_UNROLL_M

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:20:35:
error: 'CGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function);
did you mean 'QGEMM_DEFAULT_UNROLL_N'?

 20 |     printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N);
    |                                   ^~~~~~~~~~~~~~~~~~~~~~
    |                                   QGEMM_DEFAULT_UNROLL_N

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:21:35:
error: 'ZGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function);
did you mean 'XGEMM_DEFAULT_UNROLL_M'?

 21 |     printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M);
    |                                   ^~~~~~~~~~~~~~~~~~~~~~
    |                                   XGEMM_DEFAULT_UNROLL_M

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:22:35:
error: 'ZGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function);
did you mean 'QGEMM_DEFAULT_UNROLL_N'?

 22 |     printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N);
    |                                   ^~~~~~~~~~~~~~~~~~~~~~
    |                                   QGEMM_DEFAULT_UNROLL_N

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:69:50:
error: 'SGEMM_DEFAULT_Q' undeclared (first use in this function)

 69 |     printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 *  sizeof(float)));
    |                                                  ^~~~~~~~~~~~~~~

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:70:50:
error: 'DGEMM_DEFAULT_Q' undeclared (first use in this function)

 70 |     printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 *  sizeof(double)));
    |                                                  ^~~~~~~~~~~~~~~

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:71:50:
error: 'CGEMM_DEFAULT_Q' undeclared (first use in this function)

 71 |     printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 *  sizeof(float)));
    |                                                  ^~~~~~~~~~~~~~~

/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/external/openblas/getarch_2nd.c:72:50:
error: 'ZGEMM_DEFAULT_Q' undeclared (first use in this function)

 72 |     printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 *  sizeof(double)));
    |                                                  ^~~~~~~~~~~~~~~

make[1]: *** [CMakeFiles/cmTC_9c818.dir/build.make:78:
CMakeFiles/cmTC_9c818.dir/getarch_2nd.c.o] Error 1

make[1]: Leaving directory
'/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/bazel-out/k8-fastbuild/bin/external/openblas/openblas.build_tmpdir/getarch2_build/CMakeFiles/CMakeTmp'

make: *** [Makefile:127: cmTC_9c818/fast] Error 2

Call Stack (most recent call first):
cmake/system.cmake:141 (include)
CMakeLists.txt:62 (include)

-- Configuring incomplete, errors occurred!
See also "/root/.cache/bazel/_bazel_root/799be1c7b2d740446315781c141b8b5d/sandbox/linux-sandbox/2/execroot/SyReNN/bazel-out/k8-fastbuild/bin/external/openblas/openblas.build_tmpdir/CMakeFiles/CMakeOutput.log".
_____ END BUILD LOGS _____
rules_foreign_cc: Build wrapper script location: bazel-out/k8-fastbuild/bin/external/openblas/openblas_foreign_cc/wrapper_build_script.sh
rules_foreign_cc: Build script location: bazel-out/k8-fastbuild/bin/external/openblas/openblas_foreign_cc/build_script.sh
rules_foreign_cc: Build log location: bazel-out/k8-fastbuild/bin/external/openblas/openblas_foreign_cc/CMake.log

Target //syrenn_server:server failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 10.503s, Critical Path: 4.35s
INFO: 58 processes: 16 internal, 42 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
make: *** [Makefile:12:start_server] 错误 1

potential fix for docker-in-docker

i noticed that the readme says

NOTE: Docker-in-docker does not seem to currently be working.

have you tried mounting the docker socket into the container? you can use these arguments in docker run.

-v /var/run/docker.sock:/var/run/docker.sock

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.