File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
1818for 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 "
You can’t perform that action at this time.
0 commit comments