Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
verl
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ZhangXiaoyun
verl
Commits
58a5c46e
Unverified
Commit
58a5c46e
authored
Feb 15, 2025
by
湛露先生
Committed by
GitHub
Feb 15, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean 'WG_BACKEND' unused code. (#258)
parent
f8b4d085
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
verl/single_controller/base/worker.py
+2
-4
No files found.
verl/single_controller/base/worker.py
View file @
58a5c46e
...
...
@@ -42,10 +42,8 @@ class WorkerHelper:
if
os
.
getenv
(
"WG_BACKEND"
,
None
)
==
"ray"
:
import
ray
return
ray
.
_private
.
services
.
get_node_ip_address
()
elif
os
.
getenv
(
"WG_BACKEND"
,
None
)
==
"torch_rpc"
:
from
verl.single_controller.torchrpc.k8s_client
import
get_ip_addr
return
get_ip_addr
()
return
None
else
:
raise
NotImplementedError
(
"WG_BACKEND now just support ray mode."
)
host_ipv4
=
os
.
getenv
(
"MY_HOST_IP"
,
None
)
host_ipv6
=
os
.
getenv
(
"MY_HOST_IPV6"
,
None
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment