GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Home
  • GitHub
  • Discord
  • WebLLM Chat
  • MLC Course
  • MLC Blog
  • MLC LLM
  • Getting Started with WebLLM
  • Basic Usage
  • Advanced Use Cases
  • Resumable generation
  • WebLLM API Reference
  • Building From Source
  • Adding Models

This view

  • Original page
  • New address

GeezerVison is showing webllm.mlc.ai β€” πŸ‘‹ Welcome to WebLLM β€” web-llm 0.2.89 documentation

πŸ‘‹ Welcome to WebLLMΒΆ

GitHub | WebLLM Chat | NPM | Discord

WebLLM is a high-performance in-browser language model inference engine that brings large language models (LLMs) to web browsers with hardware acceleration. With WebGPU support, it allows developers to build AI-powered applications directly within the browser environment, removing the need for server-side processing and ensuring privacy.

It provides a specialized runtime for the web backend of MLCEngine, leverages WebGPU for local acceleration, offers OpenAI-compatible API, and provides built-in support for web workers to separate heavy computation from the UI flow.

Key FeaturesΒΆ

  • 🌐 In-Browser Inference: Run LLMs directly in the browser

  • πŸš€ WebGPU Acceleration: Leverage hardware acceleration for optimal performance

  • πŸ”„ OpenAI API Compatibility: Seamless integration with standard AI workflows

  • πŸ“¦ Multiple Model Support: Works with Llama, Phi, Gemma, Mistral, and more

Start exploring WebLLM by chatting with WebLLM Chat, and start building webapps with high-performance local LLM inference with the following guides and tutorials.

User Guide

  • Getting Started with WebLLM
    • WebLLM Chat
    • Installation
    • Online IDE Sandbox
  • Basic Usage
    • Model Records in WebLLM
    • Creating an MLCEngine
    • Chat Completion
    • Streaming Chat Completion
    • Chatbot Examples
  • Advanced Use Cases
    • Audio Input with a Model Manifest (Experimental)
    • Using Workers
    • Chrome Extension
    • Additional Customization
  • Resumable generation
    • Request and recovery behavior
    • Persistence and storage
    • Supported scope and validation
  • WebLLM API Reference
    • Interfaces
    • Model Loading
    • Chat Completions
    • GPU Information

Developer Guide

  • Building From Source
    • Clone the Repository
    • Install Dependencies
    • Build the Project
    • Test Changes
  • Adding Models
You are visitor 01402792 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.