Skip to content

Is the bert_ctx instance thread safe #46

@rose839

Description

@rose839

I have created a bert_ctx instance using the bert_load_from_file method. Can I call the bert_encode_batch method of this instance simultaneously in multiple threads?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions