[Bug]: warning about nodes not assigned to the preferred execution providers when running on GPU
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
- 35/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- machine-learning
Línea de trabajo
Comienza ejecutando el script proporcionado con uv run scriptname.py e inspecciona la salida del proveedor TextEmbedding y las advertencias de embed. Determina si la advertencia de CUDAExecutionProvider es esperable para este ejemplo o requiere un cambio en el proyecto, y luego documenta o verifica el comportamiento resultante en el entorno indicado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened?
Not really a bug, more of a warning when generating embeddings with fastembed-gpu following this docs:
I am getting these warnings:
[W:onnxruntime:, session_state.cc:1168 VerifyEachNodeIsAssignedToAnEp]
Some nodes were not assigned to the preferred execution providers which may or may not have an negative impact on performance. e.g. ORT explicitly assigns shape related ops to CPU to improve perf.
[W:onnxruntime:, session_state.cc:1170 VerifyEachNodeIsAssignedToAnEp]
Rerunning with verbose output on a non-minimal build will show node assignments.
When I print embedding_model_gpu.model.model.get_providers() I can see these available providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'] (cf. below for reproducible example)
Can this warning be dealt with elegantly? What is this really about? Thanks a lot
What is the expected behaviour?
No response
A minimal reproducible example
To be run with uv run scriptname.py:
# /// script
# dependencies = [
# "fastembed-gpu",
# ]
# ///
from fastembed import TextEmbedding
embedding_model_gpu = TextEmbedding(
model_name="BAAI/bge-small-en-v1.5", providers=["CUDAExecutionProvider"]
)
print(embedding_model_gpu.model.model.get_providers())
documents: list[str] = [
"Demonstrating GPU acceleration in fastembed 1",
"Demonstrating GPU acceleration in fastembed 2",
"Demonstrating GPU acceleration in fastembed 3",
]
embedded = list(embedding_model_gpu.embed(documents))
print(embedded)
Running on CUDA Version: 12.4
What Python version are you on? e.g. python --version
Python 3.12.8
FastEmbed version
v0.5.1
What os are you seeing the problem on?
Linux
Relevant stack traces and/or logs
- 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