Skip to content

Commit

Permalink
add back wait for
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmith023 committed Nov 22, 2023
1 parent 886da2a commit f568d97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions batch_import_with_workers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ docker compose -f apps/weaviate/docker-compose-async.yml stop weaviate
export ASYNC_INDEXING=false
docker compose -f apps/weaviate/docker-compose-async.yml start weaviate

wait_weaviate
echo "Weaviate ready again"

echo "Second run with workers (ASYNC_INDEXING=$ASYNC_INDEXING)"
docker run --network host -t -v "$PWD/results:/workdir/results" -v "$PWD/datasets:/datasets" batch_import_with_workers python3 run.py -v /datasets/${dataset}.hdf5 -d $distance -m 32 --labels "pq=false,weaviate_version=$WEAVIATE_VERSION,cloud_provider=$CLOUD_PROVIDER,machine_type=$MACHINE_TYPE,os=$OS"

Expand Down

0 comments on commit f568d97

Please sign in to comment.