-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add download from remote feature #2301
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2301 +/- ##
============================================
+ Coverage 64.29% 64.37% +0.07%
- Complexity 1333 1352 +19
============================================
Files 203 205 +2
Lines 11300 11432 +132
Branches 1426 1439 +13
============================================
+ Hits 7265 7359 +94
- Misses 3558 3583 +25
- Partials 477 490 +13 ☔ View full report in Codecov by Sentry. |
hi @ArthurChen189 can you give me sample commands to verify? |
Linking to #2301 |
Sorry, forgot to provide a sample command:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
round of comments.
WARNING?
Also, maybe something more lightweight for a unit test, like https://github.com/castorini/anserini-data/tree/master/CACM - This is what I use for some test cases that need a "real" index to download. Equivalent test in Pyserini: https://github.com/castorini/pyserini/blob/master/tests/test_index_download.py |
Very nice, works! 🎉
Although why does it show progress bar twice? |
Trying the command myself on orca, running into an error:
In my pyserini cache, I see the tarfile but no unzipped file, and the command runs pretty quickly, so seems to me that there was an issue in unzipping? I printed the paths to the tarfile and they seem to match up, as far as I'm aware. Also, would it be possible to use an environment variable for |
Thanks for letting me know. I think that was due to an interruption during the download, therefore having an unchecked and incomplete tarball file. Could you delete it and run the commands again? Thanks! |
Got some unexpected errors after merging, changing this to draft |
f539a25
to
360f199
Compare
Tried the following and it worked!
@ArthurChen189 let's go ahead and merge... we can circle back if there are additional issues. In your commit msg, be sure to mention "pre-built indexes" somewhere... |
Tested the same command on my M1 Macbook Pro, worked for me as well!
|
Sample command: