LICENSE
MANIFEST.in
README.md
setup.cfg
setup.py
ms_swift.egg-info/PKG-INFO
ms_swift.egg-info/SOURCES.txt
ms_swift.egg-info/dependency_links.txt
ms_swift.egg-info/entry_points.txt
ms_swift.egg-info/not-zip-safe
ms_swift.egg-info/requires.txt
ms_swift.egg-info/top_level.txt
requirements/docs.txt
requirements/eval.txt
requirements/framework.txt
requirements/swanlab.txt
requirements/tests.txt
swift/__init__.py
swift/version.py
swift/cli/__init__.py
swift/cli/app.py
swift/cli/deploy.py
swift/cli/eval.py
swift/cli/export.py
swift/cli/infer.py
swift/cli/main.py
swift/cli/merge_lora.py
swift/cli/pt.py
swift/cli/rlhf.py
swift/cli/rollout.py
swift/cli/sample.py
swift/cli/sft.py
swift/cli/web_ui.py
swift/cli/_megatron/__init__.py
swift/cli/_megatron/main.py
swift/cli/_megatron/pt.py
swift/cli/_megatron/rlhf.py
swift/cli/_megatron/sft.py
swift/hub/__init__.py
swift/hub/constant.py
swift/hub/hub.py
swift/llm/__init__.py
swift/llm/base.py
swift/llm/data_loader.py
swift/llm/utils.py
swift/llm/app/__init__.py
swift/llm/app/app.py
swift/llm/app/build_ui.py
swift/llm/app/locale.py
swift/llm/argument/__init__.py
swift/llm/argument/app_args.py
swift/llm/argument/deploy_args.py
swift/llm/argument/eval_args.py
swift/llm/argument/export_args.py
swift/llm/argument/infer_args.py
swift/llm/argument/merge_args.py
swift/llm/argument/rlhf_args.py
swift/llm/argument/sampling_args.py
swift/llm/argument/train_args.py
swift/llm/argument/tuner_args.py
swift/llm/argument/webui_args.py
swift/llm/argument/base_args/__init__.py
swift/llm/argument/base_args/base_args.py
swift/llm/argument/base_args/data_args.py
swift/llm/argument/base_args/generation_args.py
swift/llm/argument/base_args/model_args.py
swift/llm/argument/base_args/quant_args.py
swift/llm/argument/base_args/template_args.py
swift/llm/argument/base_args/utils.py
swift/llm/dataset/__init__.py
swift/llm/dataset/indexed_dataset.py
swift/llm/dataset/loader.py
swift/llm/dataset/media.py
swift/llm/dataset/register.py
swift/llm/dataset/utils.py
swift/llm/dataset/data/dataset_info.json
swift/llm/dataset/dataset/__init__.py
swift/llm/dataset/dataset/llm.py
swift/llm/dataset/dataset/mllm.py
swift/llm/dataset/preprocessor/__init__.py
swift/llm/dataset/preprocessor/core.py
swift/llm/dataset/preprocessor/extra.py
swift/llm/ds_config/zero0.json
swift/llm/ds_config/zero1.json
swift/llm/ds_config/zero2.json
swift/llm/ds_config/zero2_offload.json
swift/llm/ds_config/zero3.json
swift/llm/ds_config/zero3_offload.json
swift/llm/eval/__init__.py
swift/llm/eval/eval.py
swift/llm/eval/utils.py
swift/llm/export/__init__.py
swift/llm/export/cached_dataset.py
swift/llm/export/export.py
swift/llm/export/merge_lora.py
swift/llm/export/ollama.py
swift/llm/export/quant.py
swift/llm/infer/__init__.py
swift/llm/infer/deploy.py
swift/llm/infer/infer.py
swift/llm/infer/protocol.py
swift/llm/infer/rollout.py
swift/llm/infer/utils.py
swift/llm/infer/infer_engine/__init__.py
swift/llm/infer/infer_engine/base.py
swift/llm/infer/infer_engine/grpo_vllm_engine.py
swift/llm/infer/infer_engine/infer_client.py
swift/llm/infer/infer_engine/infer_engine.py
swift/llm/infer/infer_engine/lmdeploy_engine.py
swift/llm/infer/infer_engine/patch.py
swift/llm/infer/infer_engine/pt_engine.py
swift/llm/infer/infer_engine/sglang_engine.py
swift/llm/infer/infer_engine/utils.py
swift/llm/infer/infer_engine/vllm_engine.py
swift/llm/model/__init__.py
swift/llm/model/constant.py
swift/llm/model/model_arch.py
swift/llm/model/patcher.py
swift/llm/model/register.py
swift/llm/model/utils.py
swift/llm/model/model/__init__.py
swift/llm/model/model/baai.py
swift/llm/model/model/baichuan.py
swift/llm/model/model/baidu.py
swift/llm/model/model/bert.py
swift/llm/model/model/codefuse.py
swift/llm/model/model/deepseek.py
swift/llm/model/model/gemma.py
swift/llm/model/model/glm.py
swift/llm/model/model/internlm.py
swift/llm/model/model/llama.py
swift/llm/model/model/llava.py
swift/llm/model/model/llm.py
swift/llm/model/model/mamba.py
swift/llm/model/model/microsoft.py
swift/llm/model/model/minicpm.py
swift/llm/model/model/minimax.py
swift/llm/model/model/mistral.py
swift/llm/model/model/mllm.py
swift/llm/model/model/moonshot.py
swift/llm/model/model/mplug.py
swift/llm/model/model/openbuddy.py
swift/llm/model/model/qwen.py
swift/llm/model/model/skywork.py
swift/llm/model/model/stepfun.py
swift/llm/model/model/telechat.py
swift/llm/model/model/valley.py
swift/llm/model/model/yi.py
swift/llm/sampling/__init__.py
swift/llm/sampling/base.py
swift/llm/sampling/distill_sampler.py
swift/llm/sampling/mcts.py
swift/llm/sampling/sampling.py
swift/llm/sampling/utils.py
swift/llm/sampling/vanilla_sampler.py
swift/llm/template/__init__.py
swift/llm/template/base.py
swift/llm/template/constant.py
swift/llm/template/grounding.py
swift/llm/template/register.py
swift/llm/template/template_inputs.py
swift/llm/template/template_meta.py
swift/llm/template/utils.py
swift/llm/template/vision_utils.py
swift/llm/template/template/__init__.py
swift/llm/template/template/baidu.py
swift/llm/template/template/bert.py
swift/llm/template/template/deepseek.py
swift/llm/template/template/dots.py
swift/llm/template/template/emu3.py
swift/llm/template/template/gemma.py
swift/llm/template/template/glm.py
swift/llm/template/template/idefics3.py
swift/llm/template/template/internlm.py
swift/llm/template/template/internvl.py
swift/llm/template/template/kwai.py
swift/llm/template/template/llama.py
swift/llm/template/template/llava.py
swift/llm/template/template/llm.py
swift/llm/template/template/megrez.py
swift/llm/template/template/microsoft.py
swift/llm/template/template/midashenglm.py
swift/llm/template/template/minicpm.py
swift/llm/template/template/minimax.py
swift/llm/template/template/mistral.py
swift/llm/template/template/molmo.py
swift/llm/template/template/moonshot.py
swift/llm/template/template/mplug.py
swift/llm/template/template/openbuddy.py
swift/llm/template/template/pixtral.py
swift/llm/template/template/qwen.py
swift/llm/template/template/stepfun.py
swift/llm/template/template/utils.py
swift/llm/template/template/valley.py
swift/llm/template/template/yi.py
swift/llm/train/__init__.py
swift/llm/train/callback.py
swift/llm/train/kto.py
swift/llm/train/pt.py
swift/llm/train/rlhf.py
swift/llm/train/sft.py
swift/llm/train/tuner.py
swift/megatron/__init__.py
swift/megatron/init.py
swift/megatron/argument/__init__.py
swift/megatron/argument/megatron_args.py
swift/megatron/argument/rlhf_args.py
swift/megatron/argument/train_args.py
swift/megatron/model/__init__.py
swift/megatron/model/config.py
swift/megatron/model/constant.py
swift/megatron/model/gpt_model.py
swift/megatron/model/register.py
swift/megatron/model/rope.py
swift/megatron/model/gpt/__init__.py
swift/megatron/model/gpt/config.py
swift/megatron/model/gpt/hf2mcore.py
swift/megatron/model/gpt/mcore2hf.py
swift/megatron/model/gpt/model.py
swift/megatron/train/__init__.py
swift/megatron/train/pt.py
swift/megatron/train/rlhf.py
swift/megatron/train/sft.py
swift/megatron/train/utils.py
swift/megatron/trainers/__init__.py
swift/megatron/trainers/base.py
swift/megatron/trainers/dpo_trainer.py
swift/megatron/trainers/trainer.py
swift/megatron/trainers/utils.py
swift/megatron/tuners/__init__.py
swift/megatron/tuners/lora.py
swift/megatron/utils/__init__.py
swift/megatron/utils/convert.py
swift/megatron/utils/patcher.py
swift/megatron/utils/utils.py
swift/plugin/__init__.py
swift/plugin/callback.py
swift/plugin/context_manager.py
swift/plugin/env.py
swift/plugin/loss.py
swift/plugin/metric.py
swift/plugin/multi_turn.py
swift/plugin/optimizer.py
swift/plugin/orm.py
swift/plugin/prm.py
swift/plugin/rm_plugin.py
swift/plugin/tuner.py
swift/plugin/agent_template/__init__.py
swift/plugin/agent_template/base.py
swift/plugin/agent_template/extra.py
swift/plugin/agent_template/glm4.py
swift/plugin/agent_template/hermes.py
swift/plugin/agent_template/llama.py
swift/plugin/agent_template/mistral.py
swift/plugin/agent_template/qwen.py
swift/plugin/agent_template/react.py
swift/plugin/agent_template/toolbench.py
swift/plugin/loss_scale/__init__.py
swift/plugin/loss_scale/loss_scale.py
swift/plugin/loss_scale/utils.py
swift/plugin/loss_scale/config/agentflan.json
swift/plugin/loss_scale/config/alpha_umi.json
swift/plugin/loss_scale/config/hermes.json
swift/plugin/loss_scale/config/ignore_empty_think.json
swift/plugin/loss_scale/config/qwen.json
swift/plugin/loss_scale/config/react.json
swift/trainers/__init__.py
swift/trainers/arguments.py
swift/trainers/callback.py
swift/trainers/mixin.py
swift/trainers/rlhf_arguments.py
swift/trainers/trainer_factory.py
swift/trainers/trainers.py
swift/trainers/utils.py
swift/trainers/optimizers/__init__.py
swift/trainers/optimizers/galore/__init__.py
swift/trainers/optimizers/galore/adafactor.py
swift/trainers/optimizers/galore/adamw.py
swift/trainers/optimizers/galore/adamw8bit.py
swift/trainers/optimizers/galore/galore_projector.py
swift/trainers/optimizers/galore/utils.py
swift/trainers/rlhf_trainer/__init__.py
swift/trainers/rlhf_trainer/cpo_trainer.py
swift/trainers/rlhf_trainer/csts_grpo_trainer.py
swift/trainers/rlhf_trainer/dpo_trainer.py
swift/trainers/rlhf_trainer/gkd_trainer.py
swift/trainers/rlhf_trainer/grpo_trainer.py
swift/trainers/rlhf_trainer/kto_trainer.py
swift/trainers/rlhf_trainer/orpo_trainer.py
swift/trainers/rlhf_trainer/ppo_trainer.py
swift/trainers/rlhf_trainer/reward_trainer.py
swift/trainers/rlhf_trainer/rlhf_mixin.py
swift/trainers/rlhf_trainer/utils.py
swift/trainers/rlhf_trainer/vllm_client.py
swift/trainers/sequence_parallel/__init__.py
swift/trainers/sequence_parallel/base.py
swift/trainers/sequence_parallel/ring_attention.py
swift/trainers/sequence_parallel/ulysses.py
swift/trainers/sequence_parallel/utils.py
swift/tuners/__init__.py
swift/tuners/adapter.py
swift/tuners/base.py
swift/tuners/llamapro.py
swift/tuners/lora.py
swift/tuners/lora_layers.py
swift/tuners/mapping.py
swift/tuners/neftune.py
swift/tuners/part.py
swift/tuners/peft.py
swift/tuners/prompt.py
swift/tuners/reft.py
swift/tuners/restuning.py
swift/tuners/restuning_components.py
swift/tuners/side.py
swift/tuners/utils.py
swift/tuners/longlora/__init__.py
swift/tuners/longlora/llama.py
swift/tuners/longlora/longlora.py
swift/tuners/scetuning/__init__.py
swift/tuners/scetuning/scetuning.py
swift/tuners/scetuning/scetuning_components.py
swift/ui/__init__.py
swift/ui/app.py
swift/ui/base.py
swift/ui/llm_eval/__init__.py
swift/ui/llm_eval/eval.py
swift/ui/llm_eval/llm_eval.py
swift/ui/llm_eval/model.py
swift/ui/llm_eval/runtime.py
swift/ui/llm_export/__init__.py
swift/ui/llm_export/export.py
swift/ui/llm_export/llm_export.py
swift/ui/llm_export/model.py
swift/ui/llm_export/runtime.py
swift/ui/llm_grpo/__init__.py
swift/ui/llm_grpo/advanced.py
swift/ui/llm_grpo/dataset.py
swift/ui/llm_grpo/external_rollout.py
swift/ui/llm_grpo/external_runtime.py
swift/ui/llm_grpo/grpo_advanced.py
swift/ui/llm_grpo/hyper.py
swift/ui/llm_grpo/llm_grpo.py
swift/ui/llm_grpo/lora.py
swift/ui/llm_grpo/model.py
swift/ui/llm_grpo/optimizer.py
swift/ui/llm_grpo/quantization.py
swift/ui/llm_grpo/report_to.py
swift/ui/llm_grpo/reward.py
swift/ui/llm_grpo/rollout.py
swift/ui/llm_grpo/runtime.py
swift/ui/llm_grpo/save.py
swift/ui/llm_grpo/target.py
swift/ui/llm_grpo/tuner.py
swift/ui/llm_infer/__init__.py
swift/ui/llm_infer/generate.py
swift/ui/llm_infer/llm_infer.py
swift/ui/llm_infer/model.py
swift/ui/llm_infer/runtime.py
swift/ui/llm_rlhf/__init__.py
swift/ui/llm_rlhf/advanced.py
swift/ui/llm_rlhf/dataset.py
swift/ui/llm_rlhf/hyper.py
swift/ui/llm_rlhf/llm_rlhf.py
swift/ui/llm_rlhf/lora.py
swift/ui/llm_rlhf/model.py
swift/ui/llm_rlhf/optimizer.py
swift/ui/llm_rlhf/quantization.py
swift/ui/llm_rlhf/report_to.py
swift/ui/llm_rlhf/rlhf.py
swift/ui/llm_rlhf/runtime.py
swift/ui/llm_rlhf/save.py
swift/ui/llm_rlhf/target.py
swift/ui/llm_rlhf/tuner.py
swift/ui/llm_sample/__init__.py
swift/ui/llm_sample/llm_sample.py
swift/ui/llm_sample/model.py
swift/ui/llm_sample/runtime.py
swift/ui/llm_sample/sample.py
swift/ui/llm_train/__init__.py
swift/ui/llm_train/advanced.py
swift/ui/llm_train/dataset.py
swift/ui/llm_train/hyper.py
swift/ui/llm_train/llm_train.py
swift/ui/llm_train/lora.py
swift/ui/llm_train/model.py
swift/ui/llm_train/optimizer.py
swift/ui/llm_train/quantization.py
swift/ui/llm_train/report_to.py
swift/ui/llm_train/runtime.py
swift/ui/llm_train/save.py
swift/ui/llm_train/self_cog.py
swift/ui/llm_train/target.py
swift/ui/llm_train/task.py
swift/ui/llm_train/tuner.py
swift/ui/llm_train/utils.py
swift/utils/__init__.py
swift/utils/constants.py
swift/utils/env.py
swift/utils/import_utils.py
swift/utils/io_utils.py
swift/utils/logger.py
swift/utils/np_utils.py
swift/utils/tb_utils.py
swift/utils/torch_utils.py
swift/utils/utils.py
tests/__init__.py
tests/model_tag.py
tests/run.py
tests/test_utils.py
tests/hub/__init__.py
tests/hub/test_check_model.py
tests/llm/__init__.py
tests/llm/load_model.py
tests/llm/load_template.py
tests/llm/test_custom.py
tests/llm/test_dataset.py
tests/llm/test_ollama_export.py
tests/llm/test_run.py
tests/llm/test_run3.py
tests/llm/test_template.py
tests/llm/test_utils.py
tests/llm/test_web_ui.py
tests/tuners/__init__.py
tests/tuners/test_extra_state_dict.py
tests/tuners/test_merged_linear.py
tests/tuners/test_neft.py
tests/tuners/test_peft.py
tests/tuners/test_scetuning.py
tests/tuners/test_swift_base.py
tests/tuners/test_swift_device_map.py
tests/tuners/test_swift_restuning.py
tests/utils/__init__.py
tests/utils/test_file_utils.py
tests/utils/test_io_utils.py
tests/utils/test_split_str_parts_by.py
tests/utils/test_torch_utils.py