File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
cpp/tensorrt_llm/nanobind Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 99 batch_manager/cacheTransceiver.cpp
1010 batch_manager/kvCacheManager.cpp
1111 batch_manager/llmRequest.cpp
12+ common/tllmExceptions.cpp
1213 executor/bindings.cpp
1314 executor/executor.cpp
1415 executor/executorConfig.cpp
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ void initExceptionsBindings(nb::module_& m)
3636 static nb::object request_specific_exc = nb::exception<tc::RequestSpecificException>(m, " RequestSpecificException" );
3737
3838 // Add attributes to the Python exception class
39- request_specific_exc.attr (" request_id" ) = nb::none;
40- request_specific_exc.attr (" error_code" ) = nb::none;
39+ request_specific_exc.attr (" request_id" ) = nb::none () ;
40+ request_specific_exc.attr (" error_code" ) = nb::none () ;
4141
4242 // Register exception translator to convert C++ exceptions to Python
4343 nb::register_exception_translator (
Original file line number Diff line number Diff line change 1616
1717#pragma once
1818#include < nanobind/nanobind.h>
19-
2019namespace nb = nanobind;
2120
2221namespace tensorrt_llm ::nanobind::common
You can’t perform that action at this time.
0 commit comments