Generate text and images using the CPU
9
stars
4
commits
Python
primary language
Feb 17, 2025
updated
CPU BlazeChat is a fast and efficient CPU-powered chat and image generation system. Using the PhoneLM-1.5B-Instruct model for text generation and a custom diffusion model for image creation, it allows users to interact via text or create images with natural language prompts. The system is designed to be lightweight, operating in near real-time with minimal computational overhead.
PhoneLM-1.5B-Instruct model.@imagine [prompt] command, powered by a lightweight diffusion model.PhoneLM-1.5B-Instruct
PhoneLM-1.5B-Instruct model generates responses based on the input.@imagine [prompt] to generate an image using the diffusion model.Clone the repository and install the dependencies:
git clone https://github.com/SanshruthR/CPU_BlazeChat.git
cd CPU_BlazeChat
pip install -r requirements.txt
Run the script:
python app.py
Access the Gradio interface to start chatting or generate images:
@imagine [prompt] to generate images based on textual descriptions.This project is deployed on Hugging Face Spaces. You can interact with the app via the following link:
This project is licensed under the MIT License.
This repository is designed to be a lightweight diffusion model in PyTorch:
@misc{yi2023mllm,
title = {mllm: fast and lightweight multimodal LLM inference engine for mobile and edge devices},
author = {Rongjie Yi and Xiang Li and Qichen Qiu and Zhenyan Lu and Hao Zhang and Daliang Xu and Liming Yang and Weikai Xie and Chenghua Wang and Mengwei Xu},
year = {2023},
publisher = {mllm Team},
url = {https://github.com/UbiquitousLearning/mllm}
}
@misc{Apapiu Apapiu/transformer_latent_diffusion: Text to image latent diffusion using a transformer core, GitHub.
Available at: https://github.com/apapiu/transformer_latent_diffusion (Accessed: 2025).}
4 commits
Python
100.0%
Generate text and images using the CPU
9
stars
4
commits
Python
primary language
Feb 17, 2025
updated
CPU BlazeChat is a fast and efficient CPU-powered chat and image generation system. Using the PhoneLM-1.5B-Instruct model for text generation and a custom diffusion model for image creation, it allows users to interact via text or create images with natural language prompts. The system is designed to be lightweight, operating in near real-time with minimal computational overhead.
PhoneLM-1.5B-Instruct model.@imagine [prompt] command, powered by a lightweight diffusion model.PhoneLM-1.5B-Instruct
PhoneLM-1.5B-Instruct model generates responses based on the input.@imagine [prompt] to generate an image using the diffusion model.Clone the repository and install the dependencies:
git clone https://github.com/SanshruthR/CPU_BlazeChat.git
cd CPU_BlazeChat
pip install -r requirements.txt
Run the script:
python app.py
Access the Gradio interface to start chatting or generate images:
@imagine [prompt] to generate images based on textual descriptions.This project is deployed on Hugging Face Spaces. You can interact with the app via the following link:
This project is licensed under the MIT License.
This repository is designed to be a lightweight diffusion model in PyTorch:
@misc{yi2023mllm,
title = {mllm: fast and lightweight multimodal LLM inference engine for mobile and edge devices},
author = {Rongjie Yi and Xiang Li and Qichen Qiu and Zhenyan Lu and Hao Zhang and Daliang Xu and Liming Yang and Weikai Xie and Chenghua Wang and Mengwei Xu},
year = {2023},
publisher = {mllm Team},
url = {https://github.com/UbiquitousLearning/mllm}
}
@misc{Apapiu Apapiu/transformer_latent_diffusion: Text to image latent diffusion using a transformer core, GitHub.
Available at: https://github.com/apapiu/transformer_latent_diffusion (Accessed: 2025).}
4 commits
Python
100.0%