This commit is contained in:
lichangye.lcy 2025-07-11 15:52:44 +08:00
parent b3fed3c213
commit cad44882a5
491 changed files with 2 additions and 3 deletions

0
.clang-format Normal file → Executable file
View File

0
.cloudide/launch.json Normal file → Executable file
View File

0
.dockerignore Normal file → Executable file
View File

0
.github/ISSUE_TEMPLATE/bug.md vendored Normal file → Executable file
View File

0
.github/ISSUE_TEMPLATE/doc.md vendored Normal file → Executable file
View File

0
.github/ISSUE_TEMPLATE/feature.md vendored Normal file → Executable file
View File

0
.github/ISSUE_TEMPLATE/refactor.md vendored Normal file → Executable file
View File

0
.github/workflows/deploy-docs.yml vendored Normal file → Executable file
View File

0
.github/workflows/format-check.yml vendored Normal file → Executable file
View File

0
.github/workflows/installation-validation.yml vendored Normal file → Executable file
View File

0
.github/workflows/test-arealite.yml vendored Normal file → Executable file
View File

0
.gitignore vendored Normal file → Executable file
View File

0
Dockerfile Normal file → Executable file
View File

0
LEGAL.md Normal file → Executable file
View File

0
LICENSE Normal file → Executable file
View File

0
MANIFEST.in Normal file → Executable file
View File

0
Makefile Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
arealite/README.md Normal file → Executable file
View File

0
arealite/api/cli_args.py Normal file → Executable file
View File

0
arealite/api/engine_api.py Normal file → Executable file
View File

0
arealite/api/env_api.py Normal file → Executable file
View File

0
arealite/api/io_struct.py Normal file → Executable file
View File

0
arealite/api/llm_client_api.py Normal file → Executable file
View File

0
arealite/api/llm_server_api.py Normal file → Executable file
View File

0
arealite/api/reward_api.py Normal file → Executable file
View File

0
arealite/api/rollout_api.py Normal file → Executable file
View File

0
arealite/api/trainer_api.py Normal file → Executable file
View File

0
arealite/api/vlm_client_api.py Normal file → Executable file
View File

0
arealite/api/workflow_api.py Normal file → Executable file
View File

0
arealite/cli/launch_server.py Normal file → Executable file
View File

0
arealite/cli/launch_trainer.py Normal file → Executable file
View File

0
arealite/config/async_grpo.yaml Normal file → Executable file
View File

0
arealite/config/sft.yaml Normal file → Executable file
View File

5
arealite/dataset/__init__.py Normal file → Executable file
View File

