-
Notifications
You must be signed in to change notification settings - Fork 104
/
services.xml
109 lines (106 loc) · 3.63 KB
/
services.xml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="utf-8" ?>
<services version='1.0' xmlns:deploy="vespa" xmlns:preprocess="properties">
<container id='default' version='1.0'>
<nodes count='1'/>
<component id='ai.vespa.examples.Centroids' bundle='billion-scale-image-search'/>
<component id='ai.vespa.examples.DimensionReducer' bundle='billion-scale-image-search'/>
<component id="ai.vespa.examples.BPETokenizer" bundle='billion-scale-image-search'>
<config name="ai.vespa.examples.bpe-tokenizer">
<contextlength>77</contextlength>
<vocabulary>files/bpe_simple_vocab_16e6.txt.gz</vocabulary>
</config>
</component>
<model-evaluation>
<onnx>
<models>
<model name="text_transformer">
<intraop-threads>1</intraop-threads>
</model>
<model name="vespa_innerproduct_ranker">
<intraop-threads>1</intraop-threads>
</model>
</models>
</onnx>
</model-evaluation>
<search>
<chain id='default' inherits='vespa'>
<searcher id='ai.vespa.examples.searcher.DeDupingSearcher' bundle='billion-scale-image-search'/>
<searcher id='ai.vespa.examples.searcher.RankingSearcher' bundle='billion-scale-image-search'/>
<searcher id="ai.vespa.examples.searcher.CLIPEmbeddingSearcher" bundle="billion-scale-image-search"/>
<searcher id='ai.vespa.examples.searcher.SPANNSearcher' bundle='billion-scale-image-search'/>
</chain>
</search>
<document-api/>
<document-processing>
<chain id='neighbor-assigner' inherits='indexing'>
<documentprocessor id='ai.vespa.examples.docproc.DimensionReductionDocProc'
bundle='billion-scale-image-search'/>
<documentprocessor id='ai.vespa.examples.docproc.AssignCentroidsDocProc'
bundle='billion-scale-image-search'/>
</chain>
</document-processing>
</container>
<content id='graph' version='1.0'>
<min-redundancy>1</min-redundancy>
<documents>
<document mode='index' type='centroid'/>
<document-processing cluster='default' chain='neighbor-assigner'/>
</documents>
<nodes count='1'/>
<engine>
<proton>
<tuning>
<searchnode>
<feeding>
<concurrency>1.0</concurrency>
</feeding>
</searchnode>
</tuning>
</proton>
</engine>
</content>
<content id='if' version='1.0'>
<min-redundancy>1</min-redundancy>
<documents>
<document mode='index' type='image'/>
<document-processing cluster='default' chain='neighbor-assigner'/>
</documents>
<nodes count='1'/>
<engine>
<proton>
<tuning>
<searchnode>
<requestthreads>
<persearch>2</persearch>
</requestthreads>
<feeding>
<concurrency>1.0</concurrency>
</feeding>
<summary>
<io>
<read>directio</read>
</io>
<store>
<cache>
<maxsize-percent>5</maxsize-percent>
<compression>
<type>lz4</type>
</compression>
</cache>
<logstore>
<chunk>
<maxsize>16384</maxsize>
<compression>
<type>zstd</type>
<level>3</level>
</compression>
</chunk>
</logstore>
</store>
</summary>
</searchnode>
</tuning>
</proton>
</engine>
</content>
</services>