aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/cfg/application/onnx_cluster_specific/services.xml
blob: 06b9a8c3a55382617bdd8d540dc29d427aa5749c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<services version="1.0">

  <container id="c1" version="1.0">
    <model-evaluation>
      <onnx>
        <models>
          <model name="mul">
            <intraop-threads>2</intraop-threads>
            <gpu-device>0</gpu-device>
          </model>
        </models>
      </onnx>
    </model-evaluation>
  </container>

  <container id="c2" version="1.0">
    <http>
      <server id="c1Server" port="8081" />
    </http>
    <model-evaluation>
      <onnx>
        <models>
          <model name="mul">
            <intraop-threads>4</intraop-threads>
            <gpu-device>1</gpu-device>
          </model>
        </models>
      </onnx>
    </model-evaluation>
  </container>

</services>