Closed basnetsoyuj closed 1 year ago
do you have git-lfs installed?
Thank you for the response. Yes, after realizing the cause of the error, I downloaded Git LFS and it fixed the error:
subprocess.run(["git", "lfs", "install", "--skip-repo"]) # requires running only once but for completeness
queries_store = Doc2QueryStore.from_repo(queries_repo)
My intention for raising this issue was to highlight that the error message does not directly indicate the requirement of Git LFS (if not installed) which might be a potential area of confusion.
hi @basnetsoyuj thanks for the report - we added an assertion to check for git-lfs support.
Cool!
I am just trying to fetch the pre-computed queries and scores.
When I try to run the following:
I get the following error:
When I looked into the details, I found that it is because the repo being cloned has a Git LFS file, and the pointer file is being downloaded instead: