zkonduit / ezkl

ezkl is an engine for doing inference for deep learning models and other computational graphs in a zk-snark (ZKML). Use it from Python, Javascript, or the command line.
https://docs.ezkl.xyz/
947 stars 142 forks source link

Error when running ezkl with gpu #834

Closed HuyHung0 closed 2 months ago

HuyHung0 commented 3 months ago

To reproduce the error, I downloaded the ezkl_demo.ipynb in the notebook example of the repository https://github.com/zkonduit/ezkl/blob/main/examples/notebooks/ezkl_demo.ipynb, then add three lines at the very beginning of the notebook:

import os
os.environ['ENABLE_ICICLE_GPU'] = 'true'
os.environ['RUST_BACKTRACE']='full'

Here is my system info

uname -a               
Linux linux 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux

I would say I installed the driver. Here is the output of nvidia smi

image

When running the notebook with 3 lines above, it shows the following error at the setup step

thread '<unnamed>' panicked at [/home/ubuntu/.cargo/git/checkouts/halo2-9de98af521c882c2/8cfca22/halo2_proofs/src/icicle.rs:28:56](http://localhost:8888/home/ubuntu/.cargo/git/checkouts/halo2-9de98af521c882c2/8cfca22/halo2_proofs/src/icicle.rs#line=27):
called `Result::unwrap()` on an `Err` value: UnknownError
stack backtrace:
   0:     0x7fd813ba4055 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hca750ad87bb2f1d4
   1:     0x7fd813bd25cb - core::fmt::write::h133a0eb20f0a6a5d
   2:     0x7fd813b9ff1f - std::io::Write::write_fmt::h0b1c7497ddea4e96
   3:     0x7fd813ba53d1 - std::panicking::default_hook::{{closure}}::h7dd45b5804215332
   4:     0x7fd813ba50ac - std::panicking::default_hook::haed8ee3169af9669
   5:     0x7fd813ba5aa1 - std::panicking::rust_panic_with_hook::h4bf66cb658082ab2
   6:     0x7fd813ba5907 - std::panicking::begin_panic_handler::{{closure}}::h7a19fc32e0e387d7
   7:     0x7fd813ba4519 - std::sys::backtrace::__rust_end_short_backtrace::h6117389318248cc0
   8:     0x7fd813ba5594 - rust_begin_unwind
   9:     0x7fd813bcf543 - core::panicking::panic_fmt::h1817a57f977b857c
  10:     0x7fd813bcfa16 - core::result::unwrap_failed::h99589da762c28d07
  11:     0x7fd812399b0a - std::sys::sync::once::futex::Once::call::hf6d75ff54f950544
  12:     0x7fd812434998 - <halo2_proofs::poly::kzg::commitment::ParamsKZG<E> as halo2_proofs::poly::commitment::Params<<E as pairing::Engine>::G1Affine>>::read::ha93bc5da263da50a
  13:     0x7fd8126787ec - ezkl::pfsys::srs::load_srs_prover::hf5c689c90aefad99
  14:     0x7fd812675dc2 - ezkl::execute::load_params_prover::h7293e88f2afdfbc3
  15:     0x7fd812664601 - ezkl::execute::setup::hec6f3a8f480cc270
  16:     0x7fd81236827c - ezkl::python::__pyfunction_setup::h8ed429fe416247f4
  17:     0x7fd8123278bc - pyo3::impl_::trampoline::trampoline::hfa3d357914f432a3
  18:     0x7fd812367b81 - ezkl::python::<impl ezkl::python::setup::MakeDef>::_PYO3_DEF::trampoline::h077ec83aab2a1956
  19:     0x559592941b06 - cfunction_call
                               at [/usr/local/src/conda/python-3.11.9/Objects/methodobject.c:542:18](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/methodobject.c#line=541)
  20:     0x5595929208b3 - _PyObject_MakeTpCall
                               at [/usr/local/src/conda/python-3.11.9/Objects/call.c:214:18](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/call.c#line=213)
  21:     0x55959292e3b6 - _PyEval_EvalFrameDefault
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:4769:23](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=4768)
  22:     0x5595929e5a8d - _PyEval_EvalFrame
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h:73:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h#line=72)
  23:     0x5595929e5a8d - _PyEval_Vector
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:6434:24](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=6433)
  24:     0x5595929e511f - PyEval_EvalCode
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:1148:21](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=1147)
  25:     0x5595929fc6ee - builtin_exec_impl
                               at [/usr/local/src/conda/python-3.11.9/Python/bltinmodule.c:1077:17](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/bltinmodule.c#line=1076)
  26:     0x5595929fc6ee - builtin_exec
                               at [/usr/local/src/conda/python-3.11.9/Python/clinic/bltinmodule.c.h:465:20](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/clinic/bltinmodule.c.h#line=464)
  27:     0x559592931560 - _PyEval_EvalFrameDefault
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:5091:29](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=5090)
  28:     0x5595929f9c39 - _PyEval_EvalFrame
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h:73:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h#line=72)
  29:     0x5595929f9c39 - gen_send_ex2
                               at [/usr/local/src/conda/python-3.11.9/Objects/genobject.c:219:14](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/genobject.c#line=218)
  30:     0x559592931027 - _PyEval_EvalFrameDefault
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:2585:30](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=2584)
  31:     0x5595929f9c39 - _PyEval_EvalFrame
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h:73:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h#line=72)
  32:     0x5595929f9c39 - gen_send_ex2
                               at [/usr/local/src/conda/python-3.11.9/Objects/genobject.c:219:14](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/genobject.c#line=218)
  33:     0x559592931027 - _PyEval_EvalFrameDefault
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:2585:30](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=2584)
  34:     0x5595929f9c39 - _PyEval_EvalFrame
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h:73:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h#line=72)
  35:     0x5595929f9c39 - gen_send_ex2
                               at [/usr/local/src/conda/python-3.11.9/Objects/genobject.c:219:14](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/genobject.c#line=218)
  36:     0x5595929fa5b7 - gen_send_ex
                               at [/usr/local/src/conda/python-3.11.9/Objects/genobject.c:287:9](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/genobject.c#line=286)
  37:     0x5595929316d6 - _PyEval_EvalFrameDefault
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:5221:29](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=5220)
  38:     0x5595929708d4 - _PyEval_EvalFrame
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h:73:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h#line=72)
  39:     0x5595929708d4 - _PyEval_Vector
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:6434:24](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=6433)
  40:     0x5595929708d4 - _PyFunction_Vectorcall
                               at [/usr/local/src/conda/python-3.11.9/Objects/call.c:393:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/call.c#line=392)
  41:     0x5595929708d4 - _PyObject_VectorcallTstate
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_call.h:92:11](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_call.h#line=91)
  42:     0x5595929700be - method_vectorcall
                               at [/usr/local/src/conda/python-3.11.9/Objects/classobject.c:59:18](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/classobject.c#line=58)
  43:     0x55959295b6b0 - _PyVectorcall_Call
                               at [/usr/local/src/conda/python-3.11.9/Objects/call.c:257:24](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/call.c#line=256)
  44:     0x55959295b6b0 - _PyObject_Call
                               at [/usr/local/src/conda/python-3.11.9/Objects/call.c:328:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/call.c#line=327)
  45:     0x55959295b6b0 - PyObject_Call
                               at [/usr/local/src/conda/python-3.11.9/Objects/call.c:355:12](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/call.c#line=354)
  46:     0x5595929326e4 - do_call_core
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:7349:12](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=7348)
  47:     0x5595929326e4 - _PyEval_EvalFrameDefault
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:5376:22](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=5375)
  48:     0x5595929f9c39 - _PyEval_EvalFrame
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h:73:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h#line=72)
  49:     0x5595929f9c39 - gen_send_ex2
                               at [/usr/local/src/conda/python-3.11.9/Objects/genobject.c:219:14](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/genobject.c#line=218)
  50:     0x559592931027 - _PyEval_EvalFrameDefault
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:2585:30](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=2584)
  51:     0x5595929f9c39 - _PyEval_EvalFrame
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h:73:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h#line=72)
  52:     0x5595929f9c39 - gen_send_ex2
                               at [/usr/local/src/conda/python-3.11.9/Objects/genobject.c:219:14](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/genobject.c#line=218)
  53:     0x559592931027 - _PyEval_EvalFrameDefault
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:2585:30](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=2584)
  54:     0x5595929f9c39 - _PyEval_EvalFrame
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h:73:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h#line=72)
  55:     0x5595929f9c39 - gen_send_ex2
                               at [/usr/local/src/conda/python-3.11.9/Objects/genobject.c:219:14](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/genobject.c#line=218)
  56:     0x559592931027 - _PyEval_EvalFrameDefault
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:2585:30](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=2584)
  57:     0x5595929f9c39 - _PyEval_EvalFrame
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h:73:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h#line=72)
  58:     0x5595929f9c39 - gen_send_ex2
                               at [/usr/local/src/conda/python-3.11.9/Objects/genobject.c:219:14](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/genobject.c#line=218)
  59:     0x559592931027 - _PyEval_EvalFrameDefault
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:2585:30](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=2584)
  60:     0x5595929f9c39 - _PyEval_EvalFrame
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h:73:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h#line=72)
  61:     0x5595929f9c39 - gen_send_ex2
                               at [/usr/local/src/conda/python-3.11.9/Objects/genobject.c:219:14](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/genobject.c#line=218)
  62:     0x559592931027 - _PyEval_EvalFrameDefault
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:2585:30](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=2584)
  63:     0x5595929f9c39 - _PyEval_EvalFrame
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h:73:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h#line=72)
  64:     0x5595929f9c39 - gen_send_ex2
                               at [/usr/local/src/conda/python-3.11.9/Objects/genobject.c:219:14](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/genobject.c#line=218)
  65:     0x7fd9890f18b6 - task_step_impl
                               at [/usr/local/src/conda/python-3.11.9/Modules/_asynciomodule.c:2693:22](http://localhost:8888/usr/local/src/conda/python-3.11.9/Modules/_asynciomodule.c#line=2692)
  66:     0x7fd9890f18b6 - task_step
                               at [/usr/local/src/conda/python-3.11.9/Modules/_asynciomodule.c:2993:11](http://localhost:8888/usr/local/src/conda/python-3.11.9/Modules/_asynciomodule.c#line=2992)
  67:     0x5595929403fa - cfunction_vectorcall_O
                               at [/usr/local/src/conda/python-3.11.9/Objects/methodobject.c:514:24](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/methodobject.c#line=513)
  68:     0x5595928d9fb5 - _PyObject_VectorcallTstate
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_call.h:92:11](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_call.h#line=91)
  69:     0x5595928dc065 - context_run
                               at [/usr/local/src/conda/python-3.11.9/Python/context.c:673](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/context.c#line=672)
  70:     0x55959293afbf - cfunction_vectorcall_FASTCALL_KEYWORDS
                               at [/usr/local/src/conda/python-3.11.9/Objects/methodobject.c:443:24](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/methodobject.c#line=442)
  71:     0x5595929368d4 - do_call_core
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:7321:9](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=7320)
  72:     0x5595929368d4 - _PyEval_EvalFrameDefault
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:5376:22](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=5375)
  73:     0x5595929e5a8d - _PyEval_EvalFrame
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h:73:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h#line=72)
  74:     0x5595929e5a8d - _PyEval_Vector
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:6434:24](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=6433)
  75:     0x5595929e511f - PyEval_EvalCode
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:1148:21](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=1147)
  76:     0x5595929fc6ee - builtin_exec_impl
                               at [/usr/local/src/conda/python-3.11.9/Python/bltinmodule.c:1077:17](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/bltinmodule.c#line=1076)
  77:     0x5595929fc6ee - builtin_exec
                               at [/usr/local/src/conda/python-3.11.9/Python/clinic/bltinmodule.c.h:465:20](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/clinic/bltinmodule.c.h#line=464)
  78:     0x55959293afbf - cfunction_vectorcall_FASTCALL_KEYWORDS
                               at [/usr/local/src/conda/python-3.11.9/Objects/methodobject.c:443:24](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/methodobject.c#line=442)
  79:     0x55959293aeac - _PyObject_VectorcallTstate
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_call.h:92:11](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_call.h#line=91)
  80:     0x55959293aeac - PyObject_Vectorcall
                               at [/usr/local/src/conda/python-3.11.9/Objects/call.c:299:12](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/call.c#line=298)
  81:     0x55959292e3b6 - _PyEval_EvalFrameDefault
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:4769:23](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=4768)
  82:     0x559592951981 - _PyEval_EvalFrame
                               at [/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h:73:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Include/internal/pycore_ceval.h#line=72)
  83:     0x559592951981 - _PyEval_Vector
                               at [/usr/local/src/conda/python-3.11.9/Python/ceval.c:6434:24](http://localhost:8888/usr/local/src/conda/python-3.11.9/Python/ceval.c#line=6433)
  84:     0x559592951981 - _PyFunction_Vectorcall
                               at [/usr/local/src/conda/python-3.11.9/Objects/call.c:393:16](http://localhost:8888/usr/local/src/conda/python-3.11.9/Objects/call.c#line=392)
  85:     0x559592a0f158 - pymain_run_module
                               at [/usr/local/src/conda/python-3.11.9/Modules/main.c:300:14](http://localhost:8888/usr/local/src/conda/python-3.11.9/Modules/main.c#line=299)
  86:     0x559592a0ead9 - pymain_run_python
                               at [/usr/local/src/conda/python-3.11.9/Modules/main.c:595:21](http://localhost:8888/usr/local/src/conda/python-3.11.9/Modules/main.c#line=594)
  87:     0x559592a0ead9 - Py_RunMain
                               at [/usr/local/src/conda/python-3.11.9/Modules/main.c:680:5](http://localhost:8888/usr/local/src/conda/python-3.11.9/Modules/main.c#line=679)
  88:     0x5595929d5027 - Py_BytesMain
                               at [/usr/local/src/conda/python-3.11.9/Modules/main.c:734:12](http://localhost:8888/usr/local/src/conda/python-3.11.9/Modules/main.c#line=733)
  89:     0x7fd989abe24a - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  90:     0x7fd989abe305 - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:360:3
  91:     0x5595929d4ecd - <unknown>

---------------------------------------------------------------------------
PanicException                            Traceback (most recent call last)
Cell In[15], line 1
----> 1 res = ezkl.setup()
      4 assert res == True

PanicException: called `Result::unwrap()` on an `Err` value: UnknownError
nowittynamesleft commented 3 months ago

I'm encountering a very similar thing. However, in my case the thread that panicked is "tokio-runtime-worker" with a different line number in icicle.

One thing I'm unsure about this error is that I don't have a directory called /home/ubuntu and I'm not sure where the code for this icicle.rs file is. My system is Arch linux, I have nvidia-smi and nvcc available with cuda version 12.5.


thread 'tokio-runtime-worker' panicked at /home/ubuntu/.cargo/git/checkouts/halo2-9de98af521c882c2/8cfca22/halo2_proofs/src/icicle.rs:28:56:
called `Result::unwrap()` on an `Err` value: UnknownError
stack backtrace:
   0:     0x7f96c7ba4055 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hca750ad87bb2f1d4
   1:     0x7f96c7bd25cb - core::fmt::write::h133a0eb20f0a6a5d
   2:     0x7f96c7b9ff1f - std::io::Write::write_fmt::h0b1c7497ddea4e96
   3:     0x7f96c7ba53d1 - std::panicking::default_hook::{{closure}}::h7dd45b5804215332
   4:     0x7f96c7ba50ac - std::panicking::default_hook::haed8ee3169af9669
   5:     0x7f96c7ba5aa1 - std::panicking::rust_panic_with_hook::h4bf66cb658082ab2
   6:     0x7f96c7ba5907 - std::panicking::begin_panic_handler::{{closure}}::h7a19fc32e0e387d7
   7:     0x7f96c7ba4519 - std::sys::backtrace::__rust_end_short_backtrace::h6117389318248cc0
   8:     0x7f96c7ba5594 - rust_begin_unwind
   9:     0x7f96c7bcf543 - core::panicking::panic_fmt::h1817a57f977b857c
  10:     0x7f96c7bcfa16 - core::result::unwrap_failed::h99589da762c28d07
  11:     0x7f96c6399b0a - std::sys::sync::once::futex::Once::call::hf6d75ff54f950544
  12:     0x7f96c64343f7 - <halo2_proofs::poly::kzg::commitment::ParamsKZG<E> as halo2_proofs::poly::commitment::Params<<E as pairing::Engine>::G1Affine>>::read::h7af1a359dd067aad
  13:     0x7f96c67bb427 - <pyo3_asyncio::generic::Cancellable<F> as core::future::future::Future>::poll::ha6c75760cb63e15a
  14:     0x7f96c62e4a01 - <tokio::task::task_local::TaskLocalFuture<T,F> as core::future::future::Future>::poll::h43991bd32da23418
  15:     0x7f96c6727060 - <tokio::task::task_local::TaskLocalFuture<T,F> as core::future::future::Future>::poll{{reify.shim}}::h4603a937a3cf8b00
  16:     0x7f96c634fc7d - <pyo3_asyncio::tokio::TokioRuntime as pyo3_asyncio::generic::Runtime>::spawn::{{closure}}::h14e05e0613e768b4
  17:     0x7f96c633c4a2 - tokio::runtime::task::raw::poll::h66e9531ca71a8300
  18:     0x7f96c7a970ce - tokio::runtime::scheduler::multi_thread::worker::Context::run_task::h30493a11634a310c
  19:     0x7f96c7a9632c - tokio::runtime::scheduler::multi_thread::worker::Context::run::he29ff9d6903bdd27
  20:     0x7f96c7a9f5c7 - tokio::runtime::context::scoped::Scoped<T>::set::hb20639a6e5eb1e42
  21:     0x7f96c7aaabde - tokio::runtime::context::runtime::enter_runtime::ha3a5570bf838abe0
  22:     0x7f96c7a9550c - tokio::runtime::scheduler::multi_thread::worker::run::h0c398294f5610ce4
  23:     0x7f96c7aa69a7 - <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll::h257fcbc5f6b9411c
  24:     0x7f96c7aac2ee - tokio::runtime::task::core::Core<T,S>::poll::h0715b4ad8d9db3ab
  25:     0x7f96c7a90ec2 - tokio::runtime::task::harness::Harness<T,S>::poll::hdb09ed4c2bb27bf3
  26:     0x7f96c7aa5f29 - tokio::runtime::blocking::pool::Inner::run::h4141c0353f3719ec
  27:     0x7f96c7aab1df - std::sys::backtrace::__rust_begin_short_backtrace::hafe2843e914ef1d0
  28:     0x7f96c7aa25e2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd6b39531c3c0c880
  29:     0x7f96c7bab20b - std::sys::pal::unix::thread::Thread::new::thread_start::he74bac229ff12ca4
  30:     0x7f9885ea339d - <unknown>
  31:     0x7f9885f2849c - <unknown>
  32:                0x0 - <unknown>

---------------------------------------------------------------------------
RustPanic                                 Traceback (most recent call last)
Cell In[13], line 1
----> 1 res = await ezkl.get_srs()

RustPanic: rust future panicked: unknown error
alexander-camuto commented 3 months ago

Hey all thanks for your updates :) we'll have a patch for icicle coming through soon

HuyHung0 commented 2 months ago

I tested with new version 13.0.1 and it worked. Thanks for the support.