Comments (10)
Hi @warpoons
Couple things to notice here:
- we no longer support bazel 4.x
- If you really need to change bazel version, please modify .bazelversion
dial tcp 172.217.163.42:443: i/o timeout
please check your network
Best
from spu.
Hi @warpoons
Couple things to notice here:
- we no longer support bazel 4.x
- If you really need to change bazel version, please modify .bazelversion
dial tcp 172.217.163.42:443: i/o timeout
please check your networkBest
Thanks for your reply. I have changed the SPU version to 0.8.0b0 and the bug has also changed as:
ERROR: /home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/external/com_github_google_cpu_features/BUILD.bazel:24:20: Foreign Cc - CMake: Building cpu_features failed: (Exit 127): bash failed: error executing command (from target @com_github_google_cpu_features//:cpu_features) /bin/bash -c bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/wrapper_build_script.sh
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
rules_foreign_cc: Build failed!
rules_foreign_cc: Keeping temp build directory and dependencies directory for debug.
rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag.
rules_foreign_cc: Printing build logs:
_____ BEGIN BUILD LOGS _____
Bazel external C/C++ Rules. Building library cpu_features
Environment:______________
BUILD_SCRIPT=bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/build_script.sh
EXT_BUILD_ROOT=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib
BUILD_LOG=bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/CMake.log
PWD=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib
BUILD_WRAPPER_SCRIPT=bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/wrapper_build_script.sh
BAZEL_LINKOPTS=-static-libstdc++:-static-libgcc
TMPDIR=/tmp
EXT_BUILD_DEPS=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib/bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features.ext_build_deps
BAZEL_LINKLIBS=-l%:libstdc++.a:-l%:libgcc.a
BUILD_TMPDIR=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib/bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features.build_tmpdir
SHLVL=2
INSTALLDIR=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib/bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features
PATH=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib:/home/warpoons/.cache/bazelisk/downloads/bazelbuild/bazel-6.5.0-linux-x86_64
/bin:“/usr/local/bin:/home/warpoons/anaconda3/envs/spu_py310/bin:/home/warpoons/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/ws
l/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files (x86)/NVIDIA Corporation/
PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/d/TexLive/texlive/2023/bin/windows:/mnt/d/Matlab/bin:/mnt/c/Users/78299/AppData/Local/Microsoft/WindowsApps:/mnt/d/VSCode/Microsoft VS Code/bin:/snap/bin”
rules_foreign_cc: Build log location: bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/CMake.log
Target //examples/python/utils:nodectl failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 142.377s, Critical Path: 0.26s
INFO: 129 processes: 120 internal, 9 linux-sandbox.
FAILED: Build did NOT complete successfully
ERROR: Build failed. Not running target
This example 'https://github.com/secretflow/spu/tree/main/examples/python/ml/flax_resnet' seems important and problem-solving to me. May I ask if the bazel is no longer supported,how should I run this example. Thanks for your wonderful work :)
from spu.
Hi @warpoons
Couple things to notice here:
- we no longer support bazel 4.x
- If you really need to change bazel version, please modify .bazelversion
dial tcp 172.217.163.42:443: i/o timeout
please check your networkBest
Thanks for your reply. I have changed the SPU version to 0.8.0b0 and the bug has also changed as: ERROR: /home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/external/com_github_google_cpu_features/BUILD.bazel:24:20: Foreign Cc - CMake: Building cpu_features failed: (Exit 127): bash failed: error executing command (from target @com_github_google_cpu_features//:cpu_features) /bin/bash -c bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/wrapper_build_script.sh
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreign_cc: Printing build logs: _____ BEGIN BUILD LOGS _____
Bazel external C/C++ Rules. Building library cpu_features
Environment:______________ BUILD_SCRIPT=bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/build_script.sh EXT_BUILD_ROOT=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib BUILD_LOG=bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/CMake.log PWD=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib BUILD_WRAPPER_SCRIPT=bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/wrapper_build_script.sh BAZEL_LINKOPTS=-static-libstdc++:-static-libgcc TMPDIR=/tmp EXT_BUILD_DEPS=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib/bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features.ext_build_deps BAZEL_LINKLIBS=-l%:libstdc++.a:-l%:libgcc.a BUILD_TMPDIR=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib/bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features.build_tmpdir SHLVL=2 INSTALLDIR=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib/bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features PATH=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib:/home/warpoons/.cache/bazelisk/downloads/bazelbuild/bazel-6.5.0-linux-x86_64 /bin:“/usr/local/bin:/home/warpoons/anaconda3/envs/spu_py310/bin:/home/warpoons/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/ws l/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files (x86)/NVIDIA Corporation/ PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/d/TexLive/texlive/2023/bin/windows:/mnt/d/Matlab/bin:/mnt/c/Users/78299/AppData/Local/Microsoft/WindowsApps:/mnt/d/VSCode/Microsoft VS Code/bin:/snap/bin” rules_foreign_cc: Build log location: bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/CMake.log
Target //examples/python/utils:nodectl failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 142.377s, Critical Path: 0.26s INFO: 129 processes: 120 internal, 9 linux-sandbox. FAILED: Build did NOT complete successfully ERROR: Build failed. Not running target
This example 'https://github.com/secretflow/spu/tree/main/examples/python/ml/flax_resnet' seems important and problem-solving to me. May I ask if the bazel is no longer supported,how should I run this example. Thanks for your wonderful work :)
bazel is supported, just < 6.x is no longer supported.
For your build issue, can you provide full build log at bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/CMake.log
from spu.
Hi @warpoons
Couple things to notice here:
- we no longer support bazel 4.x
- If you really need to change bazel version, please modify .bazelversion
dial tcp 172.217.163.42:443: i/o timeout
please check your networkBest
Thanks for your reply. I have changed the SPU version to 0.8.0b0 and the bug has also changed as: ERROR: /home/warpoons/.cache/bazel/bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/external/com_github_google_cpu_features/BUILD.bazel:24:20: Foreign Cc - CMake: Building cpu_features failed: (Exit 127): bash failed: error executing command (from target @com_github_google_cpu_features//:cpu_features) /bin/bash -c bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/wrapper_build_script.sh
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreign_cc: Printing build logs: _____ BEGIN BUILD LOGS _____
Bazel external C/C++ Rules. Building library cpu_features
Environment:_____________ BUILD_SCRIPT=bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/build_script.sh EXT_BUILD_ROOT=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib BUILD_LOG=bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/CMake.log PWD=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib BUILD_WRAPPER_SCRIPT=bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/wrapper_build_script.sh BAZEL_LINKOPTS=-static-libstdc++:-static-libgcc TMPDIR=/tmp EXT_BUILD_DEPS=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib/bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features.ext_build_deps BAZEL_LINKLIBS=-l%:libstdc++.a:-l%:libgcc.a BUILD_TMPDIR=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib/bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features.build_tmpdir SHLVL=2 INSTALLDIR=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib/bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features PATH=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib:/home/warpoons/.cache/bazelisk/downloads/bazelbuild/bazel-6.5.0-linux-x86_64 /bin:“/usr/local/bin:/home/warpoons/anaconda3/envs/spu_py310/bin:/home/warpoons/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/ws l/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files (x86)/NVIDIA Corporation/ PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/d/TexLive/texlive/2023/bin/windows:/mnt/d/Matlab/bin:/mnt/c/Users/78299/AppData/Local/Microsoft/WindowsApps:/mnt/d/VSCode/Microsoft VS Code/bin:/snap/bin” rules_foreign_cc: Build log location: bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/CMake.log
Target //examples/python/utils:nodectl failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 142.377s, Critical Path: 0.26s INFO: 129 processes: 120 internal, 9 linux-sandbox. FAILED: Build did NOT complete successfully ERROR: Build failed. Not running target
This example 'https://github.com/secretflow/spu/tree/main/examples/python/ml/flax_resnet' seems important and problem-solving to me. May I ask if the bazel is no longer supported,how should I run this example. Thanks for your wonderful work :)bazel is supported, just < 6.x is no longer supported.
For your build issue, can you provide full build log at
bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/CMake.log
Thanks. I changed my Bazel to the required version of 6.5.0, the bug has reported differently:
ERROR: /home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/external/com_github_openssl_openssl/BUILD.bazel:22:10: @com_github_openssl_openssl//:all_srcs: invalid label 'test/smime-eml/SignedInvalidMappingFromanyPolicyTest7.eml:OECustomProperty' in element 4383 of attribute 'srcs' in 'filegroup' rule: invalid label 'test/smime-eml/SignedInvalidMappingFromanyPolicyTest7.eml:OECustomProperty': absolute label must begin with '@' or '//'
ERROR: /home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/external/com_github_brpc_brpc/BUILD.bazel:301:11: Target '@com_github_openssl_openssl//:openssl' contains an error and its package is in error and referenced by '@com_github_brpc_brpc//:butil'
ERROR: Analysis of target '//examples/python/utils:nodectl' failed; build aborted:
INFO: Elapsed time: 0.095s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
currently loading: libspu/dialect/pphlo
ERROR: Build failed. Not running target
Sorry for taking your more time. Appreciate your efforts!
from spu.
I just realize that should I change the IP addresses in the 3pc.jasn file?
the original IP is:
{
"id": "outsourcing.3pc",
"nodes": {
"node:0": "127.0.0.1:61920",
"node:1": "127.0.0.1:61921",
"node:2": "127.0.0.1:61922",
"node:3": "127.0.0.1:61923",
"node:4": "127.0.0.1:61924"
},
If I really need change it, how can I determine my correct IP? thanks
from spu.
Hi @warpoons
Couple things to notice here:
- we no longer support bazel 4.x
- If you really need to change bazel version, please modify .bazelversion
dial tcp 172.217.163.42:443: i/o timeout
please check your networkBest
Thanks for your reply. I have changed the SPU version to 0.8.0b0 and the bug has also changed as: ERROR: /home/warpoons/.cache/bazel/bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/external/com_github_google_cpu_features/BUILD.bazel:24:20: Foreign Cc - CMake: Building cpu_features failed: (Exit 127): bash failed: error executing command (from target @com_github_google_cpu_features//:cpu_features) /bin/bash -c bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/wrapper_build_script.sh
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreign_cc: Printing build logs: _____ BEGIN BUILD LOGS _____
Bazel external C/C++ Rules. Building library cpu_features
Environment:_____________ BUILD_SCRIPT=bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/build_script.sh EXT_BUILD_ROOT=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib BUILD_LOG=bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/CMake.log PWD=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib BUILD_WRAPPER_SCRIPT=bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/wrapper_build_script.sh BAZEL_LINKOPTS=-static-libstdc++:-static-libgcc TMPDIR=/tmp EXT_BUILD_DEPS=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib/bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features.ext_build_deps BAZEL_LINKLIBS=-l%:libstdc++.a:-l%:libgcc.a BUILD_TMPDIR=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib/bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features.build_tmpdir SHLVL=2 INSTALLDIR=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib/bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features PATH=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/11/execroot/spulib:/home/warpoons/.cache/bazelisk/downloads/bazelbuild/bazel-6.5.0-linux-x86_64 /bin:“/usr/local/bin:/home/warpoons/anaconda3/envs/spu_py310/bin:/home/warpoons/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/ws l/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files (x86)/NVIDIA Corporation/ PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/d/TexLive/texlive/2023/bin/windows:/mnt/d/Matlab/bin:/mnt/c/Users/78299/AppData/Local/Microsoft/WindowsApps:/mnt/d/VSCode/Microsoft VS Code/bin:/snap/bin” rules_foreign_cc: Build log location: bazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/CMake.log
Target //examples/python/utils:nodectl failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 142.377s, Critical Path: 0.26s INFO: 129 processes: 120 internal, 9 linux-sandbox. FAILED: Build did NOT complete successfully ERROR: Build failed. Not running target
This example 'https://github.com/secretflow/spu/tree/main/examples/python/ml/flax_resnet' seems important and problem-solving to me. May I ask if the bazel is no longer supported,how should I run this example. Thanks for your wonderful work :)bazel is supported, just < 6.x is no longer supported.
For your build issue, can you provide full build log atbazel-out/k8-opt/bin/external/com_github_google_cpu_features/cpu_features_foreign_cc/CMake.log
Thanks. I changed my Bazel to the required version of 6.5.0, the bug has reported differently: ERROR: /home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/external/com_github_openssl_openssl/BUILD.bazel:22:10: @com_github_openssl_openssl//:all_srcs: invalid label 'test/smime-eml/SignedInvalidMappingFromanyPolicyTest7.eml:OECustomProperty' in element 4383 of attribute 'srcs' in 'filegroup' rule: invalid label 'test/smime-eml/SignedInvalidMappingFromanyPolicyTest7.eml:OECustomProperty': absolute label must begin with '@' or '//' ERROR: /home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/external/com_github_brpc_brpc/BUILD.bazel:301:11: Target '@com_github_openssl_openssl//:openssl' contains an error and its package is in error and referenced by '@com_github_brpc_brpc//:butil' ERROR: Analysis of target '//examples/python/utils:nodectl' failed; build aborted: INFO: Elapsed time: 0.095s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured) currently loading: libspu/dialect/pphlo ERROR: Build failed. Not running target
Sorry for taking your more time. Appreciate your efforts!
This is strange, can you try bazel clean --expunge
and then run again
from spu.
I just realize that should I change the IP addresses in the 3pc.jasn file? the original IP is: { "id": "outsourcing.3pc", "nodes": { "node:0": "127.0.0.1:61920", "node:1": "127.0.0.1:61921", "node:2": "127.0.0.1:61922", "node:3": "127.0.0.1:61923", "node:4": "127.0.0.1:61924" }, If I really need change it, how can I determine my correct IP? thanks
Are you running with 3 machines or 3 nodes on one machine?
from spu.
bazel clean --expunge
(1) By re-runing after bazel clean --expunge, bugs:
ERROR: /home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/external/zlib/BUILD.bazel:24:20: Foreign Cc - CMake: Building zlib [for tool] failed: (Exit 127): bash failed: error executing command (from target @zlib//:zlib) /bin/bash -c bazel-out/k8-opt-exec-50AE0418/bin/external/zlib/zlib_foreign_cc/wrapper_build_script.sh
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
rules_foreign_cc: Build failed!
rules_foreign_cc: Keeping temp build directory and dependencies directory for debug.
rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag.
rules_foreign_cc: Printing build logs:
_____ BEGIN BUILD LOGS _____
Bazel external C/C++ Rules. Building library zlib
Environment:______________
BUILD_SCRIPT=bazel-out/k8-opt-exec-50AE0418/bin/external/zlib/zlib_foreign_cc/build_script.sh
EXT_BUILD_ROOT=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/2/execroot/spulib
BUILD_LOG=bazel-out/k8-opt-exec-50AE0418/bin/external/zlib/zlib_foreign_cc/CMake.log
PWD=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/2/execroot/spulib
BUILD_WRAPPER_SCRIPT=bazel-out/k8-opt-exec-50AE0418/bin/external/zlib/zlib_foreign_cc/wrapper_build_script.sh
TMPDIR=/tmp
EXT_BUILD_DEPS=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/2/execroot/spulib/bazel-out/k8-opt-exec-50AE0418/bin/external/zlib/zlib.ext_build_deps
BUILD_TMPDIR=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/2/execroot/spulib/bazel-out/k8-opt-exec-50AE0418/bin/external/zlib/zlib.build_tmpdir
SHLVL=2
INSTALLDIR=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/2/execroot/spulib/bazel-out/k8-opt-exec-50AE0418/bin/external/zlib/zlib
PATH=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/2/execroot/spulib:“/usr/local/bin:/home/warpoons/anaconda3/envs/spu_py310/bin:/home/warpoons/an
aconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/W
indows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/d/TexLive/texlive/2023/bin/windows:/mnt/d/Matlab/bin:/mnt/c/Users/78299/AppData/Local/Microsoft/WindowsApps:/mnt/d/VSCode/Microsoft VS Code/bin:/snap/bin”
_=/usr/bin/env
Can not copy /home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/2/execroot/spulib/cmake
Can not copy /home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/2/execroot/spulib/ninja
- cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_TOOLCHAIN_FILE=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/2/execroot/spulib/bazel-out/k8-o
pt-exec-50AE0418/bin/external/zlib/zlib.build_tmpdir/crosstool_bazel.cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f0
57/sandbox/linux-sandbox/2/execroot/spulib/bazel-out/k8-opt-exec-50AE0418/bin/external/zlib/zlib -DCMAKE_PREFIX_PATH=/home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandb
ox/linux-sandbox/2/execroot/spulib/bazel-out/k8-opt-exec-50AE0418/bin/external/zlib/zlib.ext_build_deps -DCMAKE_RANLIB= -GNinja -G Ninja /home/warpoons/.cache/bazel/_bazel_warpoons/7a3c07d0976ca54dbfb34add5770f057/sandbox/linux-sandbox/2/execroot/spulib/external/zlib
bazel-out/k8-opt-exec-50AE0418/bin/external/zlib/zlib_foreign_cc/build_script.sh: line 110: cmake: command not found
_____ END BUILD LOGS _____
rules_foreign_cc: Build wrapper script location: bazel-out/k8-opt-exec-50AE0418/bin/external/zlib/zlib_foreign_cc/wrapper_build_script.sh
rules_foreign_cc: Build script location: bazel-out/k8-opt-exec-50AE0418/bin/external/zlib/zlib_foreign_cc/build_script.sh
rules_foreign_cc: Build log location: bazel-out/k8-opt-exec-50AE0418/bin/external/zlib/zlib_foreign_cc/CMake.log
Target //examples/python/utils:nodectl failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 69.298s, Critical Path: 0.36s
INFO: 50 processes: 50 internal.
FAILED: Build did NOT complete successfully
ERROR: Build failed. Not running target
(2)
No, I am not. I had not run any extra command except for "bazel run -c opt //examples/python/utils:nodectl -- --config pwd
/examples/python/ml/flax_resnet/3pc.json up".
from spu.
Hi @warpoons
cmake: command not found
please make sure you have installed all prerequisites listed here
If you are not using 3 different machines to run examples, default 3pc.json should be good enough
from spu.
Hi @anakinxc
Sorry for late response. I have installed cmake before starting all these tutorials and really don't understand why cmake disappears.
Anyway, I tried to re-install camke this morning, re-run the experiment and it finally works (spu version 0.8.0b0, bazel 6.5.0
and cmake 3.29.0-rc3).
Thanks for your wise instruction.
from spu.
Related Issues (20)
- [Feature]: flax_gpt2 inference using FM32 secret sharing HOT 4
- How to get the communication volume and how to evaluate individual DNN layer? HOT 6
- [Question]: Are the plaintexts passed to AddPlainInplace in NTT form? HOT 3
- mac运行spu-psi_test中.so错误 HOT 12
- How to use SPU to evaluate private models in 2PC setting with only one machine? HOT 14
- [Bug]: One more minus sign HOT 2
- [Bug]: Package 'examples/python/ml/my_custom_file' contains errors HOT 10
- [Bug]: The critical condition judgment is wrong HOT 5
- [Bug]: Error when trying to benchmark SPU latency in 2PC setting. HOT 3
- another case where secret indexing doesn't seem to work HOT 2
- [Bug]: 8x communication compared to reported in Cheetah HOT 5
- [Operation Question] How to separate truncation and matmul operations HOT 9
- [Question]: Are there any files building correspondence between the kernels and their dispatching functions? HOT 3
- [Bug]: bitintl_b in ab_api.cc is wrong HOT 3
- [Question]: The number of convolutional multiplication decreases but the communication cost increases in SPU HOT 4
- [Bug]: gRPC Socket Shutting Down After Many Runs HOT 7
- [Bug]: gcc 11.2下的编译问题 HOT 12
- [Question]: 能否不重复编译外部库,加速编译速度? HOT 4
- [Question]: stub_method方法实现将函数交由server执行,请问如何调试server中函数的具体执行过程? HOT 4
- [Question]: Common type of Ashare and Bshare HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spu.