OpenVino device_scope and data adapters tests by hertschuh · Pull Request #21922 · keras-team/keras (original) (raw)

[gemini-code-assist[bot]](/apps/gemini-code-assist)

@hertschuh hertschuh changed the titleUnable testing of the trainers folder for OpenVino. Enable testing of the trainers folder for OpenVino.

Dec 12, 2025

@hertschuh hertschuh changed the titleEnable testing of the trainers folder for OpenVino. OpenVino device_scope and data adapters tests

Dec 12, 2025

@hertschuh

The device scope feature was not working because of a missing import as well as incorrect device name logic. The existing device name logic had been copied from the torch implementation but is not applicable to OpenVino.

Also turned on all the data adapter related tests for OpenVino, which happen to exercise the device scope. Data adapters are used with predict and evaluate and are useful with OpenVino even without training support.

abheesht17

fchollet

MalyalaKarthik66 pushed a commit to MalyalaKarthik66/keras that referenced this pull request

Dec 16, 2025

@hertschuh @MalyalaKarthik66

The device scope feature was not working because of a missing import as well as incorrect device name logic. The existing device name logic had been copied from the torch implementation but is not applicable to OpenVino.

Also turned on all the data adapter related tests for OpenVino, which happen to exercise the device scope. Data adapters are used with predict and evaluate and are useful with OpenVino even without training support.

jerryxyj added a commit to jerryxyj/keras that referenced this pull request

Feb 14, 2026

@jerryxyj

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})