Skip to content

AttributeError: 'CAT' object has no attribute 'multiprocessing' #7

@phoevos

Description

@phoevos

When performing batch annotation with the MedCATModel service, we use CAT's multiprocessing method. However, this has been removed in the medcat version we're deploying (medcat~=1.12.1), which results in errors like the following when hitting the /process_bulk or /process_bulk_file endpoints:

AttributeError: 'CAT' object has no attribute 'multiprocessing'

Although the method was indeed removed in 1.12, I see it has been deprecated since 1.10.0.

Based on their recommendation we should probably use multiprocessing_batch_char_size instead.

Has anyone else bumped into that? What MedCAT version do we currently run on our deployments?

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