Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# limitations under the License.
"""

import os
import time
import traceback
from dataclasses import dataclass
Expand Down Expand Up @@ -62,6 +63,9 @@ def __init__(self, **args):
self.config = AttentionStoreConfig(**args)

try:
self.config.namespace = os.getenv("MODEL_ID", self.config.namespace)
Comment thread
jackyYang6 marked this conversation as resolved.
self.config.pod_name = os.getenv("FD_POD_NAME", self.config.pod_name)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个Pod Name 需要和上报给IC 和 IM 的pod name 对齐吗?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已确认不依赖此作为索引

self.config.model_version = os.getenv("KVCACHE_VERSION", self.config.model_version)
logger.info(f"[INIT] Start initializing AttentionStoreSDK with config: {self.config}")
self.sdk = AttentionStoreSDK(
self.config.namespace,
Expand Down
Loading