Add TensorRT-LLM connector for Langchain #92
Annotations
10 errors
Analysing the code with our lint:
libs/trt/langchain_nvidia_trt/__init__.py#L1
langchain_nvidia_trt/__init__.py:1:1: I001 Import block is un-sorted or un-formatted
|
Analysing the code with our lint:
libs/trt/langchain_nvidia_trt/llms.py#L1
langchain_nvidia_trt/llms.py:1:1: I001 Import block is un-sorted or un-formatted
|
Analysing the code with our lint:
libs/trt/langchain_nvidia_trt/llms.py#L8
langchain_nvidia_trt/llms.py:8:25: F401 `typing.Callable` imported but unused
|
Analysing the code with our lint:
libs/trt/langchain_nvidia_trt/llms.py#L23
langchain_nvidia_trt/llms.py:23:8: F401 `uuid` imported but unused
|
Analysing the code with our lint:
libs/trt/langchain_nvidia_trt/llms.py#L25
langchain_nvidia_trt/llms.py:25:89: E501 Line too long (97 > 88)
|
Analysing the code with our lint:
libs/trt/langchain_nvidia_trt/llms.py#L26
langchain_nvidia_trt/llms.py:26:34: F401 `tensorrt_llm.runtime.PYTHON_BINDINGS` imported but unused
|
Analysing the code with our lint:
libs/trt/langchain_nvidia_trt/llms.py#L428
langchain_nvidia_trt/llms.py:428:89: E501 Line too long (92 > 88)
|
Analysing the code with our lint:
libs/trt/langchain_nvidia_trt/llms.py#L431
langchain_nvidia_trt/llms.py:431:89: E501 Line too long (105 > 88)
|
Analysing the code with our lint:
libs/trt/langchain_nvidia_trt/llms.py#L645
langchain_nvidia_trt/llms.py:645:17: F841 Local variable `inputs` is assigned to but never used
|
Analysing the code with our lint:
libs/trt/langchain_nvidia_trt/utils.py#L1
langchain_nvidia_trt/utils.py:1:1: I001 Import block is un-sorted or un-formatted
|
Loading