-
Benachrichtigungen
You must be signed in to change notification settings - Fork 829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] eval API errors out with UnexpectedError: Unexpected error occurred while executing the batch run. Error: (TypeError) cannot pickle '_thread.RLock' object. #3575
Kommentare
Looks like to be a similar issue with #3413 |
Hi @yanggaome , please try setting environment variable "PF_BATCH_METHOD" to "spawn". |
Hi @guming-learning , I tried this
but still get the same error
|
Hi @yanggaome , is it still the same error stack? Specifically, does this line still occurs in the error stack? |
Hi @guming-learning , looks like the stacktrace is a bit different, it is at process manager, but a different line number.
|
Hi, @yanggaome , |
Hi @Hhhilulu , This is user target call file and class definition, the endpoint/token provider/api version can be left as empty as below, it won't block the repro.
This is the caller part code:
and the test.jsonl only has one line:
|
Hi, @yanggaome, |
Describe the bug
A clear and concise description of the bug.
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:
In the implementation of MyTargetCallClass I have init and call method defined.
In the init method, it creates an object from another class
In ClientB class init method, it creates another object from ClientC
Observations:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Running Information(please complete the following information):
pf -v
: [e.g. 0.0.102309906]python --version
: [e.g. python==3.10.12]{
"promptflow": "1.13.0",
"promptflow-azure": "1.13.0",
"promptflow-core": "1.13.0",
"promptflow-devkit": "1.13.0",
"promptflow-evals": "0.3.1",
"promptflow-tracing": "1.13.0"
}
Executable '/anaconda/envs/azureml_py38/bin/python'
Python (Linux) 3.9.19 | packaged by conda-forge | (main, Mar 20 2024, 12:50:21)
[GCC 12.3.0]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: