Skip to content

feat: Added compute capability for Orin #1003

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

Merged
merged 1 commit into from
May 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions core/lowering/register_trt_placeholder_ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ c10::AliasAnalysisKind aliasAnalysisFromSchema() {
RegisterOperators trt_placeholder_ops_reg({
/// Op marks a Tensor to be conveted from an Torch Tensor
/// to a TRT constant Tensor
Operator(
"trt::const(Tensor val) -> Tensor",
[](Stack& stack) { /*noop*/ },
aliasAnalysisFromSchema()),
Operator("trt::const(Tensor val) -> Tensor", [](Stack& stack) { /*noop*/ }, aliasAnalysisFromSchema()),
});

} // namespace jit
Expand Down
2 changes: 1 addition & 1 deletion core/runtime/runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ DeviceList get_available_device_list() {
// SM Compute capability <Compute Capability, Device Name> map
const std::unordered_map<std::string, std::string>& get_dla_supported_SMs() {
// Xavier SM Compute Capability
static std::unordered_map<std::string, std::string> dla_supported_SM = {{"7.2", "Xavier"}};
static std::unordered_map<std::string, std::string> dla_supported_SM = {{"7.2", "Xavier"}, {"8.7", "Orin"}};
return dla_supported_SM;
}

Expand Down