refactor(strategies): move logics into openllm-python (#578)

fix(strategies): move to openllm

Strategies shouldn't be a part of openllm-core

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
Aaron Pham
2023-11-08 02:23:08 -05:00
committed by GitHub
parent 7f46aa3475
commit 7398ae0486
7 changed files with 121 additions and 239 deletions

View File

@@ -6,10 +6,10 @@ import pytest
import bentoml
from openllm_core import _strategies as strategy
from openllm_core._strategies import CascadingResourceStrategy
from openllm_core._strategies import NvidiaGpuResource
from openllm_core._strategies import get_resource
from openllm import _strategies as strategy
from openllm._strategies import CascadingResourceStrategy
from openllm._strategies import NvidiaGpuResource
from openllm._strategies import get_resource
if t.TYPE_CHECKING:
from _pytest.monkeypatch import MonkeyPatch