Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

refactor(deepspeed_conf): 移除旧配置文件

游雁fc515cbe2e73
diff --git a/examples/deepspeed_conf/ds_z0_config.json b/examples/deepspeed_conf/ds_z0_config.json
deleted file mode 100644
index ed326676a..000000000
--- a/examples/deepspeed_conf/ds_z0_config.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "train_batch_size": "auto",
- "train_micro_batch_size_per_gpu": "auto",
- "gradient_accumulation_steps": "auto",
- "gradient_clipping": "auto",
- "zero_allow_untested_optimizer": true,
- "fp16": {
- "enabled": "auto",
- "loss_scale": 0,
- "loss_scale_window": 1000,
- "initial_scale_power": 16,
- "hysteresis": 2,
- "min_loss_scale": 1
- },
- "bf16": {
- "enabled": "auto"
- },
- "zero_optimization": {
- "stage": 0,
- "allgather_partitions": true,
- "allgather_bucket_size": 5e8,
- "overlap_comm": true,
- "reduce_scatter": true,
- "reduce_bucket_size": 5e8,
- "contiguous_gradients": true,
- "round_robin_gradients": true
- }
-}
\ No newline at end of file
diff --git a/examples/deepspeed_conf/ds_z2_config.json b/examples/deepspeed_conf/ds_z2_config.json
deleted file mode 100644
index 0a1bd1d87..000000000
--- a/examples/deepspeed_conf/ds_z2_config.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "train_batch_size": "auto",
- "train_micro_batch_size_per_gpu": "auto",
- "gradient_accumulation_steps": "auto",
- "gradient_clipping": "auto",
- "zero_allow_untested_optimizer": true,
- "fp16": {
- "enabled": "auto",
- "loss_scale": 0,
- "loss_scale_window": 1000,
- "initial_scale_power": 16,
- "hysteresis": 2,
- "min_loss_scale": 1
- },
- "bf16": {
- "enabled": "auto"
- },
- "zero_optimization": {
- "stage": 2,
- "allgather_partitions": true,
- "allgather_bucket_size": 5e8,
- "overlap_comm": true,
- "reduce_scatter": true,
- "reduce_bucket_size": 5e8,
- "contiguous_gradients": true,
- "round_robin_gradients": true
- }
-}
\ No newline at end of file
diff --git a/examples/deepspeed_conf/ds_z2_offload_config.json b/examples/deepspeed_conf/ds_z2_offload_config.json
deleted file mode 100644
index 7a3983647..000000000
--- a/examples/deepspeed_conf/ds_z2_offload_config.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "train_batch_size": "auto",
- "train_micro_batch_size_per_gpu": "auto",
- "gradient_accumulation_steps": "auto",
- "gradient_clipping": "auto",
- "zero_allow_untested_optimizer": true,
- "fp16": {
- "enabled": "auto",
- "loss_scale": 0,
- "loss_scale_window": 1000,
- "initial_scale_power": 16,
- "hysteresis": 2,
- "min_loss_scale": 1
- },
- "bf16": {
- "enabled": "auto"
- },
- "zero_optimization": {
- "stage": 2,
- "offload_optimizer": {
- "device": "cpu",
- "pin_memory": true
- },
- "allgather_partitions": true,
- "allgather_bucket_size": 5e8,
- "overlap_comm": true,
- "reduce_scatter": true,
- "reduce_bucket_size": 5e8,
- "contiguous_gradients": true,
- "round_robin_gradients": true
- }
-}
\ No newline at end of file
diff --git a/examples/deepspeed_conf/ds_z3_config.json b/examples/deepspeed_conf/ds_z3_config.json
deleted file mode 100644
index ccf9560eb..000000000
--- a/examples/deepspeed_conf/ds_z3_config.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "train_batch_size": "auto",
- "train_micro_batch_size_per_gpu": "auto",
- "gradient_accumulation_steps": "auto",
- "gradient_clipping": "auto",
- "zero_allow_untested_optimizer": true,
- "fp16": {
- "enabled": "auto",
- "loss_scale": 0,
- "loss_scale_window": 1000,
- "initial_scale_power": 16,
- "hysteresis": 2,
- "min_loss_scale": 1
- },
- "bf16": {
- "enabled": "auto"
- },
- "zero_optimization": {
- "stage": 3,
- "overlap_comm": true,
- "contiguous_gradients": true,
- "sub_group_size": 1e9,
- "reduce_bucket_size": "auto",
- "stage3_prefetch_bucket_size": "auto",
- "stage3_param_persistence_threshold": "auto",
- "stage3_max_live_parameters": 1e9,
- "stage3_max_reuse_distance": 1e9,
- "stage3_gather_16bit_weights_on_model_save": true
- }
-}
\ No newline at end of file
diff --git a/examples/deepspeed_conf/ds_z3_offload_config.json b/examples/deepspeed_conf/ds_z3_offload_config.json
deleted file mode 100644
index 026aabbcd..000000000
--- a/examples/deepspeed_conf/ds_z3_offload_config.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "train_batch_size": "auto",
- "train_micro_batch_size_per_gpu": "auto",
- "gradient_accumulation_steps": "auto",
- "gradient_clipping": "auto",
- "zero_allow_untested_optimizer": true,
- "fp16": {
- "enabled": "auto",
- "loss_scale": 0,
- "loss_scale_window": 1000,
- "initial_scale_power": 16,
- "hysteresis": 2,
- "min_loss_scale": 1
- },
- "bf16": {
- "enabled": "auto"
- },
- "zero_optimization": {
- "stage": 3,
- "offload_optimizer": {
- "device": "cpu",
- "pin_memory": true
- },
- "offload_param": {
- "device": "cpu",
- "pin_memory": true
- },
- "overlap_comm": true,
- "contiguous_gradients": true,
- "sub_group_size": 1e9,
- "reduce_bucket_size": "auto",
- "stage3_prefetch_bucket_size": "auto",
- "stage3_param_persistence_threshold": "auto",
- "stage3_max_live_parameters": 1e9,
- "stage3_max_reuse_distance": 1e9,
- "stage3_gather_16bit_weights_on_model_save": true
- }
-}
\ No newline at end of file