Skip to content

Add device mode synchronization - #56

Merged
FKKimura merged 3 commits into
FujitsuResearch:develop/v1-3-3from
y-vectorfield:add_device_mode_synchronization
Aug 25, 2026
Merged

Add device mode synchronization#56
FKKimura merged 3 commits into
FujitsuResearch:develop/v1-3-3from
y-vectorfield:add_device_mode_synchronization

Conversation

@y-vectorfield

Copy link
Copy Markdown
Contributor

Summary

When running OneComp on a non-CUDA device (e.g. CPU or MPS), the device mode had to be set separately on both ModelConfig and QEPConfig.

To remove this redundancy, I added device mode synchronization between ModelConfig and QEPConfig: QEPConfig.device now defaults to None and follows ModelConfig.device when left unset. Explicitly passing QEPConfig(device=...) still takes precedence, so existing usage is unchanged.

@y-vectorfield
y-vectorfield changed the base branch from develop/v1-3-2 to main August 24, 2026 14:34
@y-vectorfield
y-vectorfield force-pushed the add_device_mode_synchronization branch from 8135464 to 32fc36b Compare August 24, 2026 14:35
@FKKimura
FKKimura changed the base branch from main to develop/v1-3-3 August 25, 2026 02:26
@FKKimura
FKKimura merged commit f0747e4 into FujitsuResearch:develop/v1-3-3 Aug 25, 2026
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