Comments (2)
Hi Minsoo!
This is a sample command for v0.2 multi-GPU training with 2 GPUs:
CUDA_VISIBLE_DEVICES="0,1" python -m torch.distributed.launch --nproc_per_node=2 -m colbert.train \
--amp --doc_maxlen 180 --mask-punctuation --bsize 32 --accum 1 \
--triples /path/to/MSMARCO/triples.train.small.tsv \
--root /root/to/experiments/ --experiment MSMARCO-psg \
--similarity l2 --run msmarco.psg.l2
It seems like the code was handing with your command due to --local_rank
. This will be passed automatically; don't worry about it.
Happy to help with any other issues you may face. Will keep this issue open unless you'd like to close it.
from colbert.
Hi Omar,
The command works well without any hang, thank you!!
from colbert.
Related Issues (20)
- incremental training on colbert
- [incremental indexing] - IndexUpdater.update_searcher is successful but search result does not show newly indexed passage HOT 1
- ColBERTv1: Faiss_depth usage in retrieval
- [c++] Calling pop() on an empty stack causes "undefined behavior"
- Searcher.search intermittent bug after IndexUpdater.persist_to_disk
- Trainer.train() should not take checkpoint as an argument and should use self.config.checkpoint HOT 1
- Clarification on PLAID retrieval HOT 6
- Multiprocessing takes forever after on .get() with mp.Queue() (Possible Deadlock) HOT 2
- How to use a designated GPU for training? HOT 2
- FileNotFoundError: [Errno 2] No such file or directory: '***/.venv/lib/python3.8/site-packages/colbert/modeling/segmented_maxsim.cpp' HOT 3
- Duplicate search results when `k` is a high value HOT 8
- Recall and MRR for checkpoint different from paper HOT 2
- Using GPU, ColBERT.try_load_torch_extensions from IndexUpdater reports "Error building extension 'segmented_lookup_cpp'" HOT 1
- How to see progress of Indexing HOT 2
- About training from scratch HOT 8
- low recall@1k HOT 2
- about the ranking operation HOT 1
- FAILED: decompress_residuals.cuda.o, ninja: build stopped: subcommand failed (from: ColBERT/colbert/indexing/codecs/decompress_residuals.cu) HOT 5
- Fine tuning using colbert-ir/colbertv2.0 using training script now gives error HOT 5
- Using with more recent versions of Python than 3.8 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colbert.