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
pydantic.v1.error_wrappers.ValidationError: 6 validation errors for RunConfig
data_configs -> __root__
D:\NPU\NPU-Examples\imagenet.py doesn't exist (type=value_error)evaluators -> common_evaluator metric_data_config not found in {} (type=value_error)engine Invalid evaluators (type=value_error)passes -> conversion Invalid engine (type=value_error)passes -> qnn_preprocess Invalid engine (type=value_error)passes -> quantization Invalid engine (type=value_error)
Other information
OS: Any
Olive version: 0.7.1.1
ONNXRuntime package and version: onnxruntime-qnn==1.20.0
Transformers package version: 4.47.1
Additional context
Specifying script_dir does not help as well (which will be insert into sys.path) as existence checking of script_dir is done with Path.resolve
The text was updated successfully, but these errors were encountered:
As mentioned in the linked PR, the path to user_script is relative to where the olive command is called from. This also applies to any path that is provided in the config such as data_dir. In order to make this work, the config needs to be updated to have "user_script": "project/imagenet.py"
Describe the bug
Cannot import user scripts outside the working directory if user_script/script_dir is relative to config file.
To Reproduce
workflow.json
anduser_script.py
underD:/project/
cd D:/
, thenolive run --config ./project/workflow.json
Olive config
Olive logs
Other information
Additional context
Specifying
script_dir
does not help as well (which will be insert into sys.path) as existence checking ofscript_dir
is done withPath.resolve
The text was updated successfully, but these errors were encountered: