-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] moss_llm没有实现 #447
Comments
确实 |
我也遇到了,单独下载完moss模型,加载了10多分钟后,就报错了了 |
我做了一些修改,可以运行了,后续可以传上来 |
之前的moss实现也是网友提交pr上来的,手头暂时没有测试环境,如果有兴趣的话,欢迎发起PR到dev分支,非常感谢🙏 |
需要改动两处: def set_history_len(self, history_len: int) -> None: |
指定device,把数据和模型都放到一个device上就行 |
另外”Setting |
|
有些方法没支持,如history_len
下面的代码估计是从其他模型copy的,没改完,估计没有人测试过
The text was updated successfully, but these errors were encountered: