Results 7 comments of Yang Gao

Hi @guming-learning , I tried this ``` export PF_BATCH_METHOD='spawn' echo $PF_BATCH_METHOD spawn ``` but still get the same error ``` promptflow._core._errors.UnexpectedError: Unexpected error occurred while executing the batch run. Error:...

Hi @guming-learning , looks like the stacktrace is a bit different, it is at process manager, but a different line number. ``` Traceback (most recent call last): File "/anaconda/envs/azureml_py38/lib/python3.9/site-packages/promptflow/batch/_batch_engine.py", line...

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. ``` from...

@luigiw , i talked to Ankit and was able to have a workaround by creating the target as a class instead of function, i can store the information in the...

one observation is that, when I created the target user call (with a class same with the evaluator, provided __init__ and __call__ methods) in the constructor, if I passed the...

Hi @ninghu , I think i was able to identify the root cause. The issue was when the evaluate api gets called, the data path should be absolute path, not...