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
Traceback (most recent call last):
File "/Users/ubuntu/workspace/projects/AI_Research/workbench/tests/olive_tests/AST/main.py", line 2, in <module>
olive_run("ast.json")
File "/Users/ubuntu/anaconda3/envs/pydev39-olive/lib/python3.9/site-packages/olive/workflows/run/run.py", line 294, in run
run_config: RunConfig = RunConfig.parse_file_or_obj(run_config)
File "/Users/ubuntu/anaconda3/envs/pydev39-olive/lib/python3.9/site-packages/olive/common/config_utils.py", line 126, in parse_file_or_obj
return cls.parse_file(file_path)
File "pydantic/main.py", line 569, in pydantic.main.BaseModel.parse_file
File "pydantic/main.py", line 526, in pydantic.main.BaseModel.parse_obj
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 7 validation errors for RunConfig
data_configs -> name
DataConfig name speech_commands_v0.02 should only contain letters, numbers and underscore. (type=value_error)
evaluators -> common_evaluator
speech_commands_v0.02 not found in {} (type=value_error)
engine
Invalid evaluators (type=value_error)
passes -> conversion
Invalid engine (type=value_error)
passes -> transformers_optimization
Invalid engine (type=value_error)
passes -> quantization
Invalid engine (type=value_error)
passes -> perf_tuning
Invalid engine (type=value_error)
Other information
OS: [e.g. Windows, Linux]
Olive version: [e.g. 0.4.0 or main]
ONNXRuntime package and version: [e.g. onnxruntime-gpu: 1.16.1]
Describe the bug
There are a lot of validation errors for RunConfig by using JSON config in the examples folder
To Reproduce
I tried to optimize AST model in the examples folder by below command line, but it does not works.
Expected behavior
A clear and concise description of what you expected to happen.
Olive config
I am using Python 3.9.19
Olive logs
Other information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: