Skip to content

Add device mode synchronization - #56

Open
y-vectorfield wants to merge 2 commits into
FujitsuResearch:mainfrom
y-vectorfield:add_device_mode_synchronization
Open

Add device mode synchronization#56
y-vectorfield wants to merge 2 commits into
FujitsuResearch:mainfrom
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
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.

1 participant