Comments (10)
顺利通过了,跪谢作者!🎉
关联问题请教:
WebGPU 相较于 MPS,在macOS中的性能,差异非常大吗?
(因为我感觉到,WebGPU的速度非常的快,似乎和MPS没有差异)
from rwkv-runner.
V5 MPS有点问题, 可以先用WebGPU或者 WebGPU(Python)
from rwkv-runner.
V5 MPS有点问题, 可以先用WebGPU或者 WebGPU(Python)
需要先转换模型吗?
关于WebGPU的依赖,似乎没找到文档,我还没摸明白,求教。
from rwkv-runner.
普通WebGPU可以直接转换并使用, 已经内置了转换和执行工具
from rwkv-runner.
普通WebGPU可以直接转换并使用, 已经内置了转换和执行工具
使用内置转换工具,将 .pth 转换为 .st 后,使用WebGPU 或 WebGPU(Python)运行报错:
切换模型失败 - {"detail":"failed to load: web_rwkv_py not found, install it from https://github.com/cryscan/web-rwkv-py"}
from rwkv-runner.
你截图这个是 WebGPU (Python)的报错, 这个模式windows开箱即用, 但是mac要手动安装 https://github.com/cryscan/web-rwkv-py
如果你不知道怎么安装, 可以用普通的, WebGPU模式, 这个模式有什么报错吗
你截图这个状态, 再点一下运行
from rwkv-runner.
你截图这个是 WebGPU (Python)的报错, 这个模式windows开箱即用, 但是mac要手动安装 https://github.com/cryscan/web-rwkv-py
如果你不知道怎么安装, 可以用普通的, WebGPU模式, 这个模式有什么报错吗
你截图这个状态, 再点一下运行
如图,此为选择“WebGPU”的运行情况。
from rwkv-runner.
先把所有终端关了, 因为占着端口, 服务启动不起来
from rwkv-runner.
WebGPU模式是cryscan自己写的wgsl算子: https://github.com/cryscan/web-rwkv/blob/main/src/shaders
在mac下使用metal的计算着色器
而MPS模式目前调用普通的pytorch API实现, 实现的相对随便一点?
Metal和MPS实现孰优孰劣不好说: https://github.com/pytorch/pytorch/issues/86076
from rwkv-runner.
WebGPU模式是cryscan自己写的wgsl算子: https://github.com/cryscan/web-rwkv/blob/main/src/shaders 在mac下使用metal的计算着色器
而MPS模式目前调用普通的pytorch API实现, 实现的相对随便一点?
Metal和MPS实现孰优孰劣不好说:
https://github.com/pytorch/pytorch/issues/86076
非常感谢,我去阅读了解。
我将Close这个主题。
from rwkv-runner.
Related Issues (20)
- CUDA和Pytorch已经安装,但依然提示Failed CUDA HOT 1
- Fail to connect to the model HOT 1
- Network error when going to sleep or hibernate. HOT 3
- UI Freezes When Focusing on Textbox on Linux HOT 10
- RWKV-Runner-v1.7.2懒人包-内置依赖和3B模型 HOT 4
- 问个小白问题,这东东可以离线断网运行吗? HOT 3
- 希望能为系统角色修改前缀 HOT 2
- 问个比较基础的问题,Runner中训练的上下文长度,具体影响什么?是模型回复的最大思考token数量还是用户输入的最大token数?又或者影响什么其他的东西? HOT 2
- LoRa微调问题: 训练一段时间后 ,ubantu窗口和wsl窗口就关闭了 HOT 1
- 能不能加个深浅色模式自动跟随系统外观 HOT 2
- MacOS版本的停止按钮失效? HOT 1
- 切换.bin模型失败 HOT 6
- Trojans in Windows installer? (multiple detections from VirusTotal) HOT 1
- 我在本地配置了ollama,在聊天和续写时怎么调取? HOT 6
- 希望加入PISSA和LISA微调 HOT 2
- 【新人求助】如果想写小说,有什么模型推荐? HOT 1
- Win10 無法啟動 HOT 4
- CPU/CPU(rwkv.cpp) 模型切换问题 HOT 1
- 调用api接口感觉速度有点慢,是否和流式输出有关系,我看接口记录中流式输出参数是false,这个"stream": false, 参数在哪里可以设置呢? HOT 7
- 大佬,有兴趣加入Mirostat采样器吗? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rwkv-runner.