Skip to content

Commit

Permalink
Merge pull request #32 from rejoicesyc/main
Browse files Browse the repository at this point in the history
fix converter header files including path
  • Loading branch information
harrisonvanderbyl committed Jun 6, 2023
2 parents 864acf3 + e40549d commit e851a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion converter/convert_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def convert_model(path: str):
name="wkv_cuda_export",
sources=[os.path.join(current_path, "cpp_save_tensor.cpp")],
# add ../include to include path
extra_include_paths=[os.path.join(current_path, "../include/rwkv/rwkv")],
extra_include_paths=[os.path.join(current_path, "../include/")],
)

w = torch.load(path, map_location="cpu")
Expand Down

0 comments on commit e851a67

Please sign in to comment.