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

[Dynamo] non-linear operator support + tests #143

Merged
merged 21 commits into from Mar 24, 2023

Conversation

AndreSlavescu
Copy link
Contributor

[Dynamo] non-linear operator support + tests

  • Non-linear operator support from torch.nn.functional and torch.nn

features

  • added abs operator in fp32 and fp64 (cpu + cuda)
  • tests for each torch.nn.functional and torch.nn operator

Copy link
Member

@yaoyaoding yaoyaoding left a comment

Choose a reason for hiding this comment

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

Thanks @AndreSlavescu! It generally looks good. I left some suggestions on the minor issues.

python/hidet/graph/ops/definitions/activation.py Outdated Show resolved Hide resolved
python/hidet/ir/primitives/math.py Outdated Show resolved Hide resolved
tests/operators/test_activation.py Outdated Show resolved Hide resolved
tests/operators/test_activation.py Outdated Show resolved Hide resolved
python/hidet/graph/ops/definitions/activation.py Outdated Show resolved Hide resolved
python/hidet/graph/ops/definitions/activation.py Outdated Show resolved Hide resolved
python/hidet/graph/ops/definitions/activation.py Outdated Show resolved Hide resolved
python/hidet/graph/ops/definitions/activation.py Outdated Show resolved Hide resolved
python/hidet/graph/ops/definitions/activation.py Outdated Show resolved Hide resolved
Copy link
Member

@yaoyaoding yaoyaoding left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @AndreSlavescu.

@yaoyaoding yaoyaoding merged commit 01d4b93 into hidet-org:main Mar 24, 2023
2 checks passed
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.

None yet

2 participants