We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e38056b + 5d8fb5a commit 8801573Copy full SHA for 8801573
core/compiler.cpp
@@ -344,9 +344,10 @@ void MapInputsAndDetermineDTypes(
344
ss << "- Disable partial compilation by setting require_full_compilation to True";
345
auto warn_str = ss.str();
346
LOG_WARNING(warn_str);
347
- // Overwrite type map with user settings
348
- first_use_type_map[in] = {util::TRTDataTypeToScalarType(cfg.convert_info.inputs.find(in)->second.dtype)};
349
}
+ // Overwrite type map with user settings
+ // We use this map for partitiioning since we need c10::ScalarTypes not nvinfer::DataTypes
350
+ first_use_type_map[in] = {util::TRTDataTypeToScalarType(cfg.convert_info.inputs.find(in)->second.dtype)};
351
352
} else {
353
// The user defined the type so no changes are necessary
0 commit comments