type: issue

title: models_rank.json issue

type: User

user_view_type: public

state: closed

body:
**Describe the bug**
The model_path in models_rank.json is the input model path instead of the optimized model path

**Expected behavior**
model_path is the optimized model path

Add Olive configurations here.

**Olive logs**
models_rank.json:

```json
[
    {
        "rank": 1,
        "model_config": {
            "type": "ONNXModel",
            "config": {
                "model_path": "D:\\fang\\cputest\\code\\oaas_models\\deeprank.onnx",
                "onnx_file_name": null,
                "inference_settings": {
                    "execution_provider": [
                        "OpenVINOExecutionProvider"
                    ],
                    "provider_options": [
                        {}
                    ],
                    "io_bind": false,
                    "tuning_op_result": null,
                    "session_options": {
                        "execution_mode": 0,
                        "graph_optimization_level": 99,
                        "intra_op_num_threads": 15
                    }
                },
                "use_ort_extensions": false,
                "model_attributes": null
            }
        },
        "metrics": {
            "latency-avg": {
                "value": 3.88114,
                "priority": 1,
                "higher_is_better": false
            }
        }
    },
    {
        "rank": 2,
        "model_config": {
            "type": "ONNXModel",
            "config": {
                "model_path": "D:\\fang\\cputest\\code\\oaas_models\\deeprank.onnx",
                "onnx_file_name": null,
                "inference_settings": {
                    "execution_provider": [
                        "CPUExecutionProvider"
                    ],
                    "provider_options": [
                        {}
                    ],
                    "io_bind": false,
                    "tuning_op_result": null,
                    "session_options": {
                        "execution_mode": 0,
                        "graph_optimization_level": 99,
                        "intra_op_num_threads": 16
                    }
                },
                "use_ort_extensions": false,
                "model_attributes": null
            }
        },
        "metrics": {
            "latency-avg": {
                "value": 4.08497,
                "priority": 1,
                "higher_is_better": false
            }
        }
    }
]
```

**Other information**
 - OS: Windows,&Linux
 - Olive version: 0.5.0
 - ONNXRuntime package and version: all

login: xiaoyu-work

state_reason: completed


type: comment

login: guotuofeng

author_association: CONTRIBUTOR

body: @xiaoyu-work, could you please help take a look?


event: commented


author_association: COLLABORATOR

body:
That's weird. Mine has correct output model path:
```
[
    {
        "rank": 1,
        "model_config": {
            "type": "ONNXModel",
            "config": {
                "model_path": "/home/xyz/github/Olive/examples/bert/cache/models/2_OnnxQuantization-1-1431c563dcfda9c9c3bf26c5d61ef58e/output_model/model.onnx",
                "onnx_file_name": null,
```

But what I can improve here is updating this `model_path` to the model path in output zip file.


body: I think that's mean the actual path in the zip file. The model_path will not be valid after the zip file is downloaded in another machine.


body: The PR had been merged. Now the `model_path` in models_rank.json is the relative path to zip file. Closed.