foricee

Results issues of foricee

Thank you for your excellent work and detailed document!I think there's a small typo in the document. According to NVIDIA's doc, **below** should be **above**. https://github.com/wangsiping97/FastGEMV/blob/main/method_and_result.md > The ```__shfl_down_sync(mask, var,...

In this blog https://pytorch.org/blog/flash-decoding/ What dose the MP mean in the picture title? ![image](https://github.com/Dao-AILab/flash-attention/assets/1073188/d92b65e5-e272-4ade-8fcb-1fb7fffb7e69)

Attention class: https://github.com/NVIDIA/TensorRT-LLM/blob/release/0.5.0/tensorrt_llm/layers/attention.py#L322 ```python context, past_key_value = gpt_attention( tensor=qkv, past_key_value=past_key_value, ... max_distance=self.max_distance, host_context_lengths=attention_params.host_context_lengths, ) ``` In the Attention class above, when the forward function calls gpt_attention(), the last parameter qkv_bias...

model: https://huggingface.co/TheBloke/Llama-2-70B-Chat-GPTQ/tree/gptq-4bit-128g-actorder_True GPU: A100 80G build cmd: ```bash CUDA_VISIBLE_DEVICES=0 python build.py --model_dir /model_files/Llama-2-70B-Chat-GPTQ-4bit-128g/ \ --quant_ckpt_path /model_files/Llama-2-70B-Chat-GPTQ-4bit-128g/model.safetensors \ --dtype float16 \ --max_batch_size 4 \ --max_num_tokens 4096 \ --max_input_len 4096 \ --max_output_len...

https://github.com/NVIDIA/TensorRT-LLM/blob/v0.7.0/cpp/tensorrt_llm/plugins/gemmPlugin/gemmPlugin.cpp#L59 The params order of runGemm() is ```const void* act, const void* weight```. ```c void runGemm(const int M, const int N, const int K, const bool transA, const bool transB,...

Since TRT-LLM doesn't support groupwise weightOnlyGemm on V100, due to some PTX commands requiring SM>=75 or higher, such as ```cp.async``` ```ldmatrix```, my question is, is it possible to accelerate weightOnlyGemm...

question

运行这个命令加载模型 ```bash python -m lmdeploy.turbomind.chat ./workspace ``` 显存占用会快速到15G,15G应该是模型的正常大小 ![image](https://github.com/InternLM/lmdeploy/assets/1073188/690ef440-f65a-4cb5-ab17-cfd7fbdb9203) 保持15G几秒钟后突然跳到19G,多的几G是什么预申请的cache吗?可以关掉吗 ![image](https://github.com/InternLM/lmdeploy/assets/1073188/b784abe8-d4e0-4c1b-8566-0e04a6d0798e)

Model: https://huggingface.co/Qwen/Qwen1.5-14B-Chat-GPTQ-Int4 ```bash cd ipex-llm/python/llm/example/CPU/HF-Transformers-AutoModels/Advanced-Quantizations/GPTQ python ./generate.py --repo-id-or-model-path /root/project/model_files/Qwen1.5-14B-Chat-GPTQ-Int4 --prompt 'hi' --n-predict 40 ``` ``` 2024-06-24 15:55:40,675 - INFO - PyTorch version 2.3.0+cpu available. 2024-06-24 15:55:41,126 - WARNING - CUDA...

user issue