Debian Codegraph @

debian/dask-config-blocks/dask-schema.yaml

raw
1 properties:
2
3 temporary-directory:
4 type:
5 - string
6 - "null"
7 description: |
8 Temporary directory for local disk storage /tmp, /scratch,
9 or /local. This directory is used during dask spill-to-disk operations.
10
11 When the value is "null" (default), dask will create a directory from
12 where dask was launched: `cwd/dask-worker-space`
13
14 visualization:
15 type: object
16 properties:
17 engine:
18 type:
19 - string
20 - 'null'
21 description: |
22 Visualization engine to use when calling ``.visualize()`` on a Dask collection.
23 Currently supports ``'graphviz'``, ``'ipycytoscape'``, and ``'cytoscape'``
24 (alias for ``'ipycytoscape'``)
25
26 tokenize:
27 type: object
28 properties:
29 ensure-deterministic:
30 type:
31 - boolean
32 description: |
33 If ``true``, tokenize will error instead of falling back to uuids
34 when a deterministic token cannot be generated. Defaults to
35 ``false``.
36
37 dataframe:
38 type: object
39 properties:
40
41 backend:
42 type:
43 - string
44 - "null"
45 description: |
46 Backend to use for supported dataframe-creation functions.
47 Default is "pandas".
48
49 shuffle-compression:
50 type:
51 - string
52 - "null"
53 description: |
54 Compression algorithm used for on disk-shuffling. Partd, the library used
55 for compression supports ZLib, BZ2, and SNAPPY
56
57 parquet:
58 type: object
59 properties:
60
61 metadata-task-size-local:
62 type: integer
63 description: |
64 The number of files to handle within each metadata-processing
65 task when reading a parquet dataset from a LOCAL file system.
66 Specifying 0 will result in serial execution on the client.
67
68 metadata-task-size-remote:
69 type: integer
70 description: |
71 The number of files to handle within each metadata-processing
72 task when reading a parquet dataset from a REMOTE file system.
73 Specifying 0 will result in serial execution on the client.
74
75 dtype_backend:
76 enum:
77 - pandas
78 - pyarrow
79 description: |
80 The nullable dtype implementation to use. Must be either "pandas" or
81 "pyarrow". Default is "pandas".
82
83 array:
84 type: object
85 properties:
86
87 backend:
88 type:
89 - string
90 - "null"
91 description: |
92 Backend to use for supported array-creation functions.
93 Default is "numpy".
94
95 svg:
96 type: object
97 properties:
98
99 size:
100 type: integer
101 description: |
102 The size of pixels used when displaying a dask array as an SVG image.
103 This is used, for example, for nice rendering in a Jupyter notebook
104
105 slicing:
106 type: object
107 properties:
108 split-large-chunks:
109 type: [boolean, 'null']
110 description: |
111 How to handle large chunks created when slicing Arrays. By default a
112 warning is produced. Set to ``False`` to silence the warning
113 and allow large output chunks. Set to ``True`` to silence the
114 warning and avoid large output chunks.
115
116 optimization:
117 type: object
118 properties:
119
120 annotations:
121 type: object
122 properties:
123 fuse:
124 type: boolean
125 description: |
126 If adjacent blockwise layers have different annotations (e.g., one has
127 retries=3 and another has retries=4), Dask can make an attempt to merge
128 those annotations according to some simple rules. ``retries`` is set to
129 the max of the layers, ``priority`` is set to the max of the layers,
130 ``resources`` are set to the max of all the resources, ``workers`` is
131 set to the intersection of the requested workers. If this setting is
132 disabled, then adjacent blockwise layers with different annotations
133 will *not* be fused.
134
135 fuse:
136 type: object
137 description: Options for Dask's task fusion optimizations
138 properties:
139
140 active:
141 type: [boolean, 'null']
142 description: |
143 Turn task fusion on/off. This option refers to the fusion of a
144 fully-materialized task graph (not a high-Level graph). By default
145 (None), the active task-fusion option will be treated as ``False``
146 for Dask-Dataframe collections, and as ``True`` for all other graphs
147 (including Dask-Array collections).
148
149 ave-width:
150 type: number
151 minimum: 0
152 description:
153 Upper limit for width, where width = num_nodes / height, a good measure
154 of parallelizability
155
156 max-width:
157 type: [number, 'null']
158 minimum: 0
159 description:
160 Don't fuse if total width is greater than this. Set to null to dynamically
161 adjust to 1.5 + ave_width * log(ave_width + 1)
162
163 max-height:
164 type: number
165 minimum: 0
166 description: Don't fuse more than this many levels
167
168 max-depth-new-edges:
169 type: [number, 'null']
170 minimum: 0
171 description:
172 Don't fuse if new dependencies are added after this many levels.
173 Set to null to dynamically adjust to ave_width * 1.5.
174
175 subgraphs:
176 type: [boolean, 'null']
177 description: |
178 Set to True to fuse multiple tasks into SubgraphCallable objects. Set to
179 None to let the default optimizer of individual dask collections decide.
180 If no collection-specific default exists, None defaults to False.
181
182 rename-keys:
183 type: boolean
184 description:
185 Set to true to rename the fused keys with `default_fused_keys_renamer`.
186 Renaming fused keys can keep the graph more understandable and
187 comprehensible, but it comes at the cost of additional processing. If
188 False, then the top-most key will be used. For advanced usage, a function
189 to create the new name is also accepted.