Skip to content
Merged
Show file tree
Hide file tree
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
Empty file removed arealite/env/__init__.py
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
SGLangConfig,
)
from arealite.api.io_struct import LLMRequest, LLMResponse
from arealite.engine.sglang_engine import SGLangEngine
from arealite.experimental.sglang_engine import SGLangEngine
from arealite.workflow.rlvr import RLVRWorkflow
from realhf.api.core.data_api import load_hf_tokenizer
from realhf.base import seeding
Expand Down
Empty file removed arealite/reward/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions arealite/tests/test_train_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def mock_input(


def get_engine(engine_type: str, model_path: str):
from arealite.engine.autotp_engine import DeepSpeedAutoTPEngine
from arealite.engine.fsdp_engine import FSDPEngine
from arealite.experimental.autotp_engine import DeepSpeedAutoTPEngine

engine_cls = {"auto_tp": DeepSpeedAutoTPEngine, "fsdp": FSDPEngine}[engine_type]

Expand Down Expand Up @@ -135,7 +135,7 @@ def test_train_batch(engine, mock_input):

@torch.no_grad()
def test_hf_save_load_weights(tmp_path_factory, engine, mock_input):
from arealite.engine.autotp_engine import DeepSpeedAutoTPEngine
from arealite.experimental.autotp_engine import DeepSpeedAutoTPEngine

if isinstance(engine, DeepSpeedAutoTPEngine):
print("AutoTP engine does not support HF save/load for now.")
Expand Down
Loading