-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support device mapping for Paged Attention (#1011)
* Move start_offsets_kernel to correct device * Move start_offsets_kernel to correct device * Move start_offsets_kernel to correct device * Move start_offsets_kernel to correct device * Move start_offsets_kernel to correct device * Move start_offsets_kernel to correct device * Move start_offsets_kernel to correct device * Move start_offsets_kernel to correct device * Move start_offsets_kernel to correct device * Update starcoder2.rs * Support device mapping * Support device mapping * Support device mapping * Support device mapping * Support device mapping * format * Support device mapping * remove mut * remove mut * Add get_unique_devices method * Move tensor for device mapping * Add DeviceMapper * Fix wrong RotaryEmbedding import * Fix wrong RotaryEmbedding import * Remove unecessary tensor copies * Add DeviceMapper * Add DeviceMapper * Add DeviceMapper * Add device mapping * Create tensor copies for each device for pa * Add device mapper * Add device mapper * Add device mapper * Add device mapper * Add device mapper * Add device mapper * Add device mapper * Add device mapper * Add device mapper * Add device mapper * add device mapper * Remove unecessary tensor move * Remove unecessary tensor move * Remove unecessary tensor move * Remove unecessary tensor move * Remove unecessary tensor move * Remove unecessary tensor move * Remove unecessary tensor move * Remove unecessary tensor move * format * format * format * clippy * format
- Loading branch information
Showing
24 changed files
with
269 additions
and
59 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
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
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
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
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
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
Oops, something went wrong.