Skip to content

use multiprocessing cause error #71

Description

@segalinc

I am trying to use the library for a large dataset
I am setting up a multiprocessing Pool to speed up the processing
However, for example for the function detect_censors I get this error

RuntimeError: [/onnxruntime_src/onnxruntime/core/providers/cuda/cuda_call.cc:121](https://vscode-remote+ssh-002dremote-002bwb1a10.vscode-resource.vscode-cdn.net/onnxruntime_src/onnxruntime/core/providers/cuda/cuda_call.cc:121) std::conditional_t<THRW, void, onnxruntime::common::Status> onnxruntime::CudaCall(ERRTYPE, const char*, const char*, ERRTYPE, const char*, const char*, int) [with ERRTYPE = cudaError; bool THRW = true; std::conditional_t<THRW, void, onnxruntime::common::Status> = void] [/onnxruntime_src/onnxruntime/core/providers/cuda/cuda_call.cc:114](https://vscode-remote+ssh-002dremote-002bwb1a10.vscode-resource.vscode-cdn.net/onnxruntime_src/onnxruntime/core/providers/cuda/cuda_call.cc:114) std::conditional_t<THRW, void, onnxruntime::common::Status> onnxruntime::CudaCall(ERRTYPE, const char*, const char*, ERRTYPE, const char*, const char*, int) [with ERRTYPE = cudaError; bool THRW = true; std::conditional_t<THRW, void, onnxruntime::common::Status> = void] CUDA failure 100: no CUDA-capable device is detected ; GPU=-1905859077 ; hostname=2edfd084-8003-4bed-a5e6-d03d1198eede ; file=/onnxruntime_src/onnxruntime/core/providers/cuda/cuda_execution_provider.cc ; line=236 ; expr=cudaSetDevice(info_.device_id);

any idea?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions