这是indexloc提供的服务,不要输入任何密码
Skip to content

cannot load both english & multilingual EOU #2496

@trungduyvu

Description

@trungduyvu

If the code import both EOU, it will fail to start because the code has a hardcoded timeout of 30s

Here is the code in question in worker.py

        self._inference_executor: ipc.inference_proc_executor.InferenceProcExecutor | None = None
        if len(_InferenceRunner.registered_runners) > 0:
            self._inference_executor = ipc.inference_proc_executor.InferenceProcExecutor(
                runners=_InferenceRunner.registered_runners,
                initialize_timeout=30,
                close_timeout=5,
                memory_warn_mb=2000,

Not sure why it ignores the initialize_process_timeout in WorkerOptions

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions