Comments (5)
@CharlieFRuan @tqchen What are your thoughts on this?
from web-llm.
This is great, subgroup shuffle can be useful for reduction operations. We did have warp shuffle support for metal backend, so maybe we can try add codegen backend for webgpu
from web-llm.
The following subgroup shuffle functions are actually in Chrome 129 (currently beta):
subgroupShuffle(value, id)
: Returnsvalue
from the active invocation whosesubgroup_invocation_id
matchesid
.subgroupShuffleXor(value, mask)
: Returnsvalue
from the active invocation whosesubgroup_invocation_id
matchessubgroup_invocation_id ^ mask
.mask
must be dynamically uniform.subgroupShuffleUp(value, delta)
: Returnsvalue
from the active invocation whosesubgroup_invocation_id
matchessubgroup_invocation_id - delta
.subgroupShuffleDown(value, delta)
: Returnsvalue
from the active invocation whosesubgroup_invocation_id
matchessubgroup_invocation_id + delta
.
from web-llm.
@tqchen @CharlieFRuan Is this being implemented in Apache TVM?
from web-llm.
Hi @beaufortfrancois Really appreciate the info and suggestions! We think it is a good idea to have it implemented in the TVM flow. Unfortunately, we are a bit out of bandwidth as of now. We'll revisit in the future!
from web-llm.
Related Issues (20)
- Sending raw text to the model HOT 4
- Deploy small LLM in a chrome extension HOT 2
- Runing LLM in a webworker fails due to loglevel dependency HOT 1
- support concurrent inference from multiple models HOT 4
- anyone tried to run web-llm in tauri?
- Request: Allow deletion of individual cached models. HOT 3
- LLama 3.1 Error: Device was lost during reload. This can happen due to insufficient memory or other GPU constraints. Detailed error: [object GPUDeviceLostInfo]. Please try to reload WebLLM with a less resource-intensive model. HOT 4
- Custom model outputs garbage in firefox nightly, works fine in chrome.
- Phi 3 Mini output near random (Phi-3-mini-4k-instruct-q4f16_1-MLC) HOT 10
- Support concurrent requests to a single model instance HOT 5
- Gemma 2 2B crashes on mobile phone HOT 16
- [Tracking][WebLLM] Function calling (beta) and Embeddings HOT 1
- Feature request: engine.preload() HOT 5
- I can't find a method to stop a conversation in progress. HOT 1
- TypeError: Cannot read properties of undefined (reading 'origin') HOT 1
- vercel/ai provider integration HOT 1
- DuckDB-NSQL-7B Model
- Usage Stats in Intermediate Steps HOT 3
- Engine Reuse Fails with Different JSON Schemas - "Module has already been disposed" Error HOT 3
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 web-llm.