mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 10:38:41 +00:00
move hf addapter->remote
This commit is contained in:
parent
788411b680
commit
3ff80929c1
4 changed files with 2 additions and 2 deletions
17
llama_stack/providers/remote/datasetio/huggingface/config.py
Normal file
17
llama_stack/providers/remote/datasetio/huggingface/config.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the terms described in the LICENSE file in
|
||||
# the root directory of this source tree.
|
||||
from llama_stack.distribution.utils.config_dirs import RUNTIME_BASE_DIR
|
||||
from llama_stack.providers.utils.kvstore.config import (
|
||||
KVStoreConfig,
|
||||
SqliteKVStoreConfig,
|
||||
)
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class HuggingfaceDatasetIOConfig(BaseModel):
|
||||
kvstore: KVStoreConfig = SqliteKVStoreConfig(
|
||||
db_path=(RUNTIME_BASE_DIR / "huggingface_datasetio.db").as_posix()
|
||||
) # Uses SQLite config specific to HF storage
|
||||
Loading…
Add table
Add a link
Reference in a new issue