Open EpiSlim opened 2 months ago
@EpiSlim currently mixing torch and TRT ops are not implemented.
Although, it would be possible if you can wrap the torch operations into TRT plugin by using the TRT python plugin interface.
Would you mind to share you model with more context such that this feature can be considered in future planning?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 15 days."
Hi team, I am trying to add a custom model to TRT-LLM. The original model in PyTorch uses
torch.complex
for few tensors, in addition to FFT ops liketorch.fft.fft
,torch.fft.ifft
andtorch.fft.rfft
. From the documentation, it seems that such ops are not directly supported in TRT-LLM. Is there a workaround around this? For example, it is possible to mix TRT-LLM modules with PyTorch modules?