Comments (4)
Thanks for finding out the bug. Can you make a pull request so that others will not encounter the same bug again?
from web-llm.
Thanks for finding out the bug. Can you make a pull request so that others will not encounter the same bug again?
Ya sure I could do that. From a testing pov I only know it worked for me, but hopefully it's a harmless change. Unless self
was being used for things I have yet to run into.
from web-llm.
I actually figured this out last night. self = this;
at llm_chat.js#L406 was not something Webpack liked. I've changed self
back to this
and made initProgressCallback
an arrow function. Seems to have fixed it.
from web-llm.
FYI @jinhongyii, I closed this but perhaps others may run into this issue with self = this
in the global scope.
from web-llm.
Related Issues (20)
- simple-chat: error during loading params onto WebGPU, GPUPipelineError: A valid external Instance reference no longer exists HOT 3
- Simple-chat is successfully deployed on the PC, an error occurs:Init error, TypeError: crypto.randomUUlD is not a function when I accesses the web port using the smart phone browser HOT 1
- ES module build of web-llm
- Error: Unknown conv template gpt2 when using prebuild gpt2 in examples/get-started HOT 2
- [Announcement] Breaking changes regarding conversation template HOT 1
- CLI run on MacOS error "unrecognized arguments: --allreduce_strategy=RING" HOT 1
- Model request: new Mistral 7B with 32K context HOT 1
- [Vue/Vite/Nuxt] Build Error: require is not defined in ES module scope, you can use import instead HOT 2
- Gibberish output with `Llama-2-7b-chat-hf-q4f32_1` HOT 12
- Add support for Gemma 7B
- Link in main readme doesn't work HOT 1
- Error running the function calling example: Cannot find global function mlc.serve.BNFGrammarGetGrammarOfJSON HOT 3
- BufferSource argument is empty HOT 4
- [MLC-LLM] Uncaught (in promise) LinkError: WebAssembly.instantiate(): Import #4 "env" HOT 2
- IndexedDB cache fails like the caches HOT 6
- Create a simpler web-workers example HOT 2
- Error: Cannot find global function tvmjs.runtime.ArrayConcat HOT 3
- next-simple chat - ReferenceError: require is not defined in ES module scope, you can use import instead HOT 10
- Do you plan to support LLaVA or video-LLaVA?
- Check failed: (!free_page_ids_.empty()) is false: The KV cache is full. No page can be allocated.
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.