search
HomeTechnology peripheralsAITencent Hunyuan releases open source acceleration library, shortening image generation time by 75%

On June 8, Tencent released an acceleration library for the open source large model of Tencent Hunyuan text generation graph (referred to as the Hunyuan DiT model), which greatly improved the inference efficiency and shortened the graph generation time by 75%. .

#The threshold for using the Hunyuan DiT model has also been significantly reduced. Users can use the Tencent Hunyuan Wensheng graph model capabilities based on the graphical interface of ComfyUI. At the same time, the Hunyuan DiT model has been deployed to the Hugging Face Diffusers general model library. Users can call the Hunyuan DiT model with only three lines of code without downloading the original code library.

Previously, Tencent announced that the large-scale Hunyuan text generation model has been fully upgraded and open sourced, and can be used by enterprises and individual developers for free commercial use. This is the industry's first Chinese-native DiT architecture text generation graph open source model, supporting Chinese and English bilingual input and understanding; using the same DiT architecture as Sora, it can not only support text generation, but also be used as a multi-modal visual generation model such as video. Base.

Tencent HunyuanDiTModelOpen SourceAfter It has been recognized by many community developers. In less than one month, the number of Github stars of the project has exceeded 2100, located in The most popular DiT models in the open source community.

Tencent Hunyuan releases open source acceleration library, shortening image generation time by 75%

Hunyuan DiT Github page

In order to improve the developer experience , Tencent Hunyuan officially launched a dedicated acceleration library, which shortened the inference time by 75% and improved the efficiency of large model operation. Developers can download the inference acceleration tool through Hugging Face.

The project team achieved sampling step compression and efficient inference deployment of the DiT model through knowledge distillation and the TensorRT high-performance inference framework. . Distillation mainly refers to reducing the number of iteration steps of the diffusion model to achieve acceleration. The overall structure and parameter amount of the model remain unchanged. Users can reduce the number of iteration steps by 50% by using distillation weights without any additional operations and equipment requirements, and the time consumption can be halved. The TensorRT inference acceleration solution can further reduce time consumption through engineering optimization and is decoupled from model weights. Using both simultaneously for inference deployment can reduce inference time by 75%.

Users can directly use ComfyUI’s graphical interface to leverage the community’s collective efforts based on its latest news. At the same time, through cooperation with the Hugging Face team, the hybrid DiT model has been deployed to the Hugging Face official model library Diffusers, and the use and generation code of the model library have been re-adjusted. Users can directly call the hybrid DiT model through this channel, which greatly simplifies The cost of user use.

ComfyUI is a WebUI interface design in the field of Vincentian graphs. It modularizes and graphicalizes the diffusion algorithm in the field of Vincentian graphs, improves the generation efficiency and resource utilization, and also significantly reduces The threshold for developers to use it has been raised. Users can use the Hunyuan DiT Wensheng graph model through the graphical workflow to achieve the same effect as the official model.

Tencent Hunyuan releases open source acceleration library, shortening image generation time by 75%

ComfyUI usage interface of Hunyuan DiT Wensheng graph model

In addition, the usage ecology around ComfyUI , and also spawned a strong open source community. Hunyuan DiT's support for ComfyUI also allows community members to experience the Wensheng diagram model based on the latest DiT architecture.

As a well-known AI open source community, Hugging Face's Diffusers is a universal library that currently calls various mainstream large-scale Vincentian graph models, and has become the community standard for the use of large-scale Vincentian graph models today.

Adapting the Hugging DiT model into Hugging Face Diffusers can greatly improve the model's ease of use and user base. Users do not need to download and deploy the original code library to their own environment. Developers who have installed the Diffusers library only need to run a few lines of code to call the Hunyuan DiT model, which is very convenient to configure and call. At the same time, Hugging Face and Tencent Hunyuan team jointly optimized the algorithm framework to speed up image generation.

This is also equivalent to providing underlying support for all subsequent uses and developments based on Hunyuan DiT, covering any scenario where Hunyuan DiT needs to be called, including the above-mentioned ComfyUI method . At the same time, for developers, previously configured workflows and plug-ins based on Diffusers can be directly used in Hunyuan DiT with a small amount of modifications.

