1- API changes
2- -----------
1+ TensorFlow API changes
2+ ----------------------
33
44Release 2.5
55~~~~~~~~~~~
66
77The following changes have been made to the TensorFlow API in the Poplar SDK version 2.5.
88This may require you to change your code.
99
10+ Breaking changes
11+ ________________
12+
13+ .. warning ::
14+
15+ These will require changes to any code that uses them.
16+
17+ Removal of deprecated APIs
18+ ''''''''''''''''''''''''''
19+
20+ - `IpuConfig.floating_point_behaviour.esr ` may no longer be assigned a boolean
21+ value (deprecated in Poplar SDK version 2.4). Doing so will now raise a
22+ `ValueError `. From Poplar SDK version 2.5 onwards,
23+ :py:class: `~tensorflow.python.ipu.config.StochasticRoundingBehaviour `
24+ must be used. Note that serialized IpuConfig instances from an earlier
25+ Poplar SDK version will not be deserializable from Poplar SDK version 2.5
26+ onwards.
27+ - `extract_all_events `, `extract_all_strings_from_event_trace ` and
28+ `extract_all_types_from_event_trace ` have been removed from
29+ `tensorflow.python.ipu.utils `. These items were deprecated in Poplar SDK
30+ version 2.4.
31+ - `IPUMultiReplicaStrategy ` (deprecated in Poplar SDK version 2.4) has been
32+ removed. From Poplar SDK version 2.5 onwards use
33+ :py:class: `~tensorflow.python.ipu.horovod.popdist_strategy.PopDistStrategy `.
34+ - The `save_interval_report ` flag provided to `TF_POPLAR_FLAGS ` has been
35+ removed following deprecation in Poplar SDK version 2.4. From Poplar SDK
36+ version 2.5, LIBPVA should be used.
37+ - `tensorflow.python.ipu.ops.summary_ops ` has been removed as both
38+ `ipu_compile_summary ` and `get_ipu_reports ` were deprecated in Poplar
39+ SDK version 2.4. From Poplar SDK 2.5 onwards, the
40+ [PopVision] (https://docs.graphcore.ai/projects/tf-model-parallelism/en/latest/profiler.html)
41+ suite of tools should be used instead. Additionally, the `compile_summary `
42+ parameter of `IPURunConfig ` has been removed.
43+
44+ Other
45+ '''''
46+
47+ - The flag ``save_vertex_graph `` from ``TF_POPLAR_FLAGS `` is now non-functional.
48+ Please use the ``target.saveOutputVertexGraph `` Poplar engine option instead.
49+
1050Non-breaking changes
1151____________________
1252
@@ -75,7 +115,7 @@ Deprecated pipeline and gradient_accumulation options
75115
76116The `experimental_normalize_gradients ` parameter when setting gradient accumulation options
77117(`Model.set_gradient_accumulation_options() `) and pipeline options (`Model.set_pipelining_options() `)
78- is being deprecated and will be removed in future. This feature will be provided by new mean reduction
118+ has been deprecated and will be removed in future. This feature will be provided by new mean reduction
79119methods being added via the `reduction_method ` parameter
80120(`tensorflow.python.ipu.optimizers.GradientAccumulationReductionMethod `).
81121
@@ -92,49 +132,6 @@ The ``available_memory_proportion_fwd`` and ``available_memory_proportion_bwd``
92132
93133These values are now set using the ``'availableMemoryProportion' `` key of the ``options `` and ``options_bwd `` arguments correspondingly.
94134
95- Breaking changes
96- ________________
97-
98- .. warning ::
99-
100- These will require changes to any code that uses them.
101-
102- Removal of deprecated APIs
103- ''''''''''''''''''''''''''
104- - `IpuConfig.floating_point_behaviour.esr ` may no longer be assigned a boolean
105- value (deprecated in Poplar SDK version 2.4). Doing so will now raise a
106- `ValueError `. From Poplar SDK version 2.5 onwards,
107- :py:class: `~tensorflow.python.ipu.config.StochasticRoundingBehaviour `
108- must be used. Note that serialized IpuConfig instances from an earlier
109- Poplar SDK version will not be deserializable from Poplar SDK version 2.5
110- onwards.
111-
112- - `extract_all_events `, `extract_all_strings_from_event_trace ` and
113- `extract_all_types_from_event_trace ` have been removed from
114- `tensorflow.python.ipu.utils `. These items were deprecated in Poplar SDK
115- version 2.4.
116-
117- - `IPUMultiReplicaStrategy ` (deprecated in Poplar SDK version 2.4) has been
118- removed. From Poplar SDK version 2.5 onwards use
119- :py:class: `~tensorflow.python.ipu.horovod.popdist_strategy.PopDistStrategy `.
120-
121- - The `save_interval_report ` flag provided to `TF_POPLAR_FLAGS ` has been
122- removed following deprecation in Poplar SDK version 2.4. From Poplar SDK
123- version 2.5, LIBPVA should be used.
124-
125- - `tensorflow.python.ipu.ops.summary_ops ` has been removed as both
126- `ipu_compile_summary ` and `get_ipu_reports ` were deprecated in Poplar
127- SDK version 2.4. From Poplar SDK 2.5 onwards, the
128- [PopVision](https://docs.graphcore.ai/projects/tf-model-parallelism/en/latest/profiler.html)
129- suite of tools should be used instead. Additionally, the `compile_summary `
130- parameter of `IPURunConfig ` has been removed.
131-
132- Other
133- '''''
134-
135- - The flag ``save_vertex_graph `` from ``TF_POPLAR_FLAGS `` is now non-functional.
136- Please use the ``target.saveOutputVertexGraph `` Poplar engine option instead.
137-
138135Release 2.4
139136~~~~~~~~~~~
140137
0 commit comments