Close Menu
Ztoog
    What's Hot
    Science

    Reindeer can see UV light—and we may know why

    Gadgets

    The End Of An Era: Users Can’t Upgrade To Windows 10 Or 11 For Free Anymore

    The Future

    Sam Altman backs teens’ startup, Google unveils the Pixel 8 and TikTok tests an ad-free tier

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

      Today’s NYT Connections Hints, Answers for May 12, #701

      OPPO launches A5 Pro 5G: Premium features at a budget price

      How I Turn Unstructured PDFs into Revenue-Ready Spreadsheets

      Is it the best tool for 2025?

      The clocks that helped define time from London’s Royal Observatory

    • Technology

      Today’s NYT Wordle Hints, Answer and Help for May 12, #1423

      What It Is and Why It Matters—Part 1 – O’Reilly

      Ensure Hard Work Is Recognized With These 3 Steps

      Cicada map 2025: Where will Brood XIV cicadas emerge this spring?

      Is Duolingo the face of an AI jobs crisis?

    • Gadgets

      Google Tests Automatic Password-to-Passkey Conversion On Android

      Maono Caster G1 Neo & PD200X Review: Budget Streaming Gear for Aspiring Creators

      Apple plans to split iPhone 18 launch into two phases in 2026

      Upgrade your desk to Starfleet status with this $95 USB-C hub

      37 Best Graduation Gift Ideas (2025): For College Grads

    • Mobile

      Motorola’s Moto Watch needs to start living up to the brand name

      Samsung Galaxy S25 Edge promo materials leak

      What are people doing with those free T-Mobile lines? Way more than you’d expect

      Samsung doesn’t want budget Galaxy phones to use exclusive AI features

      COROS’s charging adapter is a neat solution to the smartwatch charging cable problem

    • Science

      Nothing is stronger than quantum connections – and now we know why

      Failed Soviet probe will soon crash to Earth – and we don’t know where

      Trump administration cuts off all future federal funding to Harvard

      Does kissing spread gluten? New research offers a clue.

      Why Balcony Solar Panels Haven’t Taken Off in the US

    • AI

      Hybrid AI model crafts smooth, high-quality videos in seconds | Ztoog

      How to build a better AI benchmark

      Q&A: A roadmap for revolutionizing health care through data-driven innovation | Ztoog

      This data set helps researchers spot harmful stereotypes in LLMs

      Making AI models more trustworthy for high-stakes settings | Ztoog

    • Crypto

      Ethereum Breaks Key Resistance In One Massive Move – Higher High Confirms Momentum

      ‘The Big Short’ Coming For Bitcoin? Why BTC Will Clear $110,000

      Bitcoin Holds Above $95K Despite Weak Blockchain Activity — Analytics Firm Explains Why

      eToro eyes US IPO launch as early as next week amid easing concerns over Trump’s tariffs

      Cardano ‘Looks Dope,’ Analyst Predicts Big Move Soon

    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

    Hybrid AI model crafts smooth, high-quality videos in seconds | Ztoog

    AI

    How to build a better AI benchmark

    AI

    Q&A: A roadmap for revolutionizing health care through data-driven innovation | Ztoog

    AI

    This data set helps researchers spot harmful stereotypes in LLMs

    AI

    Making AI models more trustworthy for high-stakes settings | Ztoog

    AI

    The AI Hype Index: AI agent cyberattacks, racing robots, and musical models

    AI

    Novel method detects microbial contamination in cell cultures | Ztoog

    AI

    Seeing AI as a collaborator, not a creator

    Leave A Reply Cancel Reply

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

    What happens when you connect AI and cameras to an Etch-a-Sketch? These robot-builders found out

    When you come throughout a kind of web moments that makes you smile it’s a…

    Crypto

    Aave Companies rebrands to Avara and acquires crypto wallet Family to expand its web3 reach

    Web3-focused software program know-how firm Aave Companies is rebranding to Avara, its founder Stani Kulechov…

    Technology

    Analysis: in May and June 2023, 141 major brands ran ads, mostly via Google Ads, across 55 low-quality sites with AI-generated articles, some posting ~1,200/day (NewsGuard)

    NewsGuard: Analysis: in May and June 2023, 141 major brands ran adverts, mostly via Google…

    Gadgets

    The best folding electric bikes for 2024

    We might earn income from the merchandise obtainable on this web page and take part…

    Technology

    Should you buy a Google Pixel 8 or wait for the Pixel 8a?

    The Google Pixel 8 was formally introduced earlier this month. The Pixel 8 contains a…

    Our Picks
    Science

    The Physics of ‘Sniping’ for Gold

    Gadgets

    Detachable Lenovo laptop is two separate computers, runs Windows and Android

    Crypto

    What The Drop In Spot And Derivatives Volumes Means For The Price Of Bitcoin

    Categories
    • AI (1,483)
    • Crypto (1,745)
    • Gadgets (1,797)
    • Mobile (1,840)
    • Science (1,854)
    • Technology (1,791)
    • The Future (1,637)
    Most Popular
    Gadgets

    Tackle home cleaning effortlessly with this self-cleaning 2-in-1 vacuum, priced at $99.99

    The Future

    Rapid Application Development and the Rise of No-Code Heroes

    Technology

    South Korea plans to start a digital currency pilot in Q4 2024; 100K people will be able to use deposit tokens issued by commercial banks in the form of CBDC (Lee Yeon-Woo/The Korea Times)

    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.