cherry-pick: Python Runtime Windows Builds on TRT 10 (#2764) by gs-olive · Pull Request #2776 · pytorch/TensorRT (original) (raw)

diff --git a/home/runner/work/TensorRT/TensorRT/core/conversion/converters/impl/expand.cpp b/tmp/changes.txt index 49f1815..0e68768 100644 --- a/home/runner/work/TensorRT/TensorRT/core/conversion/converters/impl/expand.cpp +++ b/tmp/changes.txt @@ -44,7 +44,8 @@ bool add_expand(ConversionCtx* ctx, const torch::jit::Node* n, nvinfer1::ITensor if (size != targetSize) { if (size != 1) { TORCHTRT_THROW_ERROR(

@@ -131,7 +132,8 @@ bool add_expand_dynamic( // if size == -1, we can't validate the expansion before setBindingDimensions. if (!(size == -1 || size == 1)) { TORCHTRT_THROW_ERROR(

diff --git a/home/runner/work/TensorRT/TensorRT/core/conversion/evaluators/eval_util.cpp b/tmp/changes.txt index 2c6567a..9b61390 100644 --- a/home/runner/work/TensorRT/TensorRT/core/conversion/evaluators/eval_util.cpp +++ b/tmp/changes.txt @@ -165,7 +165,8 @@ c10::optionaltorch::jit::IValue toIValue(const torch::jit::Value* v) { void checkListInputType(const c10::TypePtr& elem_type, bool empty_list) { if (!elem_type->isSubtypeOf(c10::NumberType::get()) && elem_type != c10::BoolType::get()) { std::stringstream error;

diff --git a/home/runner/work/TensorRT/TensorRT/core/plugins/impl/normalize_plugin.h b/tmp/changes.txt index 7e564b5..5d51a68 100644 --- a/home/runner/work/TensorRT/TensorRT/core/plugins/impl/normalize_plugin.h +++ b/tmp/changes.txt @@ -41,7 +41,7 @@ class NormalizePlugin : public nvinfer1::IPluginV2DynamicExt {

const char* getPluginNamespace() const noexcept override;

nvinfer1::IPluginV2DynamicExt* clone() const noexcept override;

@@ -101,7 +101,7 @@ class NormalizePluginCreator : public nvinfer1::IPluginCreator {

const char* getPluginNamespace() const noexcept override;

const char* getPluginName() const noexcept override;

diff --git a/home/runner/work/TensorRT/TensorRT/core/plugins/impl/interpolate_plugin.h b/tmp/changes.txt index 661cee2..ce009af 100644 --- a/home/runner/work/TensorRT/TensorRT/core/plugins/impl/interpolate_plugin.h +++ b/tmp/changes.txt @@ -57,7 +57,7 @@ class InterpolatePlugin : public nvinfer1::IPluginV2DynamicExt {

const char* getPluginNamespace() const noexcept override;

nvinfer1::IPluginV2DynamicExt* clone() const noexcept override;

@@ -117,7 +117,7 @@ class InterpolatePluginCreator : public nvinfer1::IPluginCreator {

const char* getPluginNamespace() const noexcept override;

const char* getPluginName() const noexcept override;

ERROR: Some files do not conform to style guidelines