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
6427f50a
Unverified
Commit
6427f50a
authored
Feb 09, 2025
by
Pan Yinxu
Committed by
GitHub
Feb 09, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete redundant append_to_dict (#236)
Closes #227
parent
d0725a62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
verl/workers/actor/megatron_actor.py
+0
-3
No files found.
verl/workers/actor/megatron_actor.py
View file @
6427f50a
...
@@ -364,9 +364,6 @@ class MegatronPPOActor(BasePPOActor):
...
@@ -364,9 +364,6 @@ class MegatronPPOActor(BasePPOActor):
else
:
else
:
raise
NotImplementedError
raise
NotImplementedError
for
metric
in
metric_micro_batch
:
append_to_dict
(
metrics
,
metric
)
# append the metric from this micro-batch to global metrics.
# add empty cache after each compute
# add empty cache after each compute
torch
.
cuda
.
empty_cache
()
torch
.
cuda
.
empty_cache
()
...
...
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