Open Rakshasv18 opened 9 months ago
Am facing the same issue, appreciate any help.
@mriganktiwari I was able to re solve the first error wrt to config path : here are the steps i followed :
import sys import os
rag_module_path = os.path.abspath("path_to/rag_folder/") sys.path.append(rag_module_path)
then import from config import ROOT_DIR
and change rag.config to config in the code.
Initially this resolves but again to load the data i used the below command to run ! export EFS_DIR=$(python -c "from config import EFS_DIR; print(EFS_DIR)") ! wget -e robots=off --recursive --no-clobber --page-requisites \ --html-extension --convert-links --restrict-file-names=windows \ --domains docs.ray.io --no-parent --accept=html --retry-on-http-error=429 \ -P $EFS_DIR https://docs.ray.io/en/master/
but i get an error -
Traceback (most recent call last):
File "
Cannot write to ‘/mnt/shared_storage/ray-assistant-data/docs.ray.io/en/master/index.html’ (Success). Converted links in 0 files in 0 seconds.
Hello~ I was facing the same problem and solved it by copying the folder named "rag" from the repo at the same level of the rag.ipynb notebook. Also, check the file located at rag/config.py to modify the location of the data that will be downloaded.
Hey, running into same issue on Mac M1 because /mnt folder does not exist:
rossdan@Rossdans-MBP llm-applications % ls /mnt/shared_storage/ray-assistant-data
ls: /mnt/shared_storage/ray-assistant-data: No such file or directory
rossdan@Rossdans-MBP llm-applications % ls /mnt
ls: /mnt: No such file or directory
To reproduce :
Error :
ModuleNotFoundError Traceback (most recent call last)