Lu Qinglin, head of Tencent Wenshengtu, said: "Tencent's Hunyuan Wenshengtu model has received support and feedback from many developers after it was open sourced. We are very happy and are also working on development We will use the feedback from developers to work with the community to improve and optimize the open source ecosystem based on Hunyuan DiT, so that more developers can more conveniently enjoy the latest research results. We also welcome everyone to join us in building the next generation of visual generation open source ecosystem and promote the development of the world. The model industry is accelerating its development.”

Attached is the Tencent Hunyuan Wenshengtu open source large model (Hunyuan DiT model) project link

Official website: https://www.php.cn/link/35817bda28b111aa49bd8fdf61878246

##Code: https://www.php.cn/link/bb4b90201e39e55c4a9ccfec8436cfb8

##Model:

https://www.php.cn/link/5dacab03c06f42f75c3f21a2c9f98997

Paper:

https://www.php.cn/link/a0b173044f2019316bebc411696e7d35


##

The above is the detailed content of Tencent Hunyuan releases open source acceleration library, shortening image generation time by 75%. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
I Tried Vibe Coding with Cursor AI and It's Amazing!I Tried Vibe Coding with Cursor AI and It's Amazing!Mar 20, 2025 pm 03:34 PM

Vibe coding is reshaping the world of software development by letting us create applications using natural language instead of endless lines of code. Inspired by visionaries like Andrej Karpathy, this innovative approach lets dev

Replit Agent: A Guide With Practical ExamplesReplit Agent: A Guide With Practical ExamplesMar 04, 2025 am 10:52 AM

Revolutionizing App Development: A Deep Dive into Replit Agent Tired of wrestling with complex development environments and obscure configuration files? Replit Agent aims to simplify the process of transforming ideas into functional apps. This AI-p

Top 5 GenAI Launches of February 2025: GPT-4.5, Grok-3 & More!Top 5 GenAI Launches of February 2025: GPT-4.5, Grok-3 & More!Mar 22, 2025 am 10:58 AM

February 2025 has been yet another game-changing month for generative AI, bringing us some of the most anticipated model upgrades and groundbreaking new features. From xAI’s Grok 3 and Anthropic’s Claude 3.7 Sonnet, to OpenAI’s G

How to Use YOLO v12 for Object Detection?How to Use YOLO v12 for Object Detection?Mar 22, 2025 am 11:07 AM

YOLO (You Only Look Once) has been a leading real-time object detection framework, with each iteration improving upon the previous versions. The latest version YOLO v12 introduces advancements that significantly enhance accuracy

How to Use DALL-E 3: Tips, Examples, and FeaturesHow to Use DALL-E 3: Tips, Examples, and FeaturesMar 09, 2025 pm 01:00 PM

DALL-E 3: A Generative AI Image Creation Tool Generative AI is revolutionizing content creation, and DALL-E 3, OpenAI's latest image generation model, is at the forefront. Released in October 2023, it builds upon its predecessors, DALL-E and DALL-E 2

Elon Musk & Sam Altman Clash over $500 Billion Stargate ProjectElon Musk & Sam Altman Clash over $500 Billion Stargate ProjectMar 08, 2025 am 11:15 AM

The $500 billion Stargate AI project, backed by tech giants like OpenAI, SoftBank, Oracle, and Nvidia, and supported by the U.S. government, aims to solidify American AI leadership. This ambitious undertaking promises a future shaped by AI advanceme

5 Grok 3 Prompts that Can Make Your Work Easy5 Grok 3 Prompts that Can Make Your Work EasyMar 04, 2025 am 10:54 AM

Grok 3 – Elon Musk and xAi’s latest AI model is the talk of the town these days. From Andrej Karpathy to tech influencers, everyone is talking about the capabilities of this new model. Initially, access was limited to

Google's GenCast: Weather Forecasting With GenCast Mini DemoGoogle's GenCast: Weather Forecasting With GenCast Mini DemoMar 16, 2025 pm 01:46 PM

Google DeepMind's GenCast: A Revolutionary AI for Weather Forecasting Weather forecasting has undergone a dramatic transformation, moving from rudimentary observations to sophisticated AI-powered predictions. Google DeepMind's GenCast, a groundbreak

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool