Repository navigation
feat: Add helpers for NumPy and PyTorch conversions - #24
Merged
Merged
Conversation
papazof
force-pushed
the
feat_add_tensor_bytes_np_input
branch
8 times, most recently
from
June 16, 2025 04:11
2e3dc86 to
1c16329
Compare
papazof
marked this pull request as ready for review
June 16, 2025 04:31
Contributor
Author
There is a change in the |
Convert inference ops to subpackages and split component definitions into separate modules PR: #24 Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com> Reviewed-by: Anastassios Nanos <ananos@nubificus.co.uk> Approved-by: Anastassios Nanos <ananos@nubificus.co.uk>
Add methods to create or convert tensors from/to bytes or byte-like objects PR: #24 Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com> Reviewed-by: Anastassios Nanos <ananos@nubificus.co.uk> Approved-by: Anastassios Nanos <ananos@nubificus.co.uk>
Add helpers for NumPy array conversions - Add `CType`-based wrapper for NumPy arrays - Add methods to create tensors from NumPy arrays - Add methods to create NumPy arrays from tensors - Split `TensorType` convertors into separate classes PR: #24 Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com> Reviewed-by: Anastassios Nanos <ananos@nubificus.co.uk> Approved-by: Anastassios Nanos <ananos@nubificus.co.uk>
Add `Tensor` methods to create/get vAccel Torch tensors from/as PyTorch tensors PR: #24 Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com> Reviewed-by: Anastassios Nanos <ananos@nubificus.co.uk> Approved-by: Anastassios Nanos <ananos@nubificus.co.uk>
Install older, pre-meson NumPy, to avoid cross-compilation issues with our ARM 32-bit runners PR: #24 Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com> Reviewed-by: Anastassios Nanos <ananos@nubificus.co.uk> Approved-by: Anastassios Nanos <ananos@nubificus.co.uk>
github-actions
Bot
force-pushed
the
feat_add_tensor_bytes_np_input
branch
from
June 16, 2025 12:03
1c16329 to
598d0f7
Compare
ananos
pushed a commit
that referenced
this pull request
Jun 16, 2025
Convert inference ops to subpackages and split component definitions into separate modules PR: #24 Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com> Reviewed-by: Anastassios Nanos <ananos@nubificus.co.uk> Approved-by: Anastassios Nanos <ananos@nubificus.co.uk>
ananos
pushed a commit
that referenced
this pull request
Jun 16, 2025
Add methods to create or convert tensors from/to bytes or byte-like objects PR: #24 Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com> Reviewed-by: Anastassios Nanos <ananos@nubificus.co.uk> Approved-by: Anastassios Nanos <ananos@nubificus.co.uk>
ananos
pushed a commit
that referenced
this pull request
Jun 16, 2025
Add helpers for NumPy array conversions - Add `CType`-based wrapper for NumPy arrays - Add methods to create tensors from NumPy arrays - Add methods to create NumPy arrays from tensors - Split `TensorType` convertors into separate classes PR: #24 Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com> Reviewed-by: Anastassios Nanos <ananos@nubificus.co.uk> Approved-by: Anastassios Nanos <ananos@nubificus.co.uk>
ananos
pushed a commit
that referenced
this pull request
Jun 16, 2025
Add `Tensor` methods to create/get vAccel Torch tensors from/as PyTorch tensors PR: #24 Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com> Reviewed-by: Anastassios Nanos <ananos@nubificus.co.uk> Approved-by: Anastassios Nanos <ananos@nubificus.co.uk>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add helpers for NumPy and PyTorch conversions:
CType-based wrapper for NumPy arraysTensormethods to create/get vAccel Torch tensors from/as PyTorch tensors