Qwen2-VL-2B-Instruct-OpenVINO-INT4 / openvino_text_embeddings_model.xml
cydxg's picture
first commit
1d868b1 verified
<?xml version="1.0"?>
<net name="Model0" version="11">
<layers>
<layer id="0" name="input" type="Parameter" version="opset1">
<data shape="?,?" element_type="i64" />
<output>
<port id="0" precision="I64" names="input">
<dim>-1</dim>
<dim>-1</dim>
</port>
</output>
</layer>
<layer id="1" name="self.weight_compressed" type="Const" version="opset1">
<data element_type="f16" shape="151936, 1536" offset="0" size="466747392" />
<output>
<port id="0" precision="FP16" names="self.weight">
<dim>151936</dim>
<dim>1536</dim>
</port>
</output>
</layer>
<layer id="2" name="self.weight" type="Convert" version="opset1">
<data destination_type="f32" />
<rt_info>
<attribute name="decompression" version="0" />
</rt_info>
<input>
<port id="0" precision="FP16">
<dim>151936</dim>
<dim>1536</dim>
</port>
</input>
<output>
<port id="1" precision="FP32">
<dim>151936</dim>
<dim>1536</dim>
</port>
</output>
</layer>
<layer id="3" name="aten::embedding/Convert" type="Convert" version="opset1">
<data destination_type="i32" />
<input>
<port id="0" precision="I64">
<dim>-1</dim>
<dim>-1</dim>
</port>
</input>
<output>
<port id="1" precision="I32">
<dim>-1</dim>
<dim>-1</dim>
</port>
</output>
</layer>
<layer id="4" name="aten::embedding/Constant" type="Const" version="opset1">
<data element_type="i32" shape="" offset="466747392" size="4" />
<output>
<port id="0" precision="I32" />
</output>
</layer>
<layer id="5" name="aten::embedding/Gather" type="Gather" version="opset8">
<data batch_dims="0" />
<input>
<port id="0" precision="FP32">
<dim>151936</dim>
<dim>1536</dim>
</port>
<port id="1" precision="I32">
<dim>-1</dim>
<dim>-1</dim>
</port>
<port id="2" precision="I32" />
</input>
<output>
<port id="3" precision="FP32">
<dim>-1</dim>
<dim>-1</dim>
<dim>1536</dim>
</port>
</output>
</layer>
<layer id="6" name="Result_11" type="Result" version="opset1">
<input>
<port id="0" precision="FP32">
<dim>-1</dim>
<dim>-1</dim>
<dim>1536</dim>
</port>
</input>
</layer>
</layers>
<edges>
<edge from-layer="0" from-port="0" to-layer="3" to-port="0" />
<edge from-layer="1" from-port="0" to-layer="2" to-port="0" />
<edge from-layer="2" from-port="1" to-layer="5" to-port="0" />
<edge from-layer="3" from-port="1" to-layer="5" to-port="1" />
<edge from-layer="4" from-port="0" to-layer="5" to-port="2" />
<edge from-layer="5" from-port="3" to-layer="6" to-port="0" />
</edges>
<rt_info>
<Runtime_version value="2024.4.0-16579-c3152d32c9c-releases/2024/4" />
<conversion_parameters>
<framework value="pytorch" />
<is_python_object value="True" />
</conversion_parameters>
</rt_info>
</net>