[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chronos: add a how to guide to help users optimize their forecaster with forecaster.optimize #6926

Open
wants to merge 5 commits into
base: main_backup
Choose a base branch
from

Conversation

smurf-1119
Copy link
Contributor

Description

This method will traverse existing optimization methods(onnxruntime, openvino, jit, …) and save the model with minimum latency under the given data and search restrictions(accelerator, precision, accuracy_criterion) in forecaster.accelerated_model. This post provides a way by which users could replay the method.

1. Why the change?

2. User API changes

Add a new how-to guide.

3. Summary of the change

a new notebook

4. How to test?

  • Application test
  • Colab manual test
  • ...

@TheaperDeng
Copy link
Collaborator
  1. installation cmd should be
pip install --pre --upgrade bigdl-chronos[pytorch,inference]
  1. show the output of forecaster.optimize
  2. raise another issue for those failed items

@TheaperDeng
Copy link
Collaborator

You may also need to change some other files to make sure the how to guide could be correctly rendered on the document.
please refer to this PR: https://github.com/intel-analytics/BigDL/pull/6258/files

After that, you may generate a document page with your own readthedoc id for preview.

Copy link
Collaborator
@TheaperDeng TheaperDeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

others LGTM

@@ -24,6 +24,7 @@ Forecasting
* `Export the OpenVINO model files to disk <how_to_export_openvino_files.html>`__
* `Export the TorchScript model files to disk <how_to_export_torchscript_files.html>`__
* `Preprocess my data <how_to_preprocess_my_data.html>`__
* `Optimize a forecaster <how_to_optimize_a_forecaster.html>`__
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you rebase this file and put this howto under https://bigdl.readthedocs.io/en/latest/doc/Chronos/Howto/index.html#speed-up-a-forecaster this section

@liangs6212
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants