-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR #16913: [PJRT:GPU] Enable creating topology without a GPU device
Imported from GitHub PR #16913 Currently PJRT_TopologyDescription_Create always creates topology from the local client. This requires having a local GPU device. This patch allows explicitly specifying topology shape and device config in PJRT_TopologyDescription_Create call, without querying local client. This enables deviceless compilation. Copybara import of the project: -- bc85038 by Jaroslav Sevcik <[email protected]>: [PJRT:GPU] Enable creating topology without a GPU device -- e4eb44e by Jaroslav Sevcik <[email protected]>: Enable overlaying topology on local device -- ff25a57 by Jaroslav Sevcik <[email protected]>: Address reviewer comments -- 8bfb7a2 by Jaroslav Sevcik <[email protected]>: Cleanup Merging this change closes #16913 COPYBARA_INTEGRATE_REVIEW=#16913 from jaro-sevcik:deviceless-topology-creation 8bfb7a2 PiperOrigin-RevId: 679047171
- Loading branch information
1 parent
69d0f6d
commit c3e0914
Showing
2 changed files
with
208 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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