Closed realcarlos closed 1 year ago
python rwkv/convert_pytorch_to_ggml.py RWKV-4-Raven-1B5-v12-Eng98%-Other2%-20230520-ctx4096.pth rwkv1B5.bin BF16 File "rwkv/convert_pytorch_to_ggml.py", line 18 def get_layer_count(state_dict: Dict[str, torch.Tensor]) -> int: ^ SyntaxError: invalid syntax
What's your Python version?
Python 3.10.9
python3 rwkv/chat_with_bot.py rwkv-169m-ggml-f16-new.bin. it woks, thank you.
python rwkv/convert_pytorch_to_ggml.py RWKV-4-Raven-1B5-v12-Eng98%-Other2%-20230520-ctx4096.pth rwkv1B5.bin BF16 File "rwkv/convert_pytorch_to_ggml.py", line 18 def get_layer_count(state_dict: Dict[str, torch.Tensor]) -> int: ^ SyntaxError: invalid syntax