Skip to content

openvino: gate fallback with env var - #280

Merged
zhaixuejun1993 merged 1 commit into
ravi9:dev_backend_openvinofrom
zhaixuejun1993:xuejun/add_fallback_flag
Aug 12, 2026
Merged

openvino: gate fallback with env var#280
zhaixuejun1993 merged 1 commit into
ravi9:dev_backend_openvinofrom
zhaixuejun1993:xuejun/add_fallback_flag

Conversation

@zhaixuejun1993

Copy link
Copy Markdown
Collaborator

This pull request introduces a new environment variable to the OpenVINO integration, allowing fallback behavior to be enabled or disabled. The main changes add support for this variable and update the logic for model splitting based on its value.

OpenVINO Fallback Support:

  • Added GGML_OPENVINO_ENABLE_FALLBACK to the list of recognized environment variables in ggml_openvino_device_config::init(), enabling configuration of fallback behavior.
  • Updated is_model_splitted() in utils.cpp to check the GGML_OPENVINO_ENABLE_FALLBACK environment variable and short-circuit the function if fallback is not enabled, simplifying control flow for model splitting logic.## Overview

Additional information

Requirements

@ravi9

ravi9 commented Aug 12, 2026

Copy link
Copy Markdown
Owner

LGTM

@zhaixuejun1993
zhaixuejun1993 merged commit 9c96a1d into ravi9:dev_backend_openvino Aug 12, 2026
5 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants