Close Menu
Ztoog
    What's Hot
    AI

    Conversational AI revolutionizes the customer experience landscape

    Technology

    Radar Trends to Watch: March 2024 – O’Reilly

    Science

    What would a wormhole look like if we ever found one?

    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 » 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

    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
    Gadgets

    Reddit welcomes NSFW desktop image uploads ahead of Imgur’s ban 

    If you’ve got been apprehensive about how you are going to add express photographs out…

    Gadgets

    10 Best Early Amazon Prime Day Deals: Pixel Phones, Apple Watches, and More

    Ever since 2015, Amazon has held no less than one Prime Day per 12 months.…

    The Future

    How This Vertical Farm Makes Produce That’s ‘Beyond Organic’ Without a Field

    Watch this: Inside a New Vertical Farm Full of Robots 04:37 We obtained a tour…

    Gadgets

    AMD promises big upscaling improvements and a future-proof API in FSR 3.1

    AMD Last summer season, AMD debuted the most recent model of its FidelityFX Super Resolution…

    Gadgets

    Save hundreds on flights with this lifetime travel bundle, now only $59.97

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

    Our Picks
    Mobile

    Samsung Galaxy Z Fold6 will have a wider cover screen, squared off corners

    Science

    Hubble tension: Have we been measuring the expansion of the universe wrong?

    The Future

    Armies of bots battled on Twitter over Chinese spy balloon incident

    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
    The Future

    How to cancel your Hubstaff subscription (+ an alternative)

    Science

    Pancake-like comets may be made by whirling clouds of pebbles

    Technology

    The US-Iran prisoner swap is far from a done deal.

    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.