Comments (1)
It happens because you can't access crypto
in the browser when running through http
(insecure context). Note that this rule doesn't apply for http://localhost
nor http://127.0.0.1
.
And by your screenshot, you're accessing http://10.203.161.238
.
Reference: https://developer.mozilla.org/en-US/docs/Web/API/Crypto#usage_notes
In general, you probably should just treat Crypto as available only on secure contexts.
Possible solutions are:
- Run a local https server - you can use a self-signed certificate.
- Run it through a tunnel, like localtunnel, which gives you an https URL to access your app.
from web-llm.
Related Issues (20)
- Chrome demo frequently terminates while loading HOT 18
- I am seeing 100% RAM usage in my laptop when running this. Can you please let me know if its an issue or the minimum RAM requirement is higher than 8 GB? HOT 1
- Not working HOT 2
- WebCPU? HOT 3
- try to run gemma-7b but failed HOT 1
- simple-chat: error during loading params onto WebGPU, GPUPipelineError: A valid external Instance reference no longer exists HOT 3
- 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 17
- 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
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.