mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
remove apis/stack.py
This commit is contained in:
parent
33db4d2e45
commit
942cb87a3c
2 changed files with 28 additions and 35 deletions
|
@ -31,7 +31,34 @@ from .pyopenapi.utility import Specification
|
||||||
|
|
||||||
schema_utils.json_schema_type = json_schema_type
|
schema_utils.json_schema_type = json_schema_type
|
||||||
|
|
||||||
from llama_stack.apis.stack import LlamaStack
|
from llama_models.llama3.api.datatypes import * # noqa: F403
|
||||||
|
from llama_stack.apis.agents import * # noqa: F403
|
||||||
|
from llama_stack.apis.dataset import * # noqa: F403
|
||||||
|
from llama_stack.apis.evals import * # noqa: F403
|
||||||
|
from llama_stack.apis.inference import * # noqa: F403
|
||||||
|
from llama_stack.apis.batch_inference import * # noqa: F403
|
||||||
|
from llama_stack.apis.memory import * # noqa: F403
|
||||||
|
from llama_stack.apis.telemetry import * # noqa: F403
|
||||||
|
from llama_stack.apis.post_training import * # noqa: F403
|
||||||
|
from llama_stack.apis.reward_scoring import * # noqa: F403
|
||||||
|
from llama_stack.apis.synthetic_data_generation import * # noqa: F403
|
||||||
|
from llama_stack.apis.safety import * # noqa: F403
|
||||||
|
|
||||||
|
|
||||||
|
class LlamaStack(
|
||||||
|
Inference,
|
||||||
|
BatchInference,
|
||||||
|
Agents,
|
||||||
|
RewardScoring,
|
||||||
|
Safety,
|
||||||
|
SyntheticDataGeneration,
|
||||||
|
Datasets,
|
||||||
|
Telemetry,
|
||||||
|
PostTraining,
|
||||||
|
Memory,
|
||||||
|
Evaluations,
|
||||||
|
):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
# TODO: this should be fixed in the generator itself so it reads appropriate annotations
|
# TODO: this should be fixed in the generator itself so it reads appropriate annotations
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
# 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_models.llama3.api.datatypes import * # noqa: F403
|
|
||||||
from llama_stack.apis.agents import * # noqa: F403
|
|
||||||
from llama_stack.apis.dataset import * # noqa: F403
|
|
||||||
from llama_stack.apis.evals import * # noqa: F403
|
|
||||||
from llama_stack.apis.inference import * # noqa: F403
|
|
||||||
from llama_stack.apis.batch_inference import * # noqa: F403
|
|
||||||
from llama_stack.apis.memory import * # noqa: F403
|
|
||||||
from llama_stack.apis.telemetry import * # noqa: F403
|
|
||||||
from llama_stack.apis.post_training import * # noqa: F403
|
|
||||||
from llama_stack.apis.reward_scoring import * # noqa: F403
|
|
||||||
from llama_stack.apis.synthetic_data_generation import * # noqa: F403
|
|
||||||
from llama_stack.apis.safety import * # noqa: F403
|
|
||||||
|
|
||||||
|
|
||||||
class LlamaStack(
|
|
||||||
Inference,
|
|
||||||
BatchInference,
|
|
||||||
Agents,
|
|
||||||
RewardScoring,
|
|
||||||
Safety,
|
|
||||||
SyntheticDataGeneration,
|
|
||||||
Datasets,
|
|
||||||
Telemetry,
|
|
||||||
PostTraining,
|
|
||||||
Memory,
|
|
||||||
Evaluations,
|
|
||||||
):
|
|
||||||
pass
|
|
Loading…
Add table
Add a link
Reference in a new issue