Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
www committed Sep 16, 2023
1 parent f5977f7 commit 8a6b4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RWKV-v4neo/src/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def forward(self, x):
########################################################################################################

if 'r4' in os.environ["RWKV_MY_TESTING"]:
HEAD_SIZE = str(os.environ["RWKV_HEAD_SIZE_A"])
HEAD_SIZE = int(os.environ["RWKV_HEAD_SIZE_A"])
wkv5_cuda = load(name="wkv5", sources=["cuda/wkv5_op.cpp", f"cuda/wkv5_cuda.cu"],
verbose=True, extra_cuda_cflags=["-res-usage", "--use_fast_math", "-O3", "-Xptxas -O3", "--extra-device-vectorization", f"-D_N_={HEAD_SIZE}"])

Expand Down

0 comments on commit 8a6b4d2

Please sign in to comment.