mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 19:04:19 +00:00
Import from the right path (#708)
Import BaseModel and Field from pydantic
This commit is contained in:
parent
750604c7af
commit
d9f75cc98f
2 changed files with 4 additions and 3 deletions
|
@ -6,9 +6,10 @@
|
|||
|
||||
from typing import Any, Dict, List, Literal, Optional, Protocol, Union
|
||||
|
||||
from llama_models.llama3.api.datatypes import BaseModel, Field
|
||||
from llama_models.schema_utils import json_schema_type, webmethod
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
from typing_extensions import Annotated
|
||||
|
||||
from llama_stack.apis.agents import AgentConfig
|
||||
|
|
|
@ -15,12 +15,12 @@ from typing import Any, Callable, Dict, List
|
|||
|
||||
import torch
|
||||
from llama_models.datatypes import Model
|
||||
|
||||
from llama_models.llama3.api.datatypes import BaseModel
|
||||
from llama_models.sku_list import resolve_model
|
||||
from llama_stack.apis.common.type_system import ParamType, StringType
|
||||
from llama_stack.apis.datasets import Datasets
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
from torchtune.models.llama3 import llama3_tokenizer, lora_llama3_8b
|
||||
from torchtune.models.llama3._tokenizer import Llama3Tokenizer
|
||||
from torchtune.models.llama3_2 import lora_llama3_2_3b
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue