Skip to content

Commit 91fcfaf

Browse files
jeis4wpicasteryh
andauthored
propose fix some typos (#501)
Signed-off-by: John E <[email protected]> Co-authored-by: casteryh <[email protected]>
1 parent c80f4f5 commit 91fcfaf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/source/tutorial_sources/zero-to-forge/1_RL_and_Forge_Fundamentals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ async def conceptual_forge_rl_step(services, step):
155155

156156
**Key difference**: Same RL logic, but each component is now a distributed, fault-tolerant, auto-scaling service.
157157

158-
Did you realise-we are not worrying about any Infra code here! TorchForge Automagically handles the details behind the scenes and you can focus on writing your RL Algorthms!
158+
Did you realise-we are not worrying about any Infra code here! TorchForge Automagically handles the details behind the scenes and you can focus on writing your RL Algorithms!
159159

160160

161161
## Why This Matters: Traditional ML Infrastructure Fails

src/forge/actors/generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ async def update_weights(
667667
loaded = model.load_weights([(name, param)])
668668
del param
669669
loaded_weights.update(loaded)
670-
logger.info(f"[PolicyWorker] updated {len(loaded_weights)} paremeters")
670+
logger.info(f"[PolicyWorker] updated {len(loaded_weights)} parameters")
671671
t.stop()
672672
return
673673
# normal update_weights without shared memory prefetching

tests/integration_tests/test_policy_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ async def _setup_and_teardown(request):
191191

192192
if use_dcp_override is not None:
193193
trainer_cfg["use_dcp"] = use_dcp_override
194-
logger.info(f"`trainer.use_dcp` is overriden to {use_dcp_override}")
194+
logger.info(f"`trainer.use_dcp` is overridden to {use_dcp_override}")
195195

196196
if cfg.get("provisioner", None) is not None:
197197
await init_provisioner(

0 commit comments

Comments
 (0)