Closed notinghere closed 2 days ago
你好,使用python3.10重试下看看
你好,使用python3.10重试下看看
看错了,使用的是 Python 3.11.4
好的,
你好,使用python3.10重试下看看
看错了,使用的是 Python 3.11.4
好的。推荐您使用3.10版本
Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon.
Issue Type
Build/Install
Modules Involved
SPU runtime, PSI
Have you reproduced the bug with SPU HEAD?
Yes
Have you searched existing issues?
Yes
SPU Version
version = "0.9.1.dev$$DATE$$"
OS Platform and Distribution
Linux version 5.4.0-169-generic (buildd@lcy02-amd64-102) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)) secretflow/spu#187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023
Python Version
python3.8
Compiler Version
gcc 版本 11.2.0 (GCC)
Current Behavior?
问题描述
错误日志
2024-07-11 10:59:21.551 [warning] [channel.h:~Channel:163] Channel destructor is called before WaitLinkTaskFinish, try stop send thread
----------test_kkrt_2pc------------- rank = 0 rank = 1 I0711 10:58:47.467434 905368 external/com_github_brpc_brpc/src/brpc/server.cpp:1181] Server[yacl::link::transport::internal::ReceiverServiceImpl] is serving on port=20223. W0711 10:58:47.467641 905368 external/com_github_brpc_brpc/src/brpc/server.cpp:1187] Builtin services are disabled according to ServerOptions.has_builtin_services I0711 10:58:47.570077 905377 external/com_github_brpc_brpc/src/brpc/socket.cpp:2506] Checking Socket{id=0 addr=127.0.0.1:20222} (0x278a0c0) I0711 10:58:50.572697 905379 external/com_github_brpc_brpc/src/brpc/socket.cpp:2566] Revived Socket{id=0 addr=127.0.0.1:20222} (0x278a0c0) (Connectable) [2024-07-11 10:58:51.506] [info] [launch.cc:164] LEGACY PSI config: {"psi_type":"ECDH_PSI_2PC","broadcast_result":true,"input_params":{"path":"./data/bob.csv","select_fields":["id","idx"]},"output_params":{"path":"./bob-kkrt.csv","need_sort":true},"curve_type":"CURVE_25519"} [2024-07-11 10:58:51.506] [info] [bucket_psi.cc:400] bucket size set to 1048576 Fatal Python error: Aborted
Current thread 0x00007f4ebf735280 (most recent call first): File "/home/evan/src/test/spu/psi.py", line 69 in bucket_psi File "/home/evan/src/test/spu/bob.py", line 58 in wrap File "/home/evan/miniconda3/lib/python3.11/site-packages/multiprocess/process.py", line 108 in run File "/home/evan/miniconda3/lib/python3.11/site-packages/multiprocess/process.py", line 314 in _bootstrap File "/home/evan/miniconda3/lib/python3.11/site-packages/multiprocess/popen_fork.py", line 71 in _launch File "/home/evan/miniconda3/lib/python3.11/site-packages/multiprocess/popen_fork.py", line 19 in init File "/home/evan/miniconda3/lib/python3.11/site-packages/multiprocess/context.py", line 281 in _Popen File "/home/evan/miniconda3/lib/python3.11/site-packages/multiprocess/context.py", line 224 in _Popen File "/home/evan/miniconda3/lib/python3.11/site-packages/multiprocess/process.py", line 121 in start File "/home/evan/src/test/spu/bob.py", line 79 in run_streaming_psi File "/home/evan/src/test/spu/bob.py", line 112 in test_ecdh_2pc File "/home/evan/src/test/spu/bob.py", line 141 in run_psi File "/home/evan/miniconda3/lib/python3.11/site-packages/absl/app.py", line 254 in _run_main File "/home/evan/miniconda3/lib/python3.11/site-packages/absl/app.py", line 308 in run File "/home/evan/src/test/spu/bob.py", line 147 in
Extension modules: google.protobuf.pyext._message, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator (total: 14)
import time import unittest
import multiprocess
from absl import app, flags
import libspu.link as link import libspu.logging as logging import psi as psi from utils import get_free_port, wc_count
from spu.utils.simulation import PropagatingThread
class Test:
def runpsi(): t= Test()
t.test_dppsi_2pc()
if name == 'main': app.run(run_psi)
import time import unittest
import multiprocess
from absl import app, flags
import libspu.link as link import psi as psi from utils import get_free_port, wc_count
from spu.utils.simulation import PropagatingThread
class Test:
def runpsi(): t= Test()
t.test_dppsi_2pc()
if name == 'main': app.run(run_psi)
Relevant log output