Skip to content

skip test_vitis_generate_model_sd.py if model_generate is not installed.

a647e2b
Select commit
Loading
Failed to load commit list.
Open

[AMD] Add sd15 support for VitisAI. #2359

skip test_vitis_generate_model_sd.py if model_generate is not installed.
a647e2b
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / lintrunner succeeded May 19, 2026 in 2s

4 new alerts

New alerts in code changed by this pull request

  • 4 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 16 in test/passes/vitis_ai/test_vitis_generate_model_sd.py

See this annotation in the file changed.

Code scanning / lintrunner

PYLINT/C0413 Note test

Import "from olive.model import ONNXModelHandler" should be placed at the top of the module (wrong-import-position)
See wrong-import-position.

Check notice on line 17 in test/passes/vitis_ai/test_vitis_generate_model_sd.py

See this annotation in the file changed.

Code scanning / lintrunner

PYLINT/C0413 Note test

Import "from olive.passes.olive_pass import create_pass_from_dict" should be placed at the top of the module (wrong-import-position)
See wrong-import-position.

Check notice on line 18 in test/passes/vitis_ai/test_vitis_generate_model_sd.py

See this annotation in the file changed.

Code scanning / lintrunner

PYLINT/C0413 Note test

Import "from olive.passes.onnx.vitis_ai.vitis_generate_model_sd import VitisGenerateModelSD" should be placed at the top of the module (wrong-import-position)
See wrong-import-position.

Check notice on line 19 in test/passes/vitis_ai/test_vitis_generate_model_sd.py

See this annotation in the file changed.

Code scanning / lintrunner

PYLINT/C0413 Note test

Import "from test.utils import ONNX_MODEL_PATH, get_onnx_model" should be placed at the top of the module (wrong-import-position)
See wrong-import-position.