Dima
12/04/2024, 4:34 PMDima
12/04/2024, 4:34 PMFROM nvidia/cuda:11.8.0-runtime-ubuntu22.04
RUN set -ex; \
apt-get update; \
apt-get install -y curl; \
curl -s typesense-server.tar.gz <https://dl.typesense.org/releases/${TYPESENSE_VERSION}/typesense-server-${TYPESENSE_VERSION}-linux-amd64.tar.gz> | tar xvz typesense-server; \
mv typesense-server /bin/typesense-server; \
echo "${TYPESENSE_CHECKSUM} /bin/typesense-server" | md5sum -c -; \
curl -O <https://dl.typesense.org/releases/${TYPESENSE_VERSION}/typesense-gpu-deps-${TYPESENSE_VERSION}-amd64.deb>; \
dpkg -i ./typesense-gpu-deps-${TYPESENSE_VERSION}-amd64.deb;
One of the fields has auto-embedding with local model ts/e5-small-v2
. When instance starts it produces no “onnx shared libs off” logs, but indexing seems indefinitely stuck, no progress is reported in logs as well. GPU usage is also 0%. What should I check to ensure typesense can use GPU?Fanis Tharropoulos
12/05/2024, 8:13 AMDima
12/05/2024, 9:32 AMFanis Tharropoulos
12/05/2024, 9:47 AM/health
endpoint responding with an ok: true
response?Dima
12/05/2024, 9:48 AME20241205 09:47:00.267133 162 raft_server.cpp:762] Node not ready yet (known_applied_index is 0). I20241205 09:47:03.268337 162 raft_server.cpp:706] Term: 49, pending_queue: 0, last_index: 0, committed: 0, known_applied: 0, applying: 0, pendi
I20241205 09:47:03.268383 162 raft_server.cpp:1067] Snapshot timer is active, current_ts: 1733392023, last_snapshot_ts: 1733391423
I20241205 09:47:03.268395 162 node.cpp:943] node default_group:172.26.164.24:8107:8108 starts to do snapshot
E20241205 09:47:03.268494 194 raft_server.cpp:1157] Timed snapshot failed, error: Is loading another snapshot, code: 16
Fanis Tharropoulos
12/05/2024, 9:53 AMDima
12/05/2024, 9:57 AMDima
12/05/2024, 9:57 AMloaded XXX documents so far
) but with GPU I see nothing (left it to run at night as well)Dima
12/05/2024, 9:59 AMAlso are you using the import endpoint or are you sending out multiple single document indexing requests?It is indexation on restart 🙏
Ozan Armağan
12/05/2024, 10:37 AMOzan Armağan
12/05/2024, 10:38 AMDima
12/05/2024, 10:58 AMDima
12/05/2024, 11:09 AMruntime
version of CUDA and should have used devel
oneKishore Nallan
12/05/2024, 11:33 AMDima
12/05/2024, 11:35 AMdevel
, e.g. `cuda:11.8.0-cudnn8-devel-ubuntu22.04`”