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
California Taps AI To Fast-Track Wildfire Recovery PermitsCalifornia Taps AI To Fast-Track Wildfire Recovery PermitsMay 04, 2025 am 11:10 AM

AI Streamlines Wildfire Recovery Permitting Australian tech firm Archistar's AI software, utilizing machine learning and computer vision, automates the assessment of building plans for compliance with local regulations. This pre-validation significan

What The US Can Learn From Estonia's AI-Powered Digital GovernmentWhat The US Can Learn From Estonia's AI-Powered Digital GovernmentMay 04, 2025 am 11:09 AM

Estonia's Digital Government: A Model for the US? The US struggles with bureaucratic inefficiencies, but Estonia offers a compelling alternative. This small nation boasts a nearly 100% digitized, citizen-centric government powered by AI. This isn't

Wedding Planning Via Generative AIWedding Planning Via Generative AIMay 04, 2025 am 11:08 AM

Planning a wedding is a monumental task, often overwhelming even the most organized couples. This article, part of an ongoing Forbes series on AI's impact (see link here), explores how generative AI can revolutionize wedding planning. The Wedding Pl

What Are Digital Defense AI Agents?What Are Digital Defense AI Agents?May 04, 2025 am 11:07 AM

Businesses increasingly leverage AI agents for sales, while governments utilize them for various established tasks. However, consumer advocates highlight the need for individuals to possess their own AI agents as a defense against the often-targeted

A Business Leader's Guide To Generative Engine Optimization (GEO)A Business Leader's Guide To Generative Engine Optimization (GEO)May 03, 2025 am 11:14 AM

Google is leading this shift. Its "AI Overviews" feature already serves more than one billion users, providing complete answers before anyone clicks a link.[^2] Other players are also gaining ground fast. ChatGPT, Microsoft Copilot, and Pe

This Startup Is Using AI Agents To Fight Malicious Ads And Impersonator AccountsThis Startup Is Using AI Agents To Fight Malicious Ads And Impersonator AccountsMay 03, 2025 am 11:13 AM

In 2022, he founded social engineering defense startup Doppel to do just that. And as cybercriminals harness ever more advanced AI models to turbocharge their attacks, Doppel’s AI systems have helped businesses combat them at scale— more quickly and

How World Models Are Radically Reshaping The Future Of Generative AI And LLMsHow World Models Are Radically Reshaping The Future Of Generative AI And LLMsMay 03, 2025 am 11:12 AM

Voila, via interacting with suitable world models, generative AI and LLMs can be substantively boosted. Let’s talk about it. This analysis of an innovative AI breakthrough is part of my ongoing Forbes column coverage on the latest in AI, including

May Day 2050: What Have We Left To Celebrate?May Day 2050: What Have We Left To Celebrate?May 03, 2025 am 11:11 AM

Labor Day 2050. Parks across the nation fill with families enjoying traditional barbecues while nostalgic parades wind through city streets. Yet the celebration now carries a museum-like quality — historical reenactment rather than commemoration of c

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software