You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chronos currenly provides a full set of python API with which users could build a forecaster/detector in their python application easily. While this may bring some kind of learning barrier to our users. Although we have quick tour, examples and how to guides to help our users to copy-and-revise, users still need to
understand the concept of TSDataset, Forecaster and so on.
write and debug 30-100 lines of code to prepare data and train their forecaster
refer to 2-3 how-to guides/examples to understand how to evaluate/save/serve the forecaster.
During our collaboration with customers and the inspiration of other libraries (e.g. mmdetection, mmsegmentation...), we found that a command line tool could be more friendly to engineers.
Tool mode might be the solution to this, this means users only need to type 1 lines of bash cmd and a forecaster is either trained, evaluated, being used to inference or even served on a port.
Methodology
We will develop a new command line tool chronos-cmd with five operations: train, evaluate, predict, benchmark, serve for this tool mode chronos.
This Issue is used for discussion
Background
Chronos currenly provides a full set of python API with which users could build a forecaster/detector in their python application easily. While this may bring some kind of learning barrier to our users. Although we have quick tour, examples and how to guides to help our users to copy-and-revise, users still need to
understand the concept of
TSDataset
,Forecaster
and so on.write and debug 30-100 lines of code to prepare data and train their forecaster
refer to 2-3 how-to guides/examples to understand how to evaluate/save/serve the forecaster.
During our collaboration with customers and the inspiration of other libraries (e.g. mmdetection, mmsegmentation...), we found that a command line tool could be more friendly to engineers.
Tool mode might be the solution to this, this means users only need to type 1 lines of bash cmd and a forecaster is either trained, evaluated, being used to inference or even served on a port.
Methodology
We will develop a new command line tool
chronos-cmd
with five operations:train
,evaluate
,predict
,benchmark
,serve
for this tool mode chronos.Train
For
chronos-cmd
:Inside this cmd
Data will be loaded, checked for quality, automatically applied typical preprocess methods.
A forecaster will be fitted and saved
Evaluate
chronos-cmd evaluate --data /path/to/data --model_dir /path/to/load --other_options # optional
Predict
chronos-cmd predict --data /path/to/data --model_dir /path/to/load --other_options # optional
Benchmark
Similar tool is developing here: https://github.com/analytics-zoo/Chronos-benchmark-tool
Serve
A better way to serve is to use chronos with other inferece server(e.g. NVIDIA Triton), but we may have a self-written(naive one) time series server
chronos-cmd serve --model_dir /path/to/load --port 12345 --other_options # optional
FAQ
chronos-cmd
will be developed in python (not bash) and be installed with other src to user bypip install bigdl-chronos
The implementation workload should be OK since we are working on the benchmark tool and most of the code could be reused
chronos-cmd
will only be a friendly extension to users, python API will still be the mature way to use chronos.The text was updated successfully, but these errors were encountered: