Skip to content

Commit

Permalink
Update on "[JIT] Optimize FunctionSchema::checkArg for the Tensor case."
Browse files Browse the repository at this point in the history
The Tensor case is one of the most common and the existing check can be
made faster. This results in a ~21% improvement on DeepAndWide model and
would improve other models as well.

Before the change:
```
505[ms]
491[ms]
514[ms]
538[ms]
514[ms]
554[ms]
556[ms]
512[ms]
516[ms]
527[ms]
```

After the change:
```
406[ms]
394[ms]
414[ms]
423[ms]
449[ms]
397[ms]
410[ms]
389[ms]
395[ms]
414[ms]
```

Differential Revision: [D24999486](https://our.internmc.facebook.com/intern/diff/D24999486)

[ghstack-poisoned]
  • Loading branch information
Mikhail Zolotukhin committed Nov 16, 2020
1 parent c6bf232 commit b48cd83
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit b48cd83

Please sign in to comment.