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 9
9
batch_manager/cacheTransceiver.cpp
10
10
batch_manager/kvCacheManager.cpp
11
11
batch_manager/llmRequest.cpp
12
+ common/tllmExceptions.cpp
12
13
executor/bindings.cpp
13
14
executor/executor.cpp
14
15
executor/executorConfig.cpp
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ void initExceptionsBindings(nb::module_& m)
36
36
static nb::object request_specific_exc = nb::exception<tc::RequestSpecificException>(m, " RequestSpecificException" );
37
37
38
38
// 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 () ;
41
41
42
42
// Register exception translator to convert C++ exceptions to Python
43
43
nb::register_exception_translator (
Original file line number Diff line number Diff line change 16
16
17
17
#pragma once
18
18
#include < nanobind/nanobind.h>
19
-
20
19
namespace nb = nanobind;
21
20
22
21
namespace tensorrt_llm ::nanobind::common
You can’t perform that action at this time.
0 commit comments