From 9114bef4846f9dcb904f5dbd247da034c93aeeb5 Mon Sep 17 00:00:00 2001 From: Botao Chen Date: Thu, 20 Mar 2025 23:07:19 -0700 Subject: [PATCH] fix: fix experimental-post-training template (#1740) ## What does this PR do? fix the template to make it compatible with the latest dataset and eval api change ## test run `llama stack run llama_stack/templates/experimental-post-training/run.yaml` and spin up the llama stack server successfully --- .../experimental-post-training/run.yaml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/llama_stack/templates/experimental-post-training/run.yaml b/llama_stack/templates/experimental-post-training/run.yaml index f04be149a..2ebdfe1aa 100644 --- a/llama_stack/templates/experimental-post-training/run.yaml +++ b/llama_stack/templates/experimental-post-training/run.yaml @@ -28,7 +28,11 @@ providers: eval: - provider_id: meta-reference provider_type: inline::meta-reference - config: {} + config: + kvstore: + type: sqlite + namespace: null + db_path: ${env.SQLITE_STORE_DIR:~/.llama/distributions/meta-reference-gpu}/meta_reference_eval.db scoring: - provider_id: basic provider_type: inline::basic @@ -40,7 +44,11 @@ providers: datasetio: - provider_id: localfs provider_type: inline::localfs - config: {} + config: + kvstore: + type: sqlite + namespace: null + db_path: ${env.SQLITE_STORE_DIR:~/.llama/distributions/experimental-post-training}/localfs_datasetio.db telemetry: - provider_id: meta-reference provider_type: inline::meta-reference @@ -58,7 +66,7 @@ providers: persistence_store: type: sqlite namespace: null - db_path: ${env.SQLITE_STORE_DIR:~/.llama/distributions/meta-reference-gpu}/agents_store.db + db_path: ${env.SQLITE_STORE_DIR:~/.llama/distributions/experimental-post-training}/agents_store.db safety: - provider_id: llama-guard provider_type: inline::llama-guard @@ -70,7 +78,7 @@ providers: kvstore: type: sqlite namespace: null - db_path: ${env.SQLITE_STORE_DIR:~/.llama/distributions/meta-reference-gpu}/faiss_store.db + db_path: ${env.SQLITE_STORE_DIR:~/.llama/distributions/experimental-post-training}/faiss_store.db tool_runtime: - provider_id: brave-search provider_type: remote::brave-search @@ -82,7 +90,7 @@ providers: metadata_store: namespace: null type: sqlite - db_path: ${env.SQLITE_STORE_DIR:~/.llama/distributions/meta-reference-gpu}/registry.db + db_path: ${env.SQLITE_STORE_DIR:~/.llama/distributions/experimental-post-training}/registry.db models: [] shields: [] vector_dbs: []