ERROR | Error initializing graph component for node run_LanguageModelFeaturizer2

in config.ymal file i have

  • name: PreProcessing
  • name: SVO
  • name: TemplatesSearch
  • name: Predictions
  • name: Clustering
  • name: PostProcessing

Error:

2024-03-29 12:32:39 PM - INFO | Saved file in path: ‘C:\Users\Omkar\Desktop\PR\DiscoveryEdge\output\20240329123016\TemplatesSearch.xlsx’ 2024-03-29 12:32:39 PM - INFO | ‘TemplatesSearch’ Completed 2024-03-29 12:32:39 PM - INFO | Performing ‘Predictions’… 2024-03-29 12:32:39 PM - INFO | Loading rasa model from ‘resources/rasa_models/cat_0/nlu’ 2024-03-29 12:32:39 PM - INFO | Loading model resources/rasa_models/cat_0\nlu-20220714-170333-foggy-total.tar.gz… 2024-03-29 12:33:03 PM - INFO | Model weights not specified. Will choose default model weights: gpt2 2024-03-29 12:33:04.011867: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library ‘nvcuda.dll’; dlerror: nvcuda.dll not found 2024-03-29 12:33:04.013382: W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303) 2024-03-29 12:33:04.023521: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: HP 2024-03-29 12:33:04.024014: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: HP 2024-03-29 12:33:04.037203: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX AVX2 To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2024-03-29 12:33:04.154896: W tensorflow/python/util/util.cc:368] Sets are not currently considered sequences, but this may change in the future, so consider avoiding using them. 2024-03-29 12:33:04.487665: W tensorflow/core/framework/cpu_allocator_impl.cc:82] Allocation of 154389504 exceeds 10% of free system memory. 2024-03-29 12:33:05.121886: W tensorflow/core/framework/cpu_allocator_impl.cc:82] Allocation of 154389504 exceeds 10% of free system memory. 2024-03-29 12:33:05.181793: W tensorflow/core/framework/cpu_allocator_impl.cc:82] Allocation of 154389504 exceeds 10% of free system memory. All PyTorch model weights were used when initializing TFGPT2Model.

All the weights of TFGPT2Model were initialized from the PyTorch model. If your task is similar to the task the model of the checkpoint was trained on, you can already use TFGPT2Model for predictions without further training. 2024-03-29 12:33:09 PM - INFO | Model weights not specified. Will choose default model weights: rasa/LaBSE 2024-03-29 12:33:10 PM - ERROR | Error initializing graph component for node run_LanguageModelFeaturizer2.

It seems there’s an initialization error for the “run_LanguageModelFeaturizer2” node in your configuration file. This could be due to various reasons, including incompatible TensorFlow configurations or resource limitations. Double-check the node setup and ensure compatibility with TensorFlow versions and available system resources for proper initialization.

1 Like

yes I have used rasa version 3.2.1 and TensorFlow version 7.4.2 but that all versions are not compatible with sentence transformers Library that reason showing error need to upgrade NLU model of rasa as well upgrade rasa version