Skip to content

Commit

Permalink
[misc] chore: remove useless files (#86)
Browse files Browse the repository at this point in the history
* remove useless files

* modify APIs
  • Loading branch information
vermouth1992 authored Jan 8, 2025
1 parent 57ac2d3 commit 138c8a5
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 234 deletions.
6 changes: 3 additions & 3 deletions examples/ray/tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@
},
"outputs": [],
"source": [
"from verl.single_controller.ray.decorator import register, Dispatch, Execute"
"from verl.single_controller.base.decorator import register, Dispatch, Execute"
]
},
{
Expand Down Expand Up @@ -518,7 +518,7 @@
},
"outputs": [],
"source": [
"from verl.single_controller.ray.decorator import register, Dispatch, collect_all_to_all, Execute"
"from verl.single_controller.base.decorator import register, Dispatch, collect_all_to_all, Execute"
]
},
{
Expand Down Expand Up @@ -723,7 +723,7 @@
},
"outputs": [],
"source": [
"from verl.single_controller.ray.decorator import register, Dispatch, Execute\n",
"from verl.single_controller.base.decorator import register, Dispatch, Execute\n",
"from verl.single_controller.ray.megatron import NVMegatronRayWorkerGroup\n",
"from verl.single_controller.base.megatron.worker import MegatronWorker\n",
"from verl.single_controller.ray.base import RayResourcePool, RayClassWithInitArgs, RayWorkerGroup\n",
Expand Down
2 changes: 1 addition & 1 deletion tests/ray/detached_worker/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from verl.single_controller.ray import RayClassWithInitArgs, RayResourcePool
from verl.single_controller.ray.megatron import NVMegatronRayWorkerGroup
from verl.single_controller.base.megatron.worker import MegatronWorker
from verl.single_controller.ray.decorator import register, Dispatch
from verl.single_controller.base.decorator import register, Dispatch
from verl import DataProto
from verl.models.llama.megatron import ParallelLlamaForCausalLMRmPadPP

Expand Down
2 changes: 1 addition & 1 deletion tests/ray/test_ray_local_envs.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

from verl.single_controller.ray.base import RayResourcePool, RayClassWithInitArgs, RayWorkerGroup
from verl.single_controller.base.worker import Worker
from verl.single_controller.ray.decorator import register, Dispatch, collect_all_to_all, Execute
from verl.single_controller.base.decorator import register, Dispatch, collect_all_to_all, Execute


@ray.remote
Expand Down
2 changes: 1 addition & 1 deletion tests/ray/test_worker_group_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from verl.single_controller.ray.base import RayResourcePool, RayClassWithInitArgs, RayWorkerGroup
from verl.single_controller.base.worker import Worker
from verl.single_controller.ray.decorator import register, Dispatch, collect_all_to_all, Execute
from verl.single_controller.base.decorator import register, Dispatch, collect_all_to_all, Execute


def two_to_all_dispatch_fn(worker_group, *args, **kwargs):
Expand Down
47 changes: 0 additions & 47 deletions verl/single_controller/base/dp.py

This file was deleted.

65 changes: 0 additions & 65 deletions verl/single_controller/ray/decorator.py

This file was deleted.

23 changes: 0 additions & 23 deletions verl/single_controller/ray/dist_data_pass_protocol.py

This file was deleted.

93 changes: 0 additions & 93 deletions verl/single_controller/ray/dp.py

This file was deleted.

0 comments on commit 138c8a5

Please sign in to comment.