mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[functorch] Update
This commit is contained in:
@ -224,9 +224,9 @@ static void sanityCheckStack(const c10::OperatorHandle& op, torch::jit::Stack* s
|
||||
|
||||
void dynamicLayerFrontFallback(const c10::OperatorHandle& op, torch::jit::Stack* stack) {
|
||||
auto& dynamicLayerStack = dynamicLayerStackAccessor();
|
||||
if (c10::show_dispatch_trace_enabled()) {
|
||||
std::cout << "DLS size: " << dynamicLayerStack.size() << std::endl;
|
||||
}
|
||||
// if (c10::show_dispatch_trace_enabled()) {
|
||||
// std::cout << "DLS size: " << dynamicLayerStack.size() << std::endl;
|
||||
// }
|
||||
if (dynamicLayerStack.size() == 0) {
|
||||
sanityCheckStack(op, stack);
|
||||
c10::impl::ExcludeDispatchKeyGuard guard(all_dynlayer_keyset);
|
||||
|
Reference in New Issue
Block a user