-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename the input samples and number of input samples
Summary: Rename the term "batch" to "input". We will stick to the following behavior: 1. "num_inputs" refers to the number of sample inputs of the benchmark. For example, "--num-inputs 4" runs 4 different inputs in the benchmark. 2. "input_id" refers to the i-th sample input. For example, "--input-id 5" starts from the 5-th input returned by the input generator. 3. When combined together, e.g., "--input-id 5 --num-inputs 4", we start from the 5-th input and runs 4 different inputs from there. i.e., we run the 5,6,7,8-th inputs returned by the input generator. We should clarify the usage of term "batch", it only refers to the "B" dimension of the input tensors in batched opeartors, such as batched matmul or batched attention. Reviewed By: sijiac Differential Revision: D56534046 fbshipit-source-id: 4a7ea4b48881679b18d6137545b0e3c81f717abf
- Loading branch information
Showing
3 changed files
with
76 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters