Import time of the library is high
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python, pytorch, tensorflow
- Lĩnh vực
- performance
Hướng nghiên cứu
Bắt đầu với module perf_counter được cung cấp và tái hiện thời gian trong các môi trường mới, lần lượt chỉ cài đặt Feast, TensorFlow và PyTorch. Theo dõi các xử lý được kích hoạt bởi import feast, bao gồm cả các cảnh báo được báo cáo, và xác định những import nào gây ra độ trễ; công việc được xem là hoàn tất khi chi phí import không cần thiết và hành vi cảnh báo được xử lý mà không làm hỏng việc import thư viện.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 105
- Fork
- 58
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của feast-dev/feast-workshop
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
feast-dev/feast-workshop#18 · 3 bình luận ·
Tất cả issue của feast-dev/feast-workshop
Issue tương tự
-
bot-triaged module: inductor module: performance oncall: pt2 triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: ui bug priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
tetsuji16/microProject#1893 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A JSON chat answer blocks the backend event loop for the whole RAG runCó thể đã có người làm @NopeCharon đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
domattioli/agents-inc#257 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Trial runs the agent's `populate_context_post_run` on the event loop, so trials that end together stall the orchestrator for secondsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
harbor-framework/harbor#4652 ·
Maintainer thường phản hồi trong vòng 1 ngày