John Sokol
03/13/2025, 5:31 PMElliot Sawyer
03/13/2025, 8:46 PMnvidia-smi
might tell you something interesting. namely the amount of vram being used and which process is usingJohn Sokol
03/13/2025, 8:53 PMElliot Sawyer
03/13/2025, 8:54 PMJohn Sokol
03/13/2025, 8:54 PMElliot Sawyer
03/13/2025, 8:55 PMJohn Sokol
03/13/2025, 8:55 PMElliot Sawyer
03/13/2025, 8:55 PMElliot Sawyer
03/13/2025, 8:56 PMFanis Tharropoulos
03/14/2025, 7:34 AMbtop
can show real time GPU usage. On my laptop for example, with an RTX ADA 2000, normal use typically has no usage for the dedicated GPU, so a bump in usage would indicate that it's being usedOzan Armağan
03/14/2025, 12:52 PMJohn Sokol
03/14/2025, 4:42 PMOzan Armağan
03/14/2025, 4:45 PMJohn Sokol
03/14/2025, 4:57 PM/etc/typesense/typesense-server.ini
I found ONNX shared libs: off in the log file
I20250313 02:12:26.131770 4040 text_embedder.cpp:20] ONNX shared libs: off
I20250313 02:12:26.134429 4040 text_embedder.cpp:33] Loading model from disk: olddrive/var/lib/typesense/models/ts_nomic-embed-text-v1.5/model.on>
I20250313 02:12:27.609331 4040 embedder_manager.cpp:20] Finished initializing local model: ts/nomic-embed-text-v1.5
I20250313 02:12:27.609414 4040 collection_manager.cpp:135] Model init done.
John Sokol
03/14/2025, 4:57 PMOzan Armağan
03/14/2025, 4:59 PMLD_LIBRARY_PATH
John Sokol
03/14/2025, 5:19 PM1. root@admin:/olddrive/var/log/typesense# ls /usr/local/cuda-11.8/bin/nvcc
/usr/local/cuda-11.8/bin/nvcc
2. root@admin:/olddrive/var/log/typesense# dpkg -l | grep -E 'typesense-gpu-deps'
ii typesense-gpu-deps 28.0 amd64 Typesense GPU Dependencies
3. root@admin:/olddrive/var/log/typesense# echo $LD_LIBRARY_PATH
/usr/local/cuda-11.8/lib64:
Ozan Armağan
03/14/2025, 5:24 PMJohn Sokol
03/14/2025, 5:31 PM1. echo $PATH
/usr/local/cuda-11.8/bin:
2. echo $LD_LIBRARY_PATH
/usr/local/cuda-11.8/lib64:
3. echo $CUDA_HOME
/usr/local/cuda-11.8
I declared these env variables in ~/.bashrcOzan Armağan
03/14/2025, 5:36 PMJohn Sokol
03/14/2025, 5:36 PMJohn Sokol
03/14/2025, 8:50 PMJohn Sokol
03/14/2025, 10:04 PMJohn Sokol
03/17/2025, 4:02 AMJohn Sokol
03/17/2025, 4:04 AMecho "/usr/local/cuda/lib64" | sudo tee /etc/ld.so.conf.d/cuda.conf
sudo ldconfig
John Sokol
03/17/2025, 4:04 AM