Skip to content

Commit 153e732

Browse files
jahatefgithub-actionsQuentin-Anthony
authored
Rwkv pipeline parallelism (#1221)
* misc changes to neox_args * allow rwkv pp * Update NeoXArgs docs automatically * Update NeoXArgs docs automatically --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Quentin Anthony <[email protected]>
1 parent d037756 commit 153e732

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

configs/neox_arguments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Logging Arguments
111111

112112
- **git_hash**: str
113113

114-
Default = 8d175ed
114+
Default = 0d5992f
115115

116116
current git hash of repository
117117

megatron/neox_arguments/arguments.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,8 +1070,8 @@ def calculate_derived(self):
10701070
), "Mamba does not yet have dropout implemented"
10711071
if "rwkv" in self.attention_config:
10721072
assert (
1073-
not self.is_pipe_parallel and self.model_parallel_size == 1
1074-
), "RWKV not currently compatible with parallelism"
1073+
self.model_parallel_size == 1
1074+
), "RWKV not currently compatible with model parallelism"
10751075
if isinstance(self.zero_stage, int):
10761076
assert self.zero_stage <= 2, "Zero stage 3 not compatible with RWKV"
10771077
assert (

0 commit comments

Comments
 (0)