TensorRT-LLM icon indicating copy to clipboard operation
TensorRT-LLM copied to clipboard

Feature request: Ability to provide your own feature mask in ModelRunner class.

Open noahnisbet opened this issue 1 year ago • 2 comments
trafficstars

https://github.com/NVIDIA/TensorRT-LLM/blob/3d56a445e8ebf888e78be638faf6beec0a78f3c2/tensorrt_llm/runtime/generation.py#L121C1-L129C51

Hi,

I am trying to use a unique feature mask with the ModelRunner class. I am not seeing any functionality to do so. I linked to the logic I am seeing for the creation of attention masks above. Could we add this functionality to the class if it does not exist? I'm happy to help implement it.

Thanks!

noahnisbet avatar Feb 05 '24 14:02 noahnisbet

cc @AdamzNV @ncomly-nvidia @laikhtewari for vis.

hello-11 avatar Nov 15 '24 11:11 hello-11

@ncomly-nvidia any updates on this?

poweiw avatar May 16 '25 20:05 poweiw

@noahnisbet, Apologies for the very delayed response. Is this ticket still relevant to you? If so, could you share more details about the feature you are considering?

karljang avatar Oct 21 '25 16:10 karljang

Issue has not received an update in over 14 days. Adding stale label.

github-actions[bot] avatar Nov 05 '25 03:11 github-actions[bot]

Closing issue as stale, please feel free to open new one if the problem persists.

karljang avatar Nov 14 '25 17:11 karljang