Training Issues in a Multi-Threaded Environment
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- backend, machine-learning
Línea de trabajo
Start by locating the Python binding entry point that invokes CRFsuite training and check how it calls into the C++ code. Find the existing tests for model training and use them to verify that training still completes while other Python threads can run. Done means the binding releases the GIL for the duration of CRFsuite training.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
We are using this library in a multi-threaded application, and we have run into an issue with thread-friendliness. When the library drops down into C++ and trains the model, it does not appear to be releasing the GIL. This locks up the interpreter (meaning other threads are halted) until training finishes. Would it be possible to tweak the library such that, while executing the crfsuite code, the GIL is released? Thanks!
- Lenguaje dominante
- Python
- Estrellas
- 774
- Forks
- 223
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de scrapinghub/python-crfsuite
-
no wheels for python 3.14Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
scrapinghub/python-crfsuite#167 · 2 comentarios · 2 reacciones ·
-
CRFsuite training too slowAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
scrapinghub/python-crfsuite#142 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
scrapinghub/python-crfsuite#129 · 1 comentario · 2 reacciones ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
scrapinghub/python-crfsuite#114 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 24/100
scrapinghub/python-crfsuite#112 · 1 comentario ·
Todos los issues de scrapinghub/python-crfsuite
Issues similares
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount duePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 79/100
developmentseed/titiler-covjson#164 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
awslabs/visual-asset-management-system#2164 ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
MakazhanAlpamys/Soup#3589 ·
Los mantenedores suelen responder en 1 día
-
channels status reports the wrong Enabled value for Feishu instances and default-enabled WebSocketAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día