sd-1.5-controlnet-depth-quantized / INT8 /unet_time_proj_sym.xml
arisha07's picture
Upload 19 files
863fa44
<?xml version="1.0"?>
<net name="Model2" version="11">
<layers>
<layer id="0" name="timestep" type="Parameter" version="opset1">
<data shape="" element_type="i64" />
<rt_info>
<attribute name="old_api_map_element_type" version="0" value="i32" />
</rt_info>
<output>
<port id="0" precision="I64" names="timestep" />
</output>
</layer>
<layer id="1" name="/Constant384272028" type="Const" version="opset1">
<data element_type="i64" shape="1" offset="0" size="8" />
<output>
<port id="0" precision="I64" names="/Constant_output_0">
<dim>1</dim>
</port>
</output>
</layer>
<layer id="2" name="/Unsqueeze" type="Unsqueeze" version="opset1">
<input>
<port id="0" precision="I64" />
<port id="1" precision="I64">
<dim>1</dim>
</port>
</input>
<output>
<port id="2" precision="I64" names="/Cast_output_0,/Unsqueeze_output_0">
<dim>1</dim>
</port>
</output>
</layer>
<layer id="3" name="/Where3844" type="Const" version="opset1">
<data element_type="i64" shape="1" offset="8" size="8" />
<output>
<port id="0" precision="I64" names="/Where_output_0">
<dim>1</dim>
</port>
</output>
</layer>
<layer id="4" name="/Expand" type="Broadcast" version="opset3">
<data mode="bidirectional" />
<input>
<port id="0" precision="I64">
<dim>1</dim>
</port>
<port id="1" precision="I64">
<dim>1</dim>
</port>
</input>
<output>
<port id="2" precision="I64" names="/Expand_output_0">
<dim>1</dim>
</port>
</output>
</layer>
<layer id="5" name="/time_proj/Constant384670198" type="Const" version="opset1">
<data element_type="i64" shape="1" offset="8" size="8" />
<output>
<port id="0" precision="I64" names="/time_proj/Constant_output_0">
<dim>1</dim>
</port>
</output>
</layer>
<layer id="6" name="/time_proj/Unsqueeze" type="Unsqueeze" version="opset1">
<input>
<port id="0" precision="I64">
<dim>1</dim>
</port>
<port id="1" precision="I64">
<dim>1</dim>
</port>
</input>
<output>
<port id="2" precision="I64" names="/time_proj/Unsqueeze_output_0">
<dim>1</dim>
<dim>1</dim>
</port>
</output>
</layer>
<layer id="7" name="/time_proj/Cast" type="Convert" version="opset1">
<data destination_type="f32" />
<input>
<port id="0" precision="I64">
<dim>1</dim>
<dim>1</dim>
</port>
</input>
<output>
<port id="1" precision="FP32" names="/time_proj/Cast_output_0">
<dim>1</dim>
<dim>1</dim>
</port>
</output>
</layer>
<layer id="8" name="/time_proj/Constant_1384972730" type="Const" version="opset1">
<data element_type="f32" shape="1, 160" offset="16" size="640" />
<output>
<port id="0" precision="FP32" names="/time_proj/Constant_1_output_0">
<dim>1</dim>
<dim>160</dim>
</port>
</output>
</layer>
<layer id="9" name="/time_proj/Mul" type="Multiply" version="opset1">
<data auto_broadcast="numpy" />
<input>
<port id="0" precision="FP32">
<dim>1</dim>
<dim>1</dim>
</port>
<port id="1" precision="FP32">
<dim>1</dim>
<dim>160</dim>
</port>
</input>
<output>
<port id="2" precision="FP32" names="/time_proj/Mul_output_0">
<dim>1</dim>
<dim>160</dim>
</port>
</output>
</layer>
<layer id="10" name="/time_proj/Sin" type="Sin" version="opset1">
<input>
<port id="0" precision="FP32">
<dim>1</dim>
<dim>160</dim>
</port>
</input>
<output>
<port id="1" precision="FP32" names="/time_proj/Sin_output_0">
<dim>1</dim>
<dim>160</dim>
</port>
</output>
</layer>
<layer id="11" name="250762508072964" type="Const" version="opset1">
<data element_type="f32" shape="" offset="656" size="4" />
<output>
<port id="0" precision="FP32" />
</output>
</layer>
<layer id="12" name="250772508175535" type="Const" version="opset1">
<data element_type="f32" shape="" offset="660" size="4" />
<output>
<port id="0" precision="FP32" />
</output>
</layer>
<layer id="13" name="250782508270750" type="Const" version="opset1">
<data element_type="f32" shape="" offset="656" size="4" />
<output>
<port id="0" precision="FP32" />
</output>
</layer>
<layer id="14" name="250792508378268" type="Const" version="opset1">
<data element_type="f32" shape="" offset="660" size="4" />
<output>
<port id="0" precision="FP32" />
</output>
</layer>
<layer id="15" name="/time_proj/Concat/fq_input_0" type="FakeQuantize" version="opset1">
<data levels="256" auto_broadcast="numpy" />
<input>
<port id="0" precision="FP32">
<dim>1</dim>
<dim>160</dim>
</port>
<port id="1" precision="FP32" />
<port id="2" precision="FP32" />
<port id="3" precision="FP32" />
<port id="4" precision="FP32" />
</input>
<output>
<port id="5" precision="FP32">
<dim>1</dim>
<dim>160</dim>
</port>
</output>
</layer>
<layer id="16" name="/time_proj/Cos" type="Cos" version="opset1">
<input>
<port id="0" precision="FP32">
<dim>1</dim>
<dim>160</dim>
</port>
</input>
<output>
<port id="1" precision="FP32" names="/time_proj/Cos_output_0">
<dim>1</dim>
<dim>160</dim>
</port>
</output>
</layer>
<layer id="17" name="250862509070744" type="Const" version="opset1">
<data element_type="f32" shape="" offset="656" size="4" />
<output>
<port id="0" precision="FP32" />
</output>
</layer>
<layer id="18" name="250872509175832" type="Const" version="opset1">
<data element_type="f32" shape="" offset="660" size="4" />
<output>
<port id="0" precision="FP32" />
</output>
</layer>
<layer id="19" name="250882509271665" type="Const" version="opset1">
<data element_type="f32" shape="" offset="656" size="4" />
<output>
<port id="0" precision="FP32" />
</output>
</layer>
<layer id="20" name="250892509371395" type="Const" version="opset1">
<data element_type="f32" shape="" offset="660" size="4" />
<output>
<port id="0" precision="FP32" />
</output>
</layer>
<layer id="21" name="/time_proj/Concat/fq_input_1" type="FakeQuantize" version="opset1">
<data levels="256" auto_broadcast="numpy" />
<input>
<port id="0" precision="FP32">
<dim>1</dim>
<dim>160</dim>
</port>
<port id="1" precision="FP32" />
<port id="2" precision="FP32" />
<port id="3" precision="FP32" />
<port id="4" precision="FP32" />
</input>
<output>
<port id="5" precision="FP32">
<dim>1</dim>
<dim>160</dim>
</port>
</output>
</layer>
<layer id="22" name="/time_proj/Concat" type="Concat" version="opset1">
<data axis="1" />
<input>
<port id="0" precision="FP32">
<dim>1</dim>
<dim>160</dim>
</port>
<port id="1" precision="FP32">
<dim>1</dim>
<dim>160</dim>
</port>
</input>
<output>
<port id="2" precision="FP32" names="/time_proj/Concat_output_0">
<dim>1</dim>
<dim>320</dim>
</port>
</output>
</layer>
<layer id="23" name="Constant_182093854" type="Const" version="opset1">
<data element_type="i64" shape="2" offset="664" size="16" />
<output>
<port id="0" precision="I64">
<dim>2</dim>
</port>
</output>
</layer>
<layer id="24" name="Constant_182123855" type="Const" version="opset1">
<data element_type="i64" shape="2" offset="680" size="16" />
<output>
<port id="0" precision="I64">
<dim>2</dim>
</port>
</output>
</layer>
<layer id="25" name="Constant_182153856" type="Const" version="opset1">
<data element_type="i64" shape="2" offset="696" size="16" />
<output>
<port id="0" precision="I64">
<dim>2</dim>
</port>
</output>
</layer>
<layer id="26" name="/time_proj/Slice" type="StridedSlice" version="opset1">
<data begin_mask="1, 0" end_mask="1, 0" new_axis_mask="" shrink_axis_mask="" ellipsis_mask="" />
<input>
<port id="0" precision="FP32">
<dim>1</dim>
<dim>320</dim>
</port>
<port id="1" precision="I64">
<dim>2</dim>
</port>
<port id="2" precision="I64">
<dim>2</dim>
</port>
<port id="3" precision="I64">
<dim>2</dim>
</port>
</input>
<output>
<port id="4" precision="FP32" names="/time_proj/Slice_output_0">
<dim>1</dim>
<dim>160</dim>
</port>
</output>
</layer>
<layer id="27" name="Constant_182213858" type="Const" version="opset1">
<data element_type="i64" shape="2" offset="712" size="16" />
<output>
<port id="0" precision="I64">
<dim>2</dim>
</port>
</output>
</layer>
<layer id="28" name="Constant_182243859" type="Const" version="opset1">
<data element_type="i64" shape="2" offset="664" size="16" />
<output>
<port id="0" precision="I64">
<dim>2</dim>
</port>
</output>
</layer>
<layer id="29" name="Constant_182273860" type="Const" version="opset1">
<data element_type="i64" shape="2" offset="696" size="16" />
<output>
<port id="0" precision="I64">
<dim>2</dim>
</port>
</output>
</layer>
<layer id="30" name="/time_proj/Slice_1" type="StridedSlice" version="opset1">
<data begin_mask="1, 0" end_mask="1, 0" new_axis_mask="" shrink_axis_mask="" ellipsis_mask="" />
<input>
<port id="0" precision="FP32">
<dim>1</dim>
<dim>320</dim>
</port>
<port id="1" precision="I64">
<dim>2</dim>
</port>
<port id="2" precision="I64">
<dim>2</dim>
</port>
<port id="3" precision="I64">
<dim>2</dim>
</port>
</input>
<output>
<port id="4" precision="FP32" names="/time_proj/Slice_1_output_0">
<dim>1</dim>
<dim>160</dim>
</port>
</output>
</layer>
<layer id="31" name="/time_proj/Concat_1" type="Concat" version="opset1">
<data axis="1" />
<input>
<port id="0" precision="FP32">
<dim>1</dim>
<dim>160</dim>
</port>
<port id="1" precision="FP32">
<dim>1</dim>
<dim>160</dim>
</port>
</input>
<output>
<port id="2" precision="FP32" names="/Cast_1_output_0,/time_proj/Concat_1_output_0">
<dim>1</dim>
<dim>320</dim>
</port>
</output>
</layer>
<layer id="32" name="time_embedding.linear_1.weight386341283/quantized5001874713" type="Const" version="opset1">
<data element_type="i8" shape="1280, 320" offset="728" size="409600" />
<output>
<port id="0" precision="I8">
<dim>1280</dim>
<dim>320</dim>
</port>
</output>
</layer>
<layer id="33" name="time_embedding.linear_1.weight386341283/quantized/to_f32" type="Convert" version="opset1">
<data destination_type="f32" />
<input>
<port id="0" precision="I8">
<dim>1280</dim>
<dim>320</dim>
</port>
</input>
<output>
<port id="1" precision="FP32">
<dim>1280</dim>
<dim>320</dim>
</port>
</output>
</layer>
<layer id="34" name="/time_embedding/linear_1/Gemm/WithoutBiases/fq_weights_1/scale5002673147" type="Const" version="opset1">
<data element_type="f32" shape="1280, 1" offset="410328" size="5120" />
<output>
<port id="0" precision="FP32">
<dim>1280</dim>
<dim>1</dim>
</port>
</output>
</layer>
<layer id="35" name="/time_embedding/linear_1/Gemm/WithoutBiases/fq_weights_1/mulpiply_by_scale" type="Multiply" version="opset1">
<data auto_broadcast="numpy" />
<input>
<port id="0" precision="FP32">
<dim>1280</dim>
<dim>320</dim>
</port>
<port id="1" precision="FP32">
<dim>1280</dim>
<dim>1</dim>
</port>
</input>
<output>
<port id="2" precision="FP32">
<dim>1280</dim>
<dim>320</dim>
</port>
</output>
</layer>
<layer id="36" name="/time_embedding/linear_1/Gemm/WithoutBiases" type="MatMul" version="opset1">
<data transpose_a="false" transpose_b="true" />
<input>
<port id="0" precision="FP32">
<dim>1</dim>
<dim>320</dim>
</port>
<port id="1" precision="FP32">
<dim>1280</dim>
<dim>320</dim>
</port>
</input>
<output>
<port id="2" precision="FP32">
<dim>1</dim>
<dim>1280</dim>
</port>
</output>
</layer>
<layer id="37" name="Constant_22762386570027" type="Const" version="opset1">
<data element_type="f32" shape="1, 1280" offset="415448" size="5120" />
<output>
<port id="0" precision="FP32">
<dim>1</dim>
<dim>1280</dim>
</port>
</output>
</layer>
<layer id="38" name="/time_embedding/linear_1/Gemm" type="Add" version="opset1">
<data auto_broadcast="numpy" />
<input>
<port id="0" precision="FP32">
<dim>1</dim>
<dim>1280</dim>
</port>
<port id="1" precision="FP32">
<dim>1</dim>
<dim>1280</dim>
</port>
</input>
<output>
<port id="2" precision="FP32" names="/time_embedding/linear_1/Gemm_output_0">
<dim>1</dim>
<dim>1280</dim>
</port>
</output>
</layer>
<layer id="39" name="/time_embedding/linear_1/Gemm0" type="Result" version="opset1">
<input>
<port id="0" precision="FP32">
<dim>1</dim>
<dim>1280</dim>
</port>
</input>
</layer>
</layers>
<edges>
<edge from-layer="0" from-port="0" to-layer="2" to-port="0" />
<edge from-layer="1" from-port="0" to-layer="2" to-port="1" />
<edge from-layer="2" from-port="2" to-layer="4" to-port="0" />
<edge from-layer="3" from-port="0" to-layer="4" to-port="1" />
<edge from-layer="4" from-port="2" to-layer="6" to-port="0" />
<edge from-layer="5" from-port="0" to-layer="6" to-port="1" />
<edge from-layer="6" from-port="2" to-layer="7" to-port="0" />
<edge from-layer="7" from-port="1" to-layer="9" to-port="0" />
<edge from-layer="8" from-port="0" to-layer="9" to-port="1" />
<edge from-layer="9" from-port="2" to-layer="10" to-port="0" />
<edge from-layer="9" from-port="2" to-layer="16" to-port="0" />
<edge from-layer="10" from-port="1" to-layer="15" to-port="0" />
<edge from-layer="11" from-port="0" to-layer="15" to-port="1" />
<edge from-layer="12" from-port="0" to-layer="15" to-port="2" />
<edge from-layer="13" from-port="0" to-layer="15" to-port="3" />
<edge from-layer="14" from-port="0" to-layer="15" to-port="4" />
<edge from-layer="15" from-port="5" to-layer="22" to-port="0" />
<edge from-layer="16" from-port="1" to-layer="21" to-port="0" />
<edge from-layer="17" from-port="0" to-layer="21" to-port="1" />
<edge from-layer="18" from-port="0" to-layer="21" to-port="2" />
<edge from-layer="19" from-port="0" to-layer="21" to-port="3" />
<edge from-layer="20" from-port="0" to-layer="21" to-port="4" />
<edge from-layer="21" from-port="5" to-layer="22" to-port="1" />
<edge from-layer="22" from-port="2" to-layer="26" to-port="0" />
<edge from-layer="22" from-port="2" to-layer="30" to-port="0" />
<edge from-layer="23" from-port="0" to-layer="26" to-port="1" />
<edge from-layer="24" from-port="0" to-layer="26" to-port="2" />
<edge from-layer="25" from-port="0" to-layer="26" to-port="3" />
<edge from-layer="26" from-port="4" to-layer="31" to-port="0" />
<edge from-layer="27" from-port="0" to-layer="30" to-port="1" />
<edge from-layer="28" from-port="0" to-layer="30" to-port="2" />
<edge from-layer="29" from-port="0" to-layer="30" to-port="3" />
<edge from-layer="30" from-port="4" to-layer="31" to-port="1" />
<edge from-layer="31" from-port="2" to-layer="36" to-port="0" />
<edge from-layer="32" from-port="0" to-layer="33" to-port="0" />
<edge from-layer="33" from-port="1" to-layer="35" to-port="0" />
<edge from-layer="34" from-port="0" to-layer="35" to-port="1" />
<edge from-layer="35" from-port="2" to-layer="36" to-port="1" />
<edge from-layer="36" from-port="2" to-layer="38" to-port="0" />
<edge from-layer="37" from-port="0" to-layer="38" to-port="1" />
<edge from-layer="38" from-port="2" to-layer="39" to-port="0" />
</edges>
<rt_info />
</net>