Bound Ollama embedding batches for Yggdrasil GPU
This commit is contained in:
parent
0c470f7801
commit
586147a751
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ use serde_json::{Value, json};
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|
||||||
const POINT_BATCH_SIZE: usize = 128;
|
const POINT_BATCH_SIZE: usize = 128;
|
||||||
const EMBED_BATCH_SIZE: usize = 32;
|
const EMBED_BATCH_SIZE: usize = 4;
|
||||||
|
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub(crate) struct QdrantConfig {
|
pub(crate) struct QdrantConfig {
|
||||||
|
|
|
||||||
Reference in a new issue