Marker-Inc-Korea / RAGchain

Extension of Langchain for RAG. Easy benchmarking, multiple retrievals, reranker, time-aware RAG, and so on...
Apache License 2.0
279 stars 27 forks source link

i got some problem ( docker execute ) #271

Closed youngandrich88 closed 1 year ago

youngandrich88 commented 1 year ago

i tried to setup in wsl2 Ubuntu 22.04.
and trying to use Dockerfile to setting. but i got some problem.

here is my execute command ~/RAGchain/containers/KoPrivateGPT$ sudo docker build -t test .

here is my err log

[ 7/14] RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118: 0.855 Looking in indexes: https://download.pytorch.org/whl/cu118 1.925 Collecting torch 1.937 Downloading https://download.pytorch.org/whl/cu118/torch-2.1.0%2Bcu118-cp310-cp310-linux_x86_64.whl (2325.9 MB) 618.9 ━━━━━━━━━━━━━━━━━━━━━━━╸ 1.4/2.3 GB 81.3 MB/s eta 0:00:12 620.5 ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them. 620.5 torch from https://download.pytorch.org/whl/cu118/torch-2.1.0%2Bcu118-cp310-cp310-linux_x86_64.whl#sha256=a81b554184492005543ddc32e96469f9369d778dedd195d73bda9bed407d6589: 620.5 Expected sha256 a81b554184492005543ddc32e96469f9369d778dedd195d73bda9bed407d6589 620.5 Got e561fcdee0071bf97df6f8a71416d380dd4640337004a5c52ab9251321c5c04a 620.5

any solution? if I did error plz teach me. thanks.

vkehfdl1 commented 1 year ago

Hello, @youngandrich88 . Thank you for your interest to RAGchain project! We recently changed our project name to RAGchain from KoPrivateGPT, and just launched our framework to pypi yesterday.

You can download our framework using pip easily like below.

pip install RAGchain

So maybe you don't need to use old Dockerfile for using this project.

Plus, I just made PR for deleting malfunctioned Dockerfile and etc. Please check here.

In conclusion, Dockerfile in our project currently is not working. But, you can download RAGchain with pip easily. Plus, if you want to use RAGchain as Docker container, please let us know! We will make Dockerfile for RAGchain.

vkehfdl1 commented 1 year ago

We are closing this issue because inactivity. Plus, we delete our Dockerfile in our repo. So please use pypi installation that I mentioned above.