Run Tencent's Massive Hy4-flash on Your RTX 3090
This guide shows you how to run the incredibly powerful Hy4-flash model (220B parameters) on a single or multiple NVIDIA RTX 3090 GPUs. We'll walk through installation, setup, and troubleshooting so you can experience state-of-the-art AI capabilities.

What is Hy4-flash?
Hy4-flash is a massive 220 billion parameter language model developed by Tencent. It boasts an impressive 262,144 token context window and supports both text and image inputs, making it ideal for complex tasks like creative writing, code generation, and visual understanding.
This repository provides pre-quantized GGUF versions of Hy4-flash optimized for consumer GPUs. GGUF is a file format designed to efficiently load large language models, allowing you to run powerful AI on hardware that might otherwise struggle.
Who is it for?
- AI enthusiasts and hobbyists
- Developers experimenting with large language models
- Researchers exploring image-text-to-text capabilities
- Users who want to run a powerful AI model locally without relying on cloud services
Minimum requirements
- Operating System: Windows, Linux, or macOS
- GPU: NVIDIA RTX 3090 (or equivalent) with at least 24 GB VRAM. Performance scales with multiple GPUs.
- VRAM: Minimum 24 GB, more is recommended for larger models and faster performance. A single card can run the model with Engram on NVMe storage.
- RAM: Estimated 32 GB or higher. The exact amount depends on the quantization level and context length.
- Free Disk Space: Approximately 150-265 GB, depending on the chosen GGUF variant (Q3_K or IQ2).
- Required Software:
- Python 3.8+
- Git
- CUDA Toolkit (if using NVIDIA GPU)
Installation, step by step
Before you begin, ensure you have Git and Python installed. You'll also need a terminal or command prompt to execute commands.
- Open your terminal or command prompt.
- Install Git: If you don’t have it already, download and install from https://git-scm.com/downloads.
- Install Python: Download the latest version of Python 3 from https://www.python.org/downloads/. Make sure to check the box that adds Python to your PATH during installation.
- Clone the repository: Type git clone -b hy4-flash https://github.com/alesha-pro/project-maya and press Enter. This downloads the project files.
- Navigate to the project directory: Type cd project-maya and press Enter.
Next, build the project using CMake:
- Type cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=86 -DSTRATA_BUILD_TESTS=OFF and press Enter. This configures the project for CUDA support.
- Type cmake --build build -j 24 --target maya-hy4f and press Enter. This compiles the necessary files.
Finally, start the server:
- Edit the paths in the config file to point to your downloaded GGUF files.
- Type python -m serve.server --engine maya --config configs/hy4f-2gpu.json --host 127.0.0.1 --port 18000 and press Enter. This starts the server on port 18000.
(Linux/macOS Note: The commands are generally the same, but you might need to adjust file paths accordingly.)
Your first run
Open a web browser and go to http://127.0.0.1:18000/v1. You should see the OpenAI chat API interface, ready for you to start interacting with Hy4-flash.
Common problems
- Out of Memory (OOM): Reduce the context length or use a lower quantization level (e.g., Q3_K instead of IQ2). Ensure you have enough VRAM available.
- Missing CUDA: Verify that your NVIDIA drivers and CUDA Toolkit are correctly installed and configured. Ensure STRATA_ENABLE_CUDA=ON is set in the CMake command.
- Incorrect Python Version: Make sure you're using Python 3.8 or higher. Check your Python version with python --version.
- File Not Found Errors: Double-check that all necessary GGUF files are present and correctly specified in the configuration file.
Links
You can find the complete repository on GitHub: https://github.com/alesha-pro/project-maya. The Hy4-flash Uncensored GGUF models are available on Hugging Face: https://huggingface.co/alesha-pro/Hy4-flash-Uncensored-GGUF.



