This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
5 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
# ruff: noqa: I001 | ||
from flamingo.integrations.vllm.model_config import * | ||
from flamingo.integrations.vllm.path_config import * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,7 @@ | ||
from pydantic import validator | ||
|
||
from flamingo.integrations.wandb import WandbArtifactConfig | ||
from flamingo.types import BaseFlamingoConfig, TorchDtypeString | ||
from flamingo.integrations.vllm import LocalServerConfig | ||
from flamingo.types import BaseFlamingoConfig | ||
|
||
|
||
class InferenceServerConfig(BaseFlamingoConfig): | ||
"""Inference Server URL endpoint path""" | ||
|
||
load_from: LocalServerConfig | WandbArtifactConfig | ||
|
||
trust_remote_code: bool = False | ||
torch_dtype: TorchDtypeString | None = None | ||
|
||
_validate_load_from_string = validator("load_from", pre=True, allow_reuse=True)( | ||
convert_string_to_repo_config | ||
) | ||
base_url: str |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters