Skip to content

Fix Hybrid ep runtime torch import - #17

Open
Manfredss wants to merge 1 commit into
PFCCLab:hybrid-ep-paddlefrom
Manfredss:fix/hybrid-ep-runtime-torch-import
Open

Manfredss wants to merge 1 commit into
PFCCLab:hybrid-ep-paddlefrom
Manfredss:fix/hybrid-ep-runtime-torch-import

Conversation

@Manfredss

Copy link
Copy Markdown

Motivation

HybridEPBuffer may be constructed after Paddle torch compatibility has been disabled. get_comm_id() imported torch at runtime , causing ModuleNotFoundError when real torch was unavailable

Changes

Remove the unused torch and torch.distributed imports from get_comm_id()

@Manfredss
Manfredss changed the base branch from paddle to hybrid-ep-paddle July 16, 2026 13:41
@Manfredss
Manfredss marked this pull request as draft July 17, 2026 04:04
@Manfredss
Manfredss marked this pull request as ready for review July 17, 2026 04:08
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