Open Preetika764 opened 2 weeks ago
This happens when I run with Colab.
Could you provide more details about the model you are trying to load?
I'm using "mistralai/Mistral-7B-Instruct-v0.2" and 4bit model precision. This used to work fine earlier. Now the session crashes after the couple of import statements at top and it restarts to use the newer versions. I tried again and wasn't able to reproduce the above error but I got this right now -
/usr/local/lib/python3.10/dist-packages/langchain_core/_api/deprecation.py:139: LangChainDeprecationWarning: The class HuggingFaceEmbeddings
was deprecated in LangChain 0.2.2 and will be removed in 0.3.0. An updated version of the class exists in the langchain-huggingface package and should be used instead. To use it run pip install -U langchain-huggingface
and import as from langchain_huggingface import HuggingFaceEmbeddings
.
warn_deprecated(
2024-07-05 20:17:15.133573: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-07-05 20:17:15.133638: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-07-05 20:17:15.135791: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-07-05 20:17:16.850078: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1510, in _get_module
return importlib.import_module("." + module_name, self.name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/content/PanzaMail/scripts/../src/panza/data_preparation/create_vector_store.py", line 75, in
I've recently started getting this ValueError while running prepare_dataset.sh.