* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Friday, February 6, 2026
Earth-News
  • Home
  • Business
  • Entertainment

    This Week’s Must-See Highlights: February 5 Edition

    Start Your Engines: Registrations Now Open for the Grass Valley Car Show!

    Swamp People’ Star Troy Landry Calls for Backup After Trouble with Pickle

    3 Exciting Things to Do This Weekend You Can’t Miss!

    MLB All-Stars and Entertainment Icons Ready to Light Up the 2026 ANNEXUS Pro-Am

    3 Cincinnati Natives Who Took Center Stage at the 2026 Grammy Awards

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology

    Cal Poly Partners Opens New Building in Technology Park – Cal Poly

    Milestone Systems Appoints New Chief Technology Officer to Drive Innovation Forward

    Why Align Technology Shares Soared Over 10% Today – Plus 20 Other Stocks Making Big Premarket Moves

    Interpoma 2026: Application Technology Takes Center Stage at the 14th Edition

    Tallwire Launches Early Access, Unveiling a Reader-Centered Technology News Platform

    Helient Technologies, LLC partners with AVANT Communications to advance Microsoft Cloud and Hybrid Technology across the channel ecosystem – PR Newswire

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment

    This Week’s Must-See Highlights: February 5 Edition

    Start Your Engines: Registrations Now Open for the Grass Valley Car Show!

    Swamp People’ Star Troy Landry Calls for Backup After Trouble with Pickle

    3 Exciting Things to Do This Weekend You Can’t Miss!

    MLB All-Stars and Entertainment Icons Ready to Light Up the 2026 ANNEXUS Pro-Am

    3 Cincinnati Natives Who Took Center Stage at the 2026 Grammy Awards

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology

    Cal Poly Partners Opens New Building in Technology Park – Cal Poly

    Milestone Systems Appoints New Chief Technology Officer to Drive Innovation Forward

    Why Align Technology Shares Soared Over 10% Today – Plus 20 Other Stocks Making Big Premarket Moves

    Interpoma 2026: Application Technology Takes Center Stage at the 14th Edition

    Tallwire Launches Early Access, Unveiling a Reader-Centered Technology News Platform

    Helient Technologies, LLC partners with AVANT Communications to advance Microsoft Cloud and Hybrid Technology across the channel ecosystem – PR Newswire

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
Earth-News
No Result
View All Result
Home Technology

QUIK is a method for quantizing LLM post-training weights to 4 bit precision

November 6, 2023
in Technology
QUIK is a method for quantizing LLM post-training weights to 4 bit precision
Share on FacebookShare on Twitter

This repository contains the code for QUIK, a method for quantizing the majority of the weights and activations to 4bit post-training.

QUIK is described in the following paper:
https://arxiv.org/abs/2310.09259

Install

Dependencies

cmake
C++ compiler (GCC/clang/…)
nvcc

Instructions

git clone [email protected]:IST-DASLab/QUIK.git
cd QUIK
pip install -e . # or pip install .

Example

LLama example

cd experiments
pip install -r requirements.txt
python llama.py –fp_features_num 256 –model meta-llama/Llama-2-7b-hf –hf_token –dataset c4
–w_bits 4 –w_clip –a_bits 4 –save_qmodel_path save_gptq_model_path –int8_down_proj –sim_eval –benchmark

Benchmark will be run on all available GPUs.

Linear layer benchmarks

Linear layer benchmarks can be run with python layer_benchmark.py. One can vary input size with command line parameters.

Model adapt to QUIK

First, one has to quantize the model weights using GPTQ algorithm. In llama.py it is done with llama_sequential function.
From that we get quantized weights (that are still stored in torch.float16).
Then ones needs create QUIK Linear layers using qlinear.MixedQLinear.from_float that must replace original Linear layers. See llama_replace_with_kernels in llama.py.
Now the quantized model is ready for use.

Fake Quantization examples

To run the fake quantization example, check fake_quant directory.

Citation

The full paper is available on arxiv. The full citation is

@article{QUIK,
title={QUIK: Towards End-to-end 4-Bit Inference on Generative Large Language Models},
author={Ashkboos, Saleh and Markov, Ilia and Frantar, Elias and Zhong, Tingxuan and Wang, Xincheng and Ren, Jie and Hoefler, Torsten and Alistarh, Dan},
journal={arXiv preprint arXiv:2310.09259},
year={2023}
}

>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : Hacker News – https://github.com/IST-DASLab/QUIK

Tags: methodquantizingtechnology
Previous Post

Parkinson’s patient able to walk 6km without problems after spinal implant

Next Post

English Wikipedia drove out fringe editors over two decades

Representative Alexandria Ocasio-Cortez of New York is taking a larger role in Democratic politics, supporting moderate candidates and helping drive the party’s economic message. Her heightened prominence comes as insiders begin to whisper more loudly – F

February 6, 2026

Why the Chagos Islands’ ecology will not be wrecked by return to Mauritius | Letters – The Guardian

February 6, 2026

‘I loved thinking about how to make science possible for America and for the world’ – SpaceNews

February 6, 2026

Unlocking the Secrets of the Winter Olympics: How Innovation Drives Peak Performance

February 6, 2026

Cousins Properties Acquires Lifestyle Office Property In Uptown Charlotte – tradingview.com

February 6, 2026

Cal Poly Partners Opens New Building in Technology Park – Cal Poly

February 6, 2026

3 former Arizona Wildcats named to World Baseball Classic rosters – Yahoo Sports

February 6, 2026

Inside the World Baseball Classic: Your Ultimate Guide to the Top Prospects

February 6, 2026

Financial services growth restrains global economy in January – S&P Global

February 6, 2026

This Week’s Must-See Highlights: February 5 Edition

February 6, 2026

Categories

Archives

February 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
232425262728  
« Jan    
Earth-News.info

The Earth News is an independent English-language daily published Website from all around the World News

Browse by Category

  • Business (20,132)
  • Ecology (1,060)
  • Economy (1,076)
  • Entertainment (21,954)
  • General (19,754)
  • Health (10,118)
  • Lifestyle (1,092)
  • News (22,149)
  • People (1,086)
  • Politics (1,094)
  • Science (16,293)
  • Sports (21,579)
  • Technology (16,060)
  • World (1,067)

Recent News

Representative Alexandria Ocasio-Cortez of New York is taking a larger role in Democratic politics, supporting moderate candidates and helping drive the party’s economic message. Her heightened prominence comes as insiders begin to whisper more loudly – F

February 6, 2026

Why the Chagos Islands’ ecology will not be wrecked by return to Mauritius | Letters – The Guardian

February 6, 2026
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

Go to mobile version