Skip to content

PyctcDecode fails when running spawn context (multiprocessing) #65

Closed
@elsheikh21

Description

@elsheikh21

I have opened a Transformers PR, yet the PR failed due to changing context from fork to spawn in

from multiprocessing import get_context
.
.
.
pool = get_context("spawn").Pool(num_processes)

in the following file src/transformers/models/wav2vec2_with_lm/processing_wav2vec2_with_lm.py

My question is "How to run pyctcdecode batch decode on WindowsOS?"
Is there any way I can help? or contribute to fix that issue?

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