Skip to content

Commit 138c8a5

Browse files
authored
[misc] chore: remove useless files (Jiayi-Pan#86)
* remove useless files * modify APIs
1 parent 57ac2d3 commit 138c8a5

File tree

8 files changed

+6
-234
lines changed

8 files changed

+6
-234
lines changed

examples/ray/tutorial.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@
437437
},
438438
"outputs": [],
439439
"source": [
440-
"from verl.single_controller.ray.decorator import register, Dispatch, Execute"
440+
"from verl.single_controller.base.decorator import register, Dispatch, Execute"
441441
]
442442
},
443443
{
@@ -518,7 +518,7 @@
518518
},
519519
"outputs": [],
520520
"source": [
521-
"from verl.single_controller.ray.decorator import register, Dispatch, collect_all_to_all, Execute"
521+
"from verl.single_controller.base.decorator import register, Dispatch, collect_all_to_all, Execute"
522522
]
523523
},
524524
{
@@ -723,7 +723,7 @@
723723
},
724724
"outputs": [],
725725
"source": [
726-
"from verl.single_controller.ray.decorator import register, Dispatch, Execute\n",
726+
"from verl.single_controller.base.decorator import register, Dispatch, Execute\n",
727727
"from verl.single_controller.ray.megatron import NVMegatronRayWorkerGroup\n",
728728
"from verl.single_controller.base.megatron.worker import MegatronWorker\n",
729729
"from verl.single_controller.ray.base import RayResourcePool, RayClassWithInitArgs, RayWorkerGroup\n",

tests/ray/detached_worker/server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from verl.single_controller.ray import RayClassWithInitArgs, RayResourcePool
2929
from verl.single_controller.ray.megatron import NVMegatronRayWorkerGroup
3030
from verl.single_controller.base.megatron.worker import MegatronWorker
31-
from verl.single_controller.ray.decorator import register, Dispatch
31+
from verl.single_controller.base.decorator import register, Dispatch
3232
from verl import DataProto
3333
from verl.models.llama.megatron import ParallelLlamaForCausalLMRmPadPP
3434

tests/ray/test_ray_local_envs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
from verl.single_controller.ray.base import RayResourcePool, RayClassWithInitArgs, RayWorkerGroup
2121
from verl.single_controller.base.worker import Worker
22-
from verl.single_controller.ray.decorator import register, Dispatch, collect_all_to_all, Execute
22+
from verl.single_controller.base.decorator import register, Dispatch, collect_all_to_all, Execute
2323

2424

2525
@ray.remote

tests/ray/test_worker_group_basics.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
from verl.single_controller.ray.base import RayResourcePool, RayClassWithInitArgs, RayWorkerGroup
2222
from verl.single_controller.base.worker import Worker
23-
from verl.single_controller.ray.decorator import register, Dispatch, collect_all_to_all, Execute
23+
from verl.single_controller.base.decorator import register, Dispatch, collect_all_to_all, Execute
2424

2525

2626
def two_to_all_dispatch_fn(worker_group, *args, **kwargs):

verl/single_controller/base/dp.py

-47
This file was deleted.

verl/single_controller/ray/decorator.py

-65
This file was deleted.

verl/single_controller/ray/dist_data_pass_protocol.py

-23
This file was deleted.

verl/single_controller/ray/dp.py

-93
This file was deleted.

0 commit comments

Comments
 (0)