You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] BLOCK_SIZE doesn't take effect before quantization #565
I found that the maximum length of these 32 samples after applying 'tokenizer.encode()' is 1195. All samples have been padded to a length of 1195 instead of being truncated to 512.
changed the title [-][BUG] BLOCK_SIZE don't take effect before quantization[/-][+][BUG] BLOCK_SIZE doesn't take effect before quantization[/+]on Dec 5, 2023
Activity
[-][BUG] BLOCK_SIZE don't take effect before quantization[/-][+][BUG] BLOCK_SIZE doesn't take effect before quantization[/+]Hongbosherlock commentedon Dec 5, 2023
llm-awq re-organize the calib data so that every batch has the same sequence length and there's no need for padding.
see here:https://github.com/mit-han-lab/llm-awq/blob/main/awq/utils/calib_data.py
I don't know if it will affect the positional_embedding and further affect the data distribution during calibration.
Tracin commentedon Dec 7, 2023
I do not think this may lead to accuracy problem, but this will consume larger GPU memory. #293 I will make this merged ASAP.
Tracin commentedon Dec 13, 2023
I will close this issue, if you have any further problems I will reopen.