Skip to content

Commit 5e0db95

Browse files
committed
WIP: fix
1 parent a332cd7 commit 5e0db95

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/continuous-benchmark-transfer.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
type: string
2222
client_type:
2323
description: 'Hetzner client type'
24-
default: 'cpx32'
24+
default: 'cpx42'
2525
type: string
2626
push:
2727
branches:
@@ -36,7 +36,7 @@ env:
3636
HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }}
3737
# Defaults for push trigger (inputs.* is empty on push)
3838
SERVER_TYPE: ${{ inputs.server_type || 'cpx42' }}
39-
CLIENT_TYPE: ${{ inputs.client_type || 'cpx32' }}
39+
CLIENT_TYPE: ${{ inputs.client_type || 'cpx42' }}
4040
REGION: ${{ inputs.region || 'fsn1' }}
4141
DATASET_NAME: ${{ inputs.dataset_name || 'dbpedia-openai-1M-1536-angular' }}
4242
QDRANT_VERSIONS: ${{ inputs.qdrant_versions || 'ghcr/dev,docker/master' }}

ansible/playbooks/files/transfer-speed/docker-compose-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ services:
1616
volumes:
1717
- ./qdrant_data:/qdrant/storage
1818
command: >
19-
sh -c "./qdrant --uri '${NODE_URI}' ${BOOTSTRAP_URI:+--bootstrap '${BOOTSTRAP_URI}'}"
19+
sh -c "${BOOTSTRAP_URI:+sleep 5 && }./qdrant --uri '${NODE_URI}' ${BOOTSTRAP_URI:+--bootstrap '${BOOTSTRAP_URI}'}"

ansible/playbooks/playbook-transfer-speed.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
- name: Setup Qdrant cluster nodes
33
hosts: remote_machines
44
become: yes
5-
serial: 1 # Run on nodes one at a time to ensure proper cluster formation
65
tasks:
76
- name: Load variables
87
include_vars: "group_vars/transfer-speed.yml"

ansible/playbooks/roles/run-transfer-speed/files/shard_transfer.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,8 @@ def main():
223223
print(f"Error: {VECTORS_FILE} not found")
224224
sys.exit(1)
225225

226-
# Use memory mapping to avoid loading entire file into RAM
227-
vectors = np.load(VECTORS_FILE, mmap_mode='r')
228-
print(f"Loaded {len(vectors):,} vectors ({vectors.shape[1]} dims) [mmap]")
226+
vectors = np.load(VECTORS_FILE)
227+
print(f"Loaded {len(vectors):,} vectors ({vectors.shape[1]} dims)")
229228

230229
benchmark = TransferBenchmark(QDRANT_URIS, QDRANT_API_KEY)
231230
try:

0 commit comments

Comments
 (0)