Skip to content
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

Support convTranspose #201

Merged
merged 9 commits into from
Jul 19, 2023
Merged

Support convTranspose #201

merged 9 commits into from
Jul 19, 2023

Conversation

eguchi1904
Copy link
Contributor

@eguchi1904 eguchi1904 commented Jul 18, 2023

@@ -81,7 +81,7 @@ def check_by_data(expected, result, max_error=1e-4):

def _convert_type(dtype):
assert not WITHOUT_ONNXRUNTIME
return mapping.NP_TYPE_TO_TENSOR_TYPE[dtype]
return helper.np_dtype_to_tensor_dtype(dtype)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using mapping.NP_TYPE_TO_TENSOR_TYPE[dtype] cause following deperecation warning.

 DeprecationWarning: `mapping.NP_TYPE_TO_TENSOR_TYPE` is now deprecated and will be removed in a future release.To silence this warning, please use `helper.np_dtype_to_tensor_dtype` instead.
    return mapping.NP_TYPE_TO_TENSOR_TYPE[dtype]

@@ -24,7 +24,7 @@ def on_arm32():
result = bool(int(os.environ["ONNION_TEST_ON_ARM32"]))
except Exception:
arch = platform.machine()
if arch == "x86_64":
if arch == "x86_64" or arch == "arm64":
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add "arm64" to support apple silicon environment.

@eguchi1904 eguchi1904 marked this pull request as ready for review July 18, 2023 08:03
@Idein Idein deleted a comment from notion-workspace bot Jul 19, 2023
Copy link
Contributor

@ishiy1993 ishiy1993 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add tests which use b.

runtime/README.md Outdated Show resolved Hide resolved
runtime/onnion_runtime/convtranspose.py Outdated Show resolved Hide resolved
Copy link
Contributor

@ishiy1993 ishiy1993 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eguchi1904
Copy link
Contributor Author

🙏

@eguchi1904 eguchi1904 merged commit 07ef32a into master Jul 19, 2023
1 check passed
@eguchi1904 eguchi1904 deleted the support-convTranspose branch July 19, 2023 07:27
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.

2 participants