ipex-llm
ipex-llm copied to clipboard
[Nano] Add save/load fundamental examples for optimized Pytorch model
Description
Add save/load fundamental examples for optimized Pytorch model.
1. Why the change?
related issue: #5773
2. User API changes
N/A
3. Summary of the change
Add save/load fundamental examples for optimized Pytorch model using openvino and onnxruntime as accelerator.
4. How to test?
- [ ] Unit test
Maybe use InferenceOptimizer instead of Trainer here.