-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[GPU] create tensor from file #37153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
michal-miotk
wants to merge
87
commits into
openvinotoolkit:master
Choose a base branch
from
michal-miotk:tensor_file
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 84 commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
a7986c7
Add OCL remote tensor creation from file
artemisTurintech 0b7a358
Retain mapped data in OCL buffer tensor
artemisTurintech f28d994
Keep file mapping alive for OCL buffer tensor
artemisTurintech 4acc8a7
Keep mapped file data alive for OCL tensor
artemisTurintech b6c4078
Include file stream for OCL file tensor test
artemisTurintech a9bf0fd
Test OCL remote tensor creation from file
artemisTurintech 98bf157
Include filesystem for OCL file tensor API
artemisTurintech 3ead730
Include filesystem for OCL file tensor test
artemisTurintech 419fd30
Add offset to OCL file tensor creation
artemisTurintech 7bf2f39
Keep OCL file tensor API lightweight
artemisTurintech bf129a3
Remove file mapping state from OCL buffer tensor
artemisTurintech 86e1809
Restore OCL buffer tensor wrapper
artemisTurintech 1094be6
Use direct mapped data for OCL file tensor
artemisTurintech 3e1b395
Exercise OCL file tensor offset
artemisTurintech 74595d4
Create OCL file tensor with offset
artemisTurintech 2b75fb4
Document OCL remote tensor creation from file
artemisTurintech 86f83e2
Document file tensor offset
artemisTurintech 6011f1b
Include filesystem for GPU file descriptor property
artemisTurintech b8c7729
Add MMAPED_FILE shared mem type for GPU
artemisTurintech deeb642
Serialize MMAPED_FILE shared mem type
artemisTurintech 2477fd5
Deserialize MMAPED_FILE shared mem type
artemisTurintech acffc73
Include GPU debug logging in ocl_engine
artemisTurintech ade06dc
Log host buffer creation in ocl_engine
artemisTurintech b698fdd
Add FileDescriptor and mmap file properties for GPU
artemisTurintech 55d73a0
Route OCL file tensor through plugin mmap path
artemisTurintech 329a3a8
Include ov::Tensor for mmap keep-alive
artemisTurintech 1708c08
Accept mmap tensor keep-alive in remote tensor
artemisTurintech ff78ef5
Store mmap tensor keep-alive in remote tensor
artemisTurintech c257ee5
Keep file mapping alive in remote tensor ctor
artemisTurintech f0e0fe4
Include read_tensor_data for GPU mmap tensor
artemisTurintech 12b928d
Handle MMAPED_FILE shared memory type
artemisTurintech 562dc5e
Add file-mapped remote tensor creation
artemisTurintech 45b0b57
Declare file-mapped remote tensor helper
artemisTurintech 1dd3990
Expose FileDescriptor alias in ocl namespace
artemisTurintech d3a4fa0
Use FileDescriptor for OCL file tensor API
artemisTurintech b554fd3
Drop unused filesystem include in ocl header
artemisTurintech 4228c84
Use FileDescriptor in OCL file tensor test
artemisTurintech d17f441
Document FileDescriptor-based GPU file tensor
artemisTurintech 278e026
Document file-backed remote tensor creation tab
artemisTurintech fea3da0
Make OCL file tensor test run inference
artemisTurintech ef652b4
Drop unused debug include in ocl_engine
artemisTurintech 6a0d597
Remove unnecessary host buffer logging
artemisTurintech 73f729f
Log memory when wrapping file-mapped host buffer
artemisTurintech 9f4f4be
Hash mmap tensor data pointer in remote tensor
artemisTurintech 6bc3ccf
Remove file-mapped host buffer debug trace
artemisTurintech 0742fa7
Add track_memory flag to create_hostbuffer
artemisTurintech 7bf3b3d
Add track_memory flag to ocl create_hostbuffer
artemisTurintech 5407ead
Add track_memory flag to create_hostbuffer_impl
artemisTurintech 1842d16
Pass track_memory through ocl create_hostbuffer
artemisTurintech 10d4a69
Accept track_memory in create_hostbuffer_impl
artemisTurintech 7289169
Track mmap host memory when requested
artemisTurintech 98fe4e7
Match create_hostbuffer signature in ze_engine
artemisTurintech 2ca6957
Match create_hostbuffer signature in ze_engine
artemisTurintech 77b5549
Match create_hostbuffer signature in sycl_engine
artemisTurintech 4a3176c
Match create_hostbuffer signature in sycl_engine
artemisTurintech 11bc1ad
Track file-mapped host memory in remote tensor
artemisTurintech 37e8f2e
Move file tensor test next to CPU-memory test
artemisTurintech 43a0a0b
Add OCL-only file-mmap remote tensor inference test
artemisTurintech d7be9ad
still some problem with tests
michal-miotk 57a7348
fix clang
michal-miotk 0ace949
fix clang
michal-miotk d76930f
fix test
michal-miotk e0f388d
wip
michal-miotk 4b8a409
added more requirements, delete one comment
michal-miotk 529f35e
wip
michal-miotk 6a60247
wip
michal-miotk c840721
more test cases
michal-miotk 2ce2993
fix test on windows
michal-miotk ad8bd7c
added rw to mmap
michal-miotk b519c40
tests rw
michal-miotk 849eba8
doc update
michal-miotk 0e45da9
apply copilot insights and more
michal-miotk e1ea02f
Merge branch 'master' into tensor_file
michal-miotk b388ab7
fix comments of copilot
michal-miotk 49ecdf3
apply some of reviewer comments
michal-miotk a0930ec
Merge branch 'master' into tensor_file
michal-miotk f12d420
change api
michal-miotk ff2d11a
fix compilation
michal-miotk aa3bc56
Revert "apply some of reviewer comments"
michal-miotk 569801b
apply reviewer comment
michal-miotk ea39144
apply reviewer comments
michal-miotk 7c9af31
added missing docs for cpu pointer (scope of PR 36539)
michal-miotk adcecaf
edit test
michal-miotk 623d9b5
Merge branch 'master' into tensor_file
michal-miotk 57d3976
delete unnecessary flag - FILE_MAP_WRITE is read write access
michal-miotk 7ad7ea9
better comment, better mode
michal-miotk 21a8abe
enable file share delete for rw variant
michal-miotk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.