Skip to content

AI PC starter app for doing AI image creation, image stylizing, and chatbot on a PC powered by an Intel® Arc™ GPU.

License

Notifications You must be signed in to change notification settings

intel/AI-Playground

Repository files navigation

AI Playground

Coverity Scan Build Status

image

This example is based on the xpu implementation of Intel® Arc™ GPU.

Welcome to AI Playground beta open source project and AI PC starter app for doing AI image creation, image stylizing, and chatbot on a PC powered by an Intel® Arc™ GPU. AI Playground leverages libraries from GitHub and Huggingface which may not be available in all countries world-wide.

README.md

  • English (readme.md)

Min Specs

AI Playground alpha and beta installers are currently available downloadable executables, or available as a source code from our Github repository. To run AI Playground you must have a PC that meets the following specifications

  • Windows OS
  • Intel Core Ultra-H Processor, Intel Core Ultra 200V series processor OR Intel Arc GPU Series A or Series B (discrete) with 8GB of vRAM

Installation - Packaged Installer:

Starting from v2.0, there is a single packaged installer that works for all supported hardware mentioned above. This installer simplifies the process for end users to install AI Playground and get it running on their PC. Please note that while this makes the installation process easier, this is open-source beta software, and there may be component and version conflicts. Refer to the Troubleshooting section for known issues.

Download the installer

Installation Process for v2.0

  1. The installer only installs the Electron frontend, so it completes very quickly.
  2. On the first run, you need to install additional backend components for AI Playground to function properly. This process requires a strong and open network and may take several minutes.
  3. Download the Users Guide for application information: AI Playground Users Guide

Troubleshooting Installation

  1. Verify Intel Arc GPU: Ensure your system has an Intel Arc GPU. Go to your Windows Start Menu, type "Device Manager," and under Display Adapters, check the name of your GPU device. It should describe an Intel Arc GPU. If it says "Intel(R) Graphics," your system does not have a built-in Intel Arc GPU and does not meet the minimum specifications.
  2. Interrupted Installation: The online installation for backend components can be interrupted or blocked by an IT network, firewall, or sleep settings. Ensure you are on an open network, with the firewall off, and set sleep settings to stay awake when powered on.
  3. Missing Libraries: Some Windows systems may be missing needed libraries. This can be fixed by installing the 64-bit VC++ redistribution from Microsoft here.

Project Development

Checkout Source Code

To get started, clone the repository and navigate to the project directory:

git clone -b dev https://github.com/intel/AI-Playground.git
cd AI-Playground

Install Node.js Dependencies

  1. Install the Node.js development environment from Node.js.

  2. Navigate to the WebUI directory and install all Node.js dependencies:

cd WebUI
npm install

Prepare Python Environment

  1. Install Miniforge to manage your Conda environment: https://github.com/conda-forge/miniforge

  2. Create a Conda environment with Python 3.11 and libuv:

conda create -n cp311_libuv python=3.11 libuv -y
  1. Locate the path to your newly created Conda environment:
conda env list | findstr cp311_libuv
  1. In the WebUI directory, execute the fetch-build-resources script, replacing <path_to_cp311_libuv_conda_env> with the actual path you copied in the previous step:
npm run fetch-build-resrouces -- --conda_env_dir=<path_to_cp311_libuv_conda_env>
  1. Run the prepare-build script:
npm run prepare-build

You should now have a basic Python environment located at build-envs\online\prototype-python-env.

Launch the application

To start the application in development mode, run:

npm run dev

(Optional) Build the installer

To build the installer, run:

npm run build

The installer executable will be located in the release folder.

Model Support

AI Playground supports PyTorch LLM, SD1.5, and SDXL models. AI Playground does not ship with any models but does make models available for all features either directly from the interface or indirectly by the users downloading models from HuggingFace.co or CivitAI.com and placing them in the appropriate model folder.

Models currently linked from the application

Model License Background Information/Model Card
Dreamshaper 8 Model license site
Dreamshaper 8 Inpainting Model license site
JuggernautXL v9 Model license site
Phi3-mini-4k-instruct license site
bge-large-en-v1.5 license site
Latent Consistency Model (LCM) LoRA: SD1.5 license site
Latent Consistency Model (LCM) LoRA:SDXL license site

Be sure to check license terms for any model used in AI Playground especially taking note of any restrictions.

Use Alternative Models

Check the User Guide for details or watch this video on how to add alternative Stable Diffusion models to AI Playground

Notices and Disclaimers:

For information on AI Playground terms, license and disclaimers, visit the project and files on GitHub repo:
License | Notices & Disclaimers

The software may include third party components with separate legal notices or governed by other agreements, as may be described in the Third Party Notices file accompanying the software.

About

AI PC starter app for doing AI image creation, image stylizing, and chatbot on a PC powered by an Intel® Arc™ GPU.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published