Skip to content
Snippets Groups Projects
Commit 62b63ab7 authored by Hashim Sharif's avatar Hashim Sharif Committed by Yifan Zhao
Browse files

pushing change to configuration format

parent 3ab9d9d2
No related branches found
No related tags found
No related merge requests found
...@@ -10,11 +10,13 @@ The format of the configuration is includes one line per fused HPVM node. Note t ...@@ -10,11 +10,13 @@ The format of the configuration is includes one line per fused HPVM node. Note t
File Format File Format
-------------- --------------
`+++++` .. code-block:: lang
`${config_id} ${predicted_speedup} $predicted_energy} ${real_accuracy} ${accuracy_degration}`
`${hpvm_node_id} ${device=cpu|gpu} ${tensor_op_type} ${approximation_knob} ....` +++++
`${hpvm_node_id} .....` ${config_id} ${predicted_speedup} $predicted_energy} ${real_accuracy} ${accuracy_degration}
`-----` ${hpvm_node_id} ${device=cpu|gpu} ${tensor_op_type} ${approximation_knob} ....
${hpvm_node_id} .....
-----
The delimeters `+++++` and `-----` marked beginning and end of a configuration The delimeters `+++++` and `-----` marked beginning and end of a configuration
...@@ -26,5 +28,5 @@ The `$config_id` is the configuration ID in the configuration file. A configurat ...@@ -26,5 +28,5 @@ The `$config_id` is the configuration ID in the configuration file. A configurat
`$real_accuracy` is the accuracy of the program on the tune set (inputs used for tuning) when no approximations are applied and `$accuracy_degradation` is the drop in accuracy when applying the configuration that follows - the specific knob settings that follow. `$real_accuracy` is the accuracy of the program on the tune set (inputs used for tuning) when no approximations are applied and `$accuracy_degradation` is the drop in accuracy when applying the configuration that follows - the specific knob settings that follow.
`$hpvm_node_id` specifies the node ID to apply the approximation knobs for, `$device` specifies the device to offload to, `${tensor_op_type}` specifies the type of tensor operation (conv, mul, add, relu etc.), and `approximation_knob` is the knob setting corresponding to this tensor operation. The autotuner selects these knobs. `$hpvm_node_id` specifies the node ID to apply the approximation knobs for, `$device` specifies the device to offload to, `$tensor_op_type` specifies the type of tensor operation (conv, mul, add, relu etc.), and `$approximation_knob` is the knob setting corresponding to this tensor operation. The autotuner selects these knobs.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment