Closed sashokbg closed 7 months ago
Hello, @sashokbg When executing the batch run, we will use the system's default process startup mode to create multiple processes to increase the parallelism of execution.
According to your provided information, you are using a Linux
system. The default process startup method of the Linux system is fork
, so an error is reported when executing your batch run.
You can configure the process startup mode to spawn
according to the below doc, which may help you resolve the problem.
Related Link: How to configure environment variables
@Hhhilulu I am very sorry, I missed this part of the readme !
Describe the bug When creating a batch run one of my nodes fails with the following error:
How To Reproduce the bug My node uses lang chain PGVector store:
Running Information(please complete the following information):
Additional context PyTorch discussion on github: https://github.com/pytorch/pytorch/issues/40403
As a workaround I am using
As mentioned in the doc https://api.python.langchain.com/en/latest/embeddings/langchain_community.embeddings.huggingface.HuggingFaceEmbeddings.html