Close Menu
Ztoog
    What's Hot
    Science

    What does it take to get AI to work like a scientist?

    Gadgets

    The best 3D printers for miniatures in 2023

    Mobile

    Best Buy is now selling Samsung’s mighty Galaxy S22 Ultra at colossal discounts with activation

    Important Pages:
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    Facebook X (Twitter) Instagram Pinterest
    Facebook X (Twitter) Instagram Pinterest
    Ztoog
    • Home
    • The Future

      Any wall can be turned into a camera to see around corners

      JD Vance and President Trump’s Sons Hype Bitcoin at Las Vegas Conference

      AI may already be shrinking entry-level jobs in tech, new research suggests

      Today’s NYT Strands Hints, Answer and Help for May 26 #449

      LiberNovo Omni: The World’s First Dynamic Ergonomic Chair

    • Technology

      A Replit employee details a critical security flaw in web apps created using AI-powered app builder Lovable that exposes API keys and personal info of app users (Reed Albergotti/Semafor)

      Gemini in Google Drive can now help you skip watching that painfully long Zoom meeting

      Apple iPhone exports from China to the US fall 76% as India output surges

      Today’s NYT Wordle Hints, Answer and Help for May 26, #1437

      5 Skills Kids (and Adults) Need in an AI World – O’Reilly

    • Gadgets

      Future-proof your career by mastering AI skills for just $20

      8 Best Vegan Meal Delivery Services and Kits (2025), Tested and Reviewed

      Google Home is getting deeper Gemini integration and a new widget

      Google Announces AI Ultra Subscription Plan With Premium Features

      Google shows off Android XR-based glasses, announces Warby Parker team-up

    • Mobile

      Deals: the Galaxy S25 series comes with a free tablet, Google Pixels heavily discounted

      Microsoft is done being subtle – this new tool screams “upgrade now”

      Wallpaper Wednesday: Android wallpapers 2025-05-28

      Google can make smart glasses accessible with Warby Parker, Gentle Monster deals

      vivo T4 Ultra specs leak

    • Science

      Analysts Say Trump Trade Wars Would Harm the Entire US Energy Sector, From Oil to Solar

      Do we have free will? Quantum experiments may soon reveal the answer

      Was Planet Nine exiled from the solar system as a baby?

      How farmers can help rescue water-loving birds

      A trip to the farm where loofahs grow on vines

    • AI

      Rationale engineering generates a compact new tool for gene therapy | Ztoog

      The AI Hype Index: College students are hooked on ChatGPT

      Learning how to predict rare kinds of failures | Ztoog

      Anthropic’s new hybrid AI model can work on tasks autonomously for hours at a time

      AI learns how vision and sound are connected, without human intervention | Ztoog

    • Crypto

      GameStop bought $500 million of bitcoin

      CoinW Teams Up with Superteam Europe to Conclude Solana Hackathon and Accelerate Web3 Innovation in Europe

      Ethereum Net Flows Turn Negative As Bulls Push For $3,500

      Bitcoin’s Power Compared To Nuclear Reactor By Brazilian Business Leader

      Senate advances GENIUS Act after cloture vote passes

    Ztoog
    Home » Meet AutoGPTQ: An Easy-to-Use LLMs Quantization Package with User-Friendly APIs based on GPTQ Algorithm
    AI

    Meet AutoGPTQ: An Easy-to-Use LLMs Quantization Package with User-Friendly APIs based on GPTQ Algorithm

    Facebook Twitter Pinterest WhatsApp
    Meet AutoGPTQ: An Easy-to-Use LLMs Quantization Package with User-Friendly APIs based on GPTQ Algorithm
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp

    Researchers from Hugging Face have launched an progressive answer to deal with the challenges posed by the resource-intensive calls for of coaching and deploying massive language fashions (LLMs). Their newly built-in AutoGPTQ library within the Transformers ecosystem permits customers to quantize and run LLMs utilizing the GPTQ algorithm.

    In pure language processing, LLMs have reworked varied domains by their potential to grasp and generate human-like textual content. However, the computational necessities for coaching and deploying these fashions have posed important obstacles. To sort out this, the researchers built-in the GPTQ algorithm, a quantization approach, into the AutoGPTQ library. This development permits customers to execute fashions in diminished bit precision – 8, 4, 3, and even 2 bits – whereas sustaining negligible accuracy degradation and comparable inference pace to fp16 baselines, particularly for small batch sizes.

    GPTQ, categorized as a Post-Training Quantization (PTQ) methodology, optimizes the trade-off between reminiscence effectivity and computational pace. It adopts a hybrid quantization scheme the place mannequin weights are quantized as int4, whereas activations are retained in float16. Weights are dynamically dequantized throughout inference, and precise computation is carried out in float16. This method brings reminiscence financial savings attributable to fused kernel-based dequantization and potential speedups by diminished knowledge communication time.

    The researchers tackled the problem of layer-wise compression in GPTQ by leveraging the Optimal Brain Quantization (OBQ) framework. They developed optimizations that streamline the quantization algorithm whereas sustaining mannequin accuracy. Compared to conventional PTQ strategies, GPTQ demonstrated spectacular enhancements in quantization effectivity, lowering the time required for quantizing massive fashions.

    Integration with the AutoGPTQ library simplifies the quantization course of, permitting customers to leverage GPTQ for varied transformer architectures simply. With native help within the Transformers library, customers can quantize fashions with out complicated setups. Notably, quantized fashions retain their serializability and shareability on platforms just like the Hugging Face Hub, opening avenues for broader entry and collaboration.

    The integration additionally extends to the Text-Generation-Inference library (TGI), enabling GPTQ fashions to be deployed effectively in manufacturing environments. Users can harness dynamic batching and different superior options alongside GPTQ for optimum useful resource utilization.

    While the AutoGPTQ integration presents important advantages, the researchers acknowledge room for additional enchancment. They spotlight the potential for enhancing kernel implementations and exploring quantization methods encompassing weights and activations. The integration presently focuses on decoder or encoder-only architectures in LLMs, limiting its applicability to sure fashions.

    In conclusion, integrating the AutoGPTQ library in Transformers by Hugging Face addresses resource-intensive LLM coaching and deployment challenges. By introducing GPTQ quantization, the researchers provide an environment friendly answer that optimizes reminiscence consumption and inference pace. The integration’s large protection and user-friendly interface signify a step towards democratizing entry to quantized LLMs throughout totally different GPU architectures. As this subject continues to evolve, the collaborative efforts of researchers within the machine-learning group maintain promise for additional developments and improvements.


    Check out the Paper, Github and Reference Article. All Credit For This Research Goes To the Researchers on This Project. Also, don’t neglect to hitch our 29k+ ML SubReddit, 40k+ Facebook Community, Discord Channel, and Email Newsletter, the place we share the most recent AI analysis information, cool AI tasks, and extra.

    LLMs simply received quicker and lighter with 🤗 Transformers x AutoGPTQ !

    You can now load your fashions from @huggingface with GPTQ quantization. Enjoy quicker inference pace and decrease reminiscence utilization than present supported quantization schemes 🚀

    Blogpost: https://t.co/vizRr9Ssxa

    — Marc Sun (@_marcsun) August 23, 2023


    Niharika is a Technical consulting intern at Marktechpost. She is a 3rd 12 months undergraduate, presently pursuing her B.Tech from Indian Institute of Technology(IIT), Kharagpur. She is a extremely enthusiastic particular person with a eager curiosity in Machine studying, Data science and AI and an avid reader of the most recent developments in these fields.


    🚀 CodiumAI permits busy builders to generate significant assessments (Sponsored)

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp

    Related Posts

    AI

    Rationale engineering generates a compact new tool for gene therapy | Ztoog

    AI

    The AI Hype Index: College students are hooked on ChatGPT

    AI

    Learning how to predict rare kinds of failures | Ztoog

    AI

    Anthropic’s new hybrid AI model can work on tasks autonomously for hours at a time

    AI

    AI learns how vision and sound are connected, without human intervention | Ztoog

    AI

    How AI is introducing errors into courtrooms

    AI

    With AI, researchers predict the location of virtually any protein within a human cell | Ztoog

    AI

    Google DeepMind’s new AI agent cracks real-world problems better than humans can

    Leave A Reply Cancel Reply

    Follow Us
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    Top Posts
    The Future

    Grok AI chatbot being rolled out for X premium users this week

    Elon Musk’s AI chatbot, Grok, is about to be rolled out to all premium X…

    Science

    The First Crispr Medicine Just Got Approved

    In sickle cell illness, irregular hemoglobin makes an individual’s blood cells exhausting and crescent-shaped. These…

    AI

    Ecologists find computer vision models’ blind spots in retrieving wildlife images | Ztoog

    Try taking an image of every of North America’s roughly 11,000 tree species, and also you’ll…

    AI

    An OpenAI spinoff has built an AI model that helps robots learn tasks like humans

    The new model, known as RFM-1, was skilled on years of knowledge collected from Covariant’s…

    Mobile

    Deals: Galaxy S24 also drops in price, Best Buy has iPad deals this weekend

    Last week we checked out provides on unlocked Galaxy S24 flagships – the S24+ began…

    Our Picks
    AI

    Google AI Research Propose a General Approach for Personalized Text Generation Using Large Language Models (LLMs)

    Mobile

    Samsung Galaxy Watch6 and Watch6 Classic appear in colorful renders

    Science

    Neanderthal adhesives were made through a complex synthesis process

    Categories
    • AI (1,493)
    • Crypto (1,753)
    • Gadgets (1,805)
    • Mobile (1,851)
    • Science (1,866)
    • Technology (1,802)
    • The Future (1,648)
    Most Popular
    Mobile

    Motorola’s latest budget Android phones make their European debut

    Science

    FDA cracks down on bogus anti-viral products from Amazon, Walmart

    Mobile

    “This is CNN”-in Dark Mode for both iOS and Android devices

    Ztoog
    Facebook X (Twitter) Instagram Pinterest
    • Home
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    © 2025 Ztoog.

    Type above and press Enter to search. Press Esc to cancel.