@ -13,10 +13,10 @@ def get_custom_dataset(
):
if "gsm8k" in path and training_type == "sft":
from AReaL.examples.arealite.dataset.gsm8k import get_gsm8k_sft_dataset
from examples.arealite.dataset.gsm8k import get_gsm8k_sft_dataset
return get_gsm8k_sft_dataset(path, split, tokenizer, rank, world_size)
elif "clevr_count_70k" in path and training_type == "sft":
from AReaL.examples.arealite.dataset.clevr_count_70k import get_clevr_count_70k_sft_dataset
from examples.arealite.dataset.clevr_count_70k import get_clevr_count_70k_sft_dataset
return get_clevr_count_70k_sft_dataset(path, split, processor, rank, world_size)
else:
raise ValueError(
@ -24,4 +24,3 @@ def get_custom_dataset(
f"Supported datasets are: {VALID_DATASETS}. "
)

0
arealite/engine/__init__.py Normal file → Executable file
View File

0
arealite/engine/constant.py Normal file → Executable file
View File

0
arealite/engine/fsdp_engine.py Normal file → Executable file
View File

0
arealite/engine/hf_engine.py Normal file → Executable file
View File

0
arealite/engine/sft/lm_engine.py Normal file → Executable file
View File

0
arealite/engine/sglang_engine.py Normal file → Executable file
View File

0
arealite/engine/sglang_remote.py Normal file → Executable file
View File

0
arealite/engine/vl_fsdp_engine.py Normal file → Executable file
View File

0
arealite/env/__init__.py vendored Normal file → Executable file
View File

0
arealite/impl/engine/hf_wrapper.py Normal file → Executable file
View File

0
arealite/impl/rlvr/rewards/areal_code.py Normal file → Executable file
View File

0
arealite/impl/rlvr/rewards/areal_math.py Normal file → Executable file
View File

0
arealite/impl/rlvr/rewards/clevr_count_70k.py Normal file → Executable file
View File

0
arealite/impl/rlvr/rewards/gsm8k.py Normal file → Executable file
View File

0
arealite/impl/rlvr/rlvr_collector.py Normal file → Executable file
View File

0
arealite/impl/rlvr/vl_rlvr_collector.py Normal file → Executable file
View File

0
arealite/impl/trainer/grpo.py Normal file → Executable file
View File

0
arealite/impl/trainer/sft.py Normal file → Executable file
View File

0
arealite/impl/trainer/vl_grpo.py Normal file → Executable file
View File

0
arealite/impl/trainer/vl_sft.py Normal file → Executable file
View File

0
arealite/launcher/with_ray.py Normal file → Executable file
View File

0
arealite/launcher/with_scheduler.py Normal file → Executable file
View File

0
arealite/ppo_functional.py Normal file → Executable file
View File

0
arealite/reward/__init__.py Normal file → Executable file
View File

0
arealite/system/rollout_controller.py Normal file → Executable file
View File

0
arealite/system/rollout_worker.py Normal file → Executable file
View File

0
arealite/system/sglang_client.py Normal file → Executable file
View File

0
arealite/system/sglang_server.py Normal file → Executable file
View File

0
arealite/system/vl_sglang_client.py Normal file → Executable file
View File

0
arealite/tests/data/rlvr_code_dataset.jsonl Normal file → Executable file
View File

0
arealite/tests/data/rlvr_math_dataset.jsonl Normal file → Executable file
View File

0
arealite/tests/test_engine.py Normal file → Executable file
View File

0
arealite/tests/test_fsdp_engine.py Normal file → Executable file
View File

0
arealite/tests/test_grpo.py Normal file → Executable file
View File

0
arealite/tests/test_rlvr_workflow.py Normal file → Executable file
View File

0
arealite/tests/test_rollout.py Normal file → Executable file
View File

0
arealite/tests/test_rollout_controller.py Normal file → Executable file
View File

0
arealite/tests/test_sft.py Normal file → Executable file
View File

0
arealite/tests/test_sglang_client.py Normal file → Executable file
View File

0
arealite/tests/test_sglang_engine.py Normal file → Executable file
View File

0
arealite/tests/test_utils.py Normal file → Executable file
View File

0
arealite/tests/test_vlm_grpo.py Normal file → Executable file
View File

0
arealite/tests/test_vlm_sft.py Normal file → Executable file
View File

0
arealite/tests/test_wrapper.py Normal file → Executable file
View File

0
arealite/tests/utils.py Normal file → Executable file
View File

0
arealite/utils/__init__.py Normal file → Executable file
View File

0
arealite/utils/data.py Normal file → Executable file
View File

0
arealite/utils/evaluator.py Normal file → Executable file
View File

0
arealite/utils/fs.py Normal file → Executable file
View File

0
arealite/utils/fsdp.py Normal file → Executable file
View File

0
arealite/utils/functional.py Normal file → Executable file
View File

0
arealite/utils/padding.py Normal file → Executable file
View File

0
arealite/utils/save_load.py Normal file → Executable file
View File

0
arealite/utils/saver.py Normal file → Executable file
View File

0
arealite/utils/stats_logger.py Normal file → Executable file
View File

0
arealite/utils/wrapper.py Normal file → Executable file
View File

0
arealite/workflow/rlvr.py Normal file → Executable file
View File

0
assets/1.5b_time_n1n4n16.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

0
assets/7b_zero_eval_acc.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 136 KiB

0
assets/7b_zero_training_curve.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 240 KiB

After

Width:  |  Height:  |  Size: 240 KiB

0
assets/algo_ablation.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 232 KiB

After

Width:  |  Height:  |  Size: 232 KiB

0
assets/arch.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 125 KiB

0
assets/async_scaling_vs_verl.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 224 KiB

After

Width:  |  Height:  |  Size: 224 KiB

0
assets/async_timeline.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

0
assets/decoupled_ppo_obj.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Some files were not shown because too many files have changed in this diff Show More