Close Menu
Ztoog
    What's Hot
    Gadgets

    Save $48 on this pen with a hidden camera for a limited time

    Technology

    Peak XV’s Piyush Gupta is leaving firm to start own secondary-focused VC fund

    Mobile

    Honor Magic6 Lite in for review

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

      Can work-life balance tracking improve well-being?

      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

    • Technology

      Elon Musk tries to stick to spaceships

      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

    • 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

      June skygazing: A strawberry moon, the summer solstice… and Asteroid Day!

      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

    • AI

      Fueling seamless AI at scale

      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

    • Crypto

      Bitcoin Maxi Isn’t Buying Hype Around New Crypto Holding Firms

      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

    Ztoog
    Home » HuggingFace Introduces Quanto: A Python Quantization Toolkit to Reduce the Computational and Memory Costs of Evaluating Deep Learning Models
    AI

    HuggingFace Introduces Quanto: A Python Quantization Toolkit to Reduce the Computational and Memory Costs of Evaluating Deep Learning Models

    Facebook Twitter Pinterest WhatsApp
    HuggingFace Introduces Quanto: A Python Quantization Toolkit to Reduce the Computational and Memory Costs of Evaluating Deep Learning Models
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp

    HuggingFace Researchers introduce Quanto to handle the problem of optimizing deep studying fashions for deployment on resource-constrained gadgets, corresponding to cell phones and embedded methods. Instead of utilizing the customary 32-bit floating-point numbers (float32) for representing their weights and activations, the mannequin makes use of low-precision information sorts like 8-bit integers (int8) that scale back the computational and reminiscence prices of evaluating. The downside is essential as a result of deploying massive language fashions (LLMs) on such gadgets requires environment friendly use of computational sources and reminiscence.

    Current strategies for quantizing PyTorch fashions have limitations, together with compatibility points with totally different mannequin configurations and gadgets. HuggingFaces’s Quanto is a Python library designed to simplify the quantization course of for PyTorch fashions. Quanto affords a spread of options past PyTorch’s built-in quantization instruments, together with help for keen mode quantization, deployment on numerous gadgets (together with CUDA and MPS), and automated insertion of quantization and dequantization steps inside the mannequin workflow. It additionally supplies a simplified workflow and automated quantization performance, making the quantization course of extra accessible to customers.

    Quanto streamlines the quantization workflow by offering a easy API for quantizing PyTorch fashions. The library doesn’t strictly differentiate between dynamic and static quantization, permitting fashions to be dynamically quantized by default with the possibility to freeze weights as integer values later. This strategy simplifies the quantization course of for customers and reduces the guide effort required. 

    Quanto additionally automates a number of duties, corresponding to inserting quantization and dequantization stubs, dealing with useful operations, and quantizing particular modules. It helps int8 weights and activations and int2, int4, and float8, offering flexibility in the quantization course of. The incorporation of the Hugging Face transformers library into Quanto makes it potential to do quantization of transformer fashions in a seamless method, which tremendously extends the use of the software program. As a outcome of the preliminary efficiency findings, which reveal promising reductions in mannequin measurement and features in inference velocity, Quanto is a useful software for optimizing deep studying fashions for deployment on gadgets with restricted sources.

    In conclusion, the paper presents Quanto as a flexible PyTorch quantization toolkit that helps with the challenges of making deep studying fashions work greatest on gadgets with restricted sources. Quanto makes it simpler to use and mix quantization strategies by giving you a large number of choices, a better means to do issues, and automated quantization options. Its integration with the Hugging Face Transformers library makes the utilization of the toolkit much more simpler.


    Pragati Jhunjhunwala is a consulting intern at MarktechPost. She is at present pursuing her B.Tech from the Indian Institute of Technology(IIT), Kharagpur. She is a tech fanatic and has a eager curiosity in the scope of software program and information science purposes. She is all the time studying about the developments in several discipline of AI and ML.


    🐝 Join the Fastest Growing AI Research Newsletter Read by Researchers from Google + NVIDIA + Meta + Stanford + MIT + Microsoft and many others…

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp

    Related Posts

    AI

    Fueling seamless AI at scale

    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

    Leave A Reply Cancel Reply

    Follow Us
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    Top Posts
    AI

    Using societal context knowledge to foster the responsible application of AI – Google Research Blog

    Posted by Donald Martin, Jr., Technical Program Manager, Head of Societal Context Understanding Tools and…

    Science

    Fresco depicts ancient Pompeian focaccia

    The doomed metropolis of Pompeii is extra recognized for the huge volcanic eruption and earthquakes…

    Technology

    Automated Mentoring with ChatGPT – O’Reilly

    Ethan and Lilach Mollick’s paper Assigning AI: Seven Approaches for Students with Prompts explores seven…

    Science

    Flu surges in Louisiana as health department barred from promoting flu shots

    The assertion appeared to supply an assurance that different vaccines weren’t topic to the brand…

    Technology

    From the economy to animal welfare, here are 10 good things that happened in 2023

    I’m not going to lie to you: 2023 was an unpleasant 12 months. War rages…

    Our Picks
    The Future

    Microsoft now thirstily injects a poll when you download Google Chrome

    Mobile

    Google Bard privacy concerns prompt company to warn its own employees

    Mobile

    Apple keeps its word, removes Apple Watch Series 9 and Ultra 2 from U.S. online Apple Stores

    Categories
    • AI (1,494)
    • Crypto (1,754)
    • Gadgets (1,805)
    • Mobile (1,851)
    • Science (1,867)
    • Technology (1,803)
    • The Future (1,649)
    Most Popular
    Science

    Could a Cockroach Survive a Fall From Space?

    Science

    T. rex was probably about as intelligent as a crocodile

    Crypto

    Ethereum Price To Reach $5,000, BitMex Founder Predicts

    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.