[Bug]: Segmentation Fault or AssertionError during initialization on Python 3.14.2
Los mantenedores suelen responder en 4 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Tranquilo
- Stack tecnológico
- python
- Área
- machine-learning
Línea de trabajo
Reproducir la inicialización de SparseTextEmbedding con Qdrant/bm25 en Python 3.14.2 y Linux; después, inspeccionar la ruta de listado de modelos y qdrant_client/fastembed_common.py alrededor de is_installed. Determinar si la inicialización o el descubrimiento de modelos compatibles desencadena el fallo. Se considera terminado cuando los modelos se pueden listar y cargar, o cuando la biblioteca informa de un error claro sin segmentation fault ni assertion failure.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened?
When running on Python 3.14.2 (Linux), initializing SparseTextEmbedding causes a Segmentation Fault (Exit Code 139). Additionally, when used via qdrant-client, it triggers an AssertionError in the is_installed check because the model listing mechanism seems to return unexpected results or fails to find models in certain environments.
What is the expected behaviour?
The library should initialize correctly and be able to list/load models on Python 3.14, or at least fail gracefully with a clear error message instead of a Segmentation Fault.
A minimal reproducible example
import logging
from fastembed import SparseTextEmbedding
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
def reproduce():
try:
logger.info("Initializing SparseTextEmbedding...")
# This causes SIGSEGV (Exit Code 139) on Python 3.14.2
model = SparseTextEmbedding(model_name="Qdrant/bm25")
logger.info("Success!")
except Exception as e:
logger.error(f"Caught: {e}")
if __name__ == "__main__":
reproduce()
What Python version are you on? e.g. python --version
Python 3.14.2 (Linux), using uv as package manager.
FastEmbed version
v0.8.0
What os are you seeing the problem on?
Linux
Relevant stack traces and/or logs
Traceback (most recent call last):
File "test.py", line 22, in <module>
db_instance = SharedLibraryDB().db
File "qdrant_client/qdrant_fastembed.py", line 38, in __init__
self.__class__._FASTEMBED_INSTALLED = FastEmbedMisc.is_installed()
File "qdrant_client/fastembed_common.py", line 62, in is_installed
assert len(LateInteractionMultimodalEmbedding.list_supported_models()) > 0
AssertionError
- Lenguaje dominante
- Python
- Estrellas
- 3.3k
- Forks
- 314
- Merge medio
- 5 d 7 h
- PR fusionados (30 d)
- 23
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 qdrant/fastembed
-
[Bug]: Bm25 splits Tamil, Hindi, Sinhala and other words on their combining marksPosiblemente ocupada @Nipuna-Lakruwan la tomó hace 12 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
qdrant/fastembed#886 · 2 comentarios ·
Los mantenedores suelen responder en 4 días
-
miniCOIL clean_words mutates input and loses counts when normalized words collidePosiblemente ocupada @pear1-pea la tomó hace 20 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 1/100
Los mantenedores suelen responder en 4 días
-
[Bug]: Revision-pinned HF downloads can falsely report intact files as corruptedPosiblemente ocupada @N7766 la tomó hace 24 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 82/100
Los mantenedores suelen responder en 4 días
-
[Bug]: URL-backed custom models with the same basename reuse the wrong cached modelPosiblemente ocupada @rtmalikian la tomó hace 24 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
Los mantenedores suelen responder en 4 días
-
[Bug]: rerank_pairs raises TypeError when pairs are passed as a tuple of pairsPosiblemente ocupada @michaelkillgta la tomó hace 54 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 22/100
Los mantenedores suelen responder en 4 días
Todos los issues de qdrant/fastembed
Issues similares
-
Ubuntu for Debian DevelopersAbiertoDMB documentation good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ubuntu/ubuntu-project-docs#921 ·
Los mantenedores suelen responder en 1 día
-
⏳ Pending feedback 🐛 Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
jumpserver/jumpserver#18282 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 76/100
ClickHouse/loom#2014 ·
Los mantenedores suelen responder en 1 día
-
accepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
future-agi/future-agi#5274 ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 2 días