Title: Import time of the library is high · Issue #23 · feast-dev/feast-workshop · GitHub
Open Graph Title: Import time of the library is high · Issue #23 · feast-dev/feast-workshop
X Title: Import time of the library is high · Issue #23 · feast-dev/feast-workshop
Description: 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=per...
Open Graph Description: 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 modul...
X Description: 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 modul...
Opengraph URL: https://github.com/feast-dev/feast-workshop/issues/23
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Import time of the library is high","articleBody":"The import time of the library seems to be very high.\n\n### Steps to reproduce:\n\n#### Import times with only feast installed\nCreate a fresh virtual environment and install feast.\nRun the following python module.\n```\nfrom time import perf_counter\nnow=perf_counter()\nimport feast\nprint(perf_counter()-now)\n```\n**Result:** The printed run time in my case was 2.710442792000322. Already pretty high for an import of a library.\nAdditionally I get a warning,\n`None of PyTorch, TensorFlow \u003e= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.`\n\n#### Import times after adding TF\nInstall tensorflow lib.\nRun the script again. \n\n**Result:** Took ~3.1 seconds. Warning no longer being printed.\n\n#### Import times after adding PyTorch\nInstall pytorch (torch).\nRan the script again. \n\n**Result:** The run time went up to ~15 seconds.\nAdditionally, new warning is now being printed.\n```\n2025-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\nWARNING: All log messages before absl::InitializeLog() is called are written to STDERR\nE0000 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\nE0000 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\nW0000 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.\nW0000 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.\nW0000 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.\nW0000 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.\n2025-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.\nTo enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\n```","author":{"url":"https://github.com/OptimeeringBigya","@type":"Person","name":"OptimeeringBigya"},"datePublished":"2025-07-25T08:48:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/23/feast-workshop/issues/23"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4233e48d-bf90-2038-2219-54d0c8b9435c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2F4:25678D:31F5C5:43B420:696F1C73 |
| html-safe-nonce | 33b379feaddea3cb3c5809672e3674624178c920cea20bbf16a43ce333bee8d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkY0OjI1Njc4RDozMUY1QzU6NDNCNDIwOjY5NkYxQzczIiwidmlzaXRvcl9pZCI6IjExNzQ4MDc5NjM5MzE0NTA0ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f41710e3472452e061d993cf3ac3320c23d5a483f994def71407de88cefcc432 |
| hovercard-subject-tag | issue:3262479746 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast-workshop/23/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e4e25b3c4930dd160421b0288c7867ed115f594cf8a808e24ff913921c835149/feast-dev/feast-workshop/issues/23 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e4e25b3c4930dd160421b0288c7867ed115f594cf8a808e24ff913921c835149/feast-dev/feast-workshop/issues/23 |
| og:image:alt | 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 modul... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | OptimeeringBigya |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast-workshop git https://github.com/feast-dev/feast-workshop.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 486680978 |
| octolytics-dimension-repository_nwo | feast-dev/feast-workshop |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 486680978 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast-workshop |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width