-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[PT FE] Support aten::_autocast_to_full_precision #29929
base: master
Are you sure you want to change the base?
Conversation
import sys | ||
from pathlib import Path | ||
|
||
# Add the appropriate paths to sys.path for resolving common and pytorch_layer_test_class | ||
sys.path.append(str(Path(__file__).resolve().parent.parent.parent)) | ||
sys.path.append(str(Path(__file__).resolve().parent.parent)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import sys | |
from pathlib import Path | |
# Add the appropriate paths to sys.path for resolving common and pytorch_layer_test_class | |
sys.path.append(str(Path(__file__).resolve().parent.parent.parent)) | |
sys.path.append(str(Path(__file__).resolve().parent.parent)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mvafin can you explain little more what i have to do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need these changes to run tests. If you have issues, you may use PYTHONPATH
to solve your individual issues with environment
src/frontends/pytorch/src/op/cat.cpp
Outdated
if (input_type == element::f32) { | ||
return {input}; | ||
} | ||
auto full_precision_tensor = context.mark_node(std::make_shared<v1::ConvertLike>(input, input, element::f32)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no such constructor for COnvertLike
. Your code cannot be built
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure your code builts
closes #29680
Description: