Skip to content

Commit 38fb0c6

Browse files
committed
updated upload runner
1 parent 23e2301 commit 38fb0c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run_laion_1b_upload.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ wait_for_available_screen_slot() {
1313
}
1414

1515
# Create the output directory if it doesn't exist
16-
mkdir -p logs
16+
mkdir -p logs-new
1717

1818
for i in {0..99}; do
1919
# Wait until there's an available screen slot
@@ -24,7 +24,7 @@ for i in {0..99}; do
2424
end_idx=$(((i + 1) * part_size))
2525

2626
# Log file path
27-
log_file="logs/loader_$i.log"
27+
log_file="logs-new/loader_$i.log"
2828

2929
# Launch each process in a new screen session and log stdout and stderr to the log file
3030
screen -dmS loader_$i bash -c "REDIS_PORT=30001 REDIS_CLUSTER=1 python3 run.py --host 192.168.2.6 --engines redis-intel-float16-hnsw-m-16-ef-32 --datasets laion-img-emb-768d-1Billion-cosine --skip-search --upload-start-idx $start_idx --upload-end-idx $end_idx &> $log_file"

0 commit comments

Comments
 (0)