josStorer / RWKV-Runner

A RWKV management and startup tool, full automation, only 8MB. And provides an interface compatible with the OpenAI API. RWKV is a large language model that is fully open source and available for commercial use.
https://www.rwkv.com
MIT License
5.07k stars 484 forks source link

from numpy import BUFSIZE ImportError: cannot import name 'BUFSIZE' from 'numpy' #353

Closed lwstudy closed 1 month ago

lwstudy commented 3 months ago

在lora训练前的环境安装也没看到什么问题。 不太清楚为什么会报这个,是版本numpy不对?似乎是无法运行NumPy 2.0.0,但是我该如何降低版本呢? 或者有什么其他办法让我能训练,想尝试一下。 from numpy import BUFSIZE ImportError: cannot import name 'BUFSIZE' from 'numpy' (/usr/local/lib/python3.10/dist-packages/numpy/init.py)

环境:1.8.4 RWKV-Runner 模型:RWKV-4-World-0.1B-v1-20230520-ctx4096.pth

lwstudy commented 3 months ago

头大,查了下是6月16更新了NumPy 2.0版本。

josStorer commented 3 months ago

手动降一下numpy版本吧

josStorer commented 3 months ago

如果是windows下, 点击顶部的WSL标签, 然后输入 pip install numpy==1.26.4

lwstudy commented 3 months ago

OK,这个办法的确的确可以暂时解决,谢谢。

josStorer commented 1 month ago

https://github.com/josStorer/RWKV-Runner/releases/tag/v1.8.5