neural_compressor.ux.components.optimization.tuning_history
¶
Tuning history.
Module Contents¶
Classes¶
Tuning history watcher that sends update on file change. |
|
Tuning history class. |
Functions¶
|
Get tuning history for requested Tuning. |
|
Build path to tuning history filename. |
- neural_compressor.ux.components.optimization.tuning_history.tuning_history(optimization: neural_compressor.ux.components.optimization.optimization.Optimization) dict ¶
Get tuning history for requested Tuning.
- neural_compressor.ux.components.optimization.tuning_history.tuning_history_path(optimization_workdir: str) str ¶
Build path to tuning history filename.
- class neural_compressor.ux.components.optimization.tuning_history.Watcher(request_id: str, optimization: neural_compressor.ux.components.optimization.optimization.Optimization)¶
Tuning history watcher that sends update on file change.
- stop(process_succeeded: bool) None ¶
Signal watcher to stop and dump tuning history to database.
- was_history_file_changed() bool ¶
Check if history file was changed since last check.
- history_file_modification_time() float | None ¶
Get modification date of history file.
- class neural_compressor.ux.components.optimization.tuning_history.TuningHistory¶
Tuning history class.
- static send_history_snapshot(request_id: str, optimization: neural_compressor.ux.components.optimization.optimization.Optimization) None ¶
Get tuning history for requested Workload.