Skip to content

Commit

Permalink
setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jahatef committed Jun 19, 2024
1 parent 4c7cb11 commit 46904d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configs/local_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
"load": "checkpoints",
"checkpoint_validation_with_forward_pass": False,


# "launcher": "openmpi",
#"deepspeed_mpi": true,

"tensorboard_dir": "tensorboard",
"log_dir": "logs",
"use_wandb": True,
Expand Down
1 change: 1 addition & 0 deletions megatron/model/rwkv/v6/rwkv.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ def forward(self, x):
H = self.neox_args.num_attention_heads

r, k, v, g, w = self.jit_func(x)
print(f"shape of r: {r.size()}, k: {k.size()}, v: {v.size()}, g: {g.size()}, w: {w.size()}, H: {H}, B: {B}, T: {T}, C: {C}, time_faaaa: {self.time_faaaa.size()}, \n")
x = RUN_CUDA_RWKV(B, T, C, H, r, k, v, w, u=self.time_faaaa)

return self.jit_func_2(x, g)
Expand Down

0 comments on commit 46904d5

Please sign in to comment.