Import time of the library is high
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, pytorch, tensorflow
- Área
- performance
Línea de trabajo
Comienza con el módulo perf_counter proporcionado y reproduce las mediciones de tiempo en entornos nuevos con solo Feast, TensorFlow y PyTorch instalados, respectivamente. Rastrea el trabajo desencadenado por import feast, incluidas las advertencias notificadas, y determina qué imports explican la demora; la tarea estará completada cuando se hayan solucionado el coste innecesario de los imports y el comportamiento de las advertencias sin romper el import de la biblioteca.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The import time of the library seems to be very high.
Steps to reproduce:
Import times with only feast installed
Create a fresh virtual environment and install feast.
Run the following python module.
from time import perf_counter
now=perf_counter()
import feast
print(perf_counter()-now)
Result: The printed run time in my case was 2.710442792000322. Already pretty high for an import of a library.
Additionally I get a warning,
None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
Import times after adding TF
Install tensorflow lib.
Run the script again.
Result: Took ~3.1 seconds. Warning no longer being printed.
Import times after adding PyTorch
Install pytorch (torch).
Ran the script again.
Result: The run time went up to ~15 seconds.
Additionally, new warning is now being printed.
2025-07-23 13:36:02.068516: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1753270562.131461 66853 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1753270562.152065 66853 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1753270562.278959 66853 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1753270562.278987 66853 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1753270562.278991 66853 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1753270562.278995 66853 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2025-07-23 13:36:02.293151: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 105
- Forks
- 58
- 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 feast-dev/feast-workshop
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
feast-dev/feast-workshop#18 · 3 comentarios ·
Todos los issues de feast-dev/feast-workshop
Issues similares
-
bot-triaged module: inductor module: performance oncall: pt2 triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
area: ui bug priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
tetsuji16/microProject#1893 ·
Los mantenedores suelen responder en 1 día
-
A JSON chat answer blocks the backend event loop for the whole RAG runPosiblemente ocupada @NopeCharon la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
domattioli/agents-inc#257 ·
Los mantenedores suelen responder en 1 día
-
Trial runs the agent's `populate_context_post_run` on the event loop, so trials that end together stall the orchestrator for secondsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
harbor-framework/harbor#4652 ·
Los mantenedores suelen responder en 1 día