smileBeda
02/21/2026, 8:58 PMKishore Nallan
02/22/2026, 5:05 AMsmileBeda
02/23/2026, 2:35 AMsmileBeda
02/23/2026, 2:36 AMsmileBeda
03/02/2026, 9:33 PMsmileBeda
03/02/2026, 10:38 PM/path/to/host/folder/mapped/to/dockerfor/typesense-data/models tree
.
βββ ts
βββ clip-vit-b-p32
β βββ clip_image_processor.onnx
β βββ clip_tokenizer.onnx
β βββ config.json
β βββ model.onnx
β βββ vocab.txt
βββ e5-small-v2
βββ config.json
βββ model.onnx
βββ vocab.txt
4 directories, 8 files
yet TS will still try to download the models, fail, and say it cant use them.
Extremely frustrating, really. Not even as "fake custom models" one can load them.Kishore Nallan
03/03/2026, 4:20 AMKishore Nallan
03/03/2026, 3:41 PM30.2.rc6 -- there is a 30 second timeout now.smileBeda
03/17/2026, 8:06 PMtypesense:30.2.rc6
I still get these:
typesense-1 | E20260317 20:03:41.202178 593 http_client.cpp:228] CURL timeout. Time taken: 4.00107, method: GET, url: https://huggingface.co/typesense/models/resolve/main/e5-small-v2/config.json
typesense-1 | E20260317 20:03:41.203266 593 embedder_manager.cpp:26] Failed to initialize local model ts/e5-small-v2, error: Model not found
worker-1 | 20:03:41 Successfully completed app.worker.tasks.process_document_task('7d404439-2daa-4607-a204-6e5812d699cc') job in 0:01:12.506816s on worker 47c5f990ff22451db18fe9849405dafe
worker-1 | 20:03:41 dcm: Job OK (fe14ead1-b209-4487-ab8b-af29fe2e3b10)
worker-1 | 20:03:41 Result is kept for 500 seconds
Yes, I am on a VPN, yes, my ping is horrible (some 300ms), but this should simply in no way affect the download. It has to wait until it is done. I download large stuff all the time (literally, a whole *arr stack is pulling 4k movies and stuff all day long lol)
I also still see a timeout at 4s, instead of 30
My docker compose says:
image: typesense/typesense:30.2.rc6
And I saw it being pulled as I did docker compose up
Not sure what I am doing wrong here.smileBeda
03/17/2026, 8:09 PMKishore Nallan
03/18/2026, 8:31 AMKishore Nallan
03/19/2026, 12:43 PM30.2.rc9smileBeda
03/19/2026, 1:44 PMtypesense-1 | I20260319 13:38:51.684044 455 batched_indexer.cpp:432] Running GC for aborted requests, req map size: 1, reference_q.size: 0
typesense-1 | I20260319 13:39:00.701645 454 raft_server.cpp:759] Term: 12, last_index: 61, committed: 61, known_applied: 61, applying: 0, pending_writes: 0, queued_writes: 1, inflight_searches: 0, local_sequence: 153
typesense-1 | I20260319 13:39:00.701742 603 raft_server.h:60] Peer refresh succeeded!
typesense-1 | I20260319 13:39:10.702626 454 raft_server.cpp:759] Term: 12, last_index: 61, committed: 61, known_applied: 61, applying: 0, pending_writes: 0, queued_writes: 1, inflight_searches: 0, local_sequence: 153
typesense-1 | I20260319 13:39:10.702680 519 raft_server.h:60] Peer refresh succeeded!
typesense-1 | I20260319 13:39:20.703769 454 raft_server.cpp:759] Term: 12, last_index: 61, committed: 61, known_applied: 61, applying: 0, pending_writes: 0, queued_writes: 1, inflight_searches: 0, local_sequence: 153
typesense-1 | I20260319 13:39:20.704027 523 raft_server.h:60] Peer refresh succeeded!
typesense-1 | I20260319 13:39:30.704882 454 raft_server.cpp:759] Term: 12, last_index: 61, committed: 61, known_applied: 61, applying: 0, pending_writes: 0, queued_writes: 1, inflight_searches: 0, local_sequence: 153
typesense-1 | I20260319 13:39:30.705044 600 raft_server.h:60] Peer refresh succeeded!
typesense-1 | I20260319 13:39:40.705996 454 raft_server.cpp:759] Term: 12, last_index: 61, committed: 61, known_applied: 61, applying: 0, pending_writes: 0, queued_writes: 1, inflight_searches: 0, local_sequence: 153
typesense-1 | I20260319 13:39:40.706101 603 raft_server.h:60] Peer refresh succeeded!
typesense-1 | I20260319 13:39:50.365322 555 text_embedder.cpp:20] ONNX shared libs: off
typesense-1 | I20260319 13:39:50.365353 555 text_embedder.cpp:33] Loading model from disk: /data/models/ts_clip-vit-b-p32/model.onnx
typesense-1 | I20260319 13:39:50.707489 454 raft_server.cpp:759] Term: 12, last_index: 61, committed: 61, known_applied: 61, applying: 0, pending_writes: 0, queued_writes: 1, inflight_searches: 0, local_sequence: 153
typesense-1 | I20260319 13:39:50.707552 519 raft_server.h:60] Peer refresh succeeded!
typesense-1 | I20260319 13:39:51.276821 555 image_processor.cpp:8] Loading image processor from /data/models/ts_clip-vit-b-p32/clip_image_processor.onnx
typesense-1 | I20260319 13:39:51.280105 555 embedder_manager.cpp:24] Finished initializing local model: ts/clip-vit-b-p32
typesense-1 | I20260319 13:39:51.280119 555 field.cpp:889] Model init done.
typesense-1 | I20260319 13:39:52.690093 455 batched_indexer.cpp:432] Running GC for aborted requests, req map size: 0, reference_q.size: 0
As if the model already where on local disk
But that could only be possible if the model was pulled in the background overnight, since yesterday it clearly was not there despite repeated down/up (always failed at the 4s timeout)
I am now going to whipe out local host folder, I guess, and start fresh to see if it workssmileBeda
03/19/2026, 1:49 PMtypesense-1 | I20260319 13:46:29.595633 583 text_embedder.cpp:33] Loading model from disk: /data/models/ts_e5-small-v2/model.onnx
typesense-1 | I20260319 13:46:29.786890 583 embedder_manager.cpp:24] Finished initializing local model: ts/e5-small-v2
typesense-1 | I20260319 13:46:29.786909 583 field.cpp:889] Model init done.
typesense-1 | I20260319 13:46:29.792979 570 embedder_manager.cpp:21] Validating and initializing local model: ts/clip-vit-b-p32
typesense-1 | I20260319 13:46:33.584232 453 raft_server.cpp:759] Term: 2, last_index: 3, committed: 3, known_applied: 3, applying: 0, pending_writes: 0, queued_writes: 1, inflight_searches: 0, local_sequence: 6
typesense-1 | I20260319 13:46:33.584306 497 raft_server.h:60] Peer refresh succeeded!
typesense-1 | I20260319 13:46:43.585709 453 raft_server.cpp:759] Term: 2, last_index: 3, committed: 3, known_applied: 3, applying: 0, pending_writes: 0, queued_writes: 1, inflight_searches: 0, local_sequence: 6
typesense-1 | I20260319 13:46:43.585795 507 raft_server.h:60] Peer refresh succeeded!
typesense-1 | I20260319 13:46:44.571918 454 batched_indexer.cpp:432] Running GC for aborted requests, req map size: 1, reference_q.size: 0
This despite the fact that the model is not there when container starts up (after total wipe)
So it appears you only log the model pulling process on failure, I guess.
Bottom line, it now has pulled the models twice reliably which should mean it is solved.Kishore Nallan
03/19/2026, 2:57 PM