Skip to content

Commit

Permalink
Test more intermediate batch sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
StuartAbercrombie committed Dec 4, 2023
1 parent 03097c2 commit 7a745e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dorado/nn/MetalCRFModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ class MetalCaller {
std::set<int> test_batch_sizes{min_batch_size, max_batch_size};

// Add some batch sizes evenly distributed in between.
const int kNumIntermediateSizes = 8;
const int kNumIntermediateSizes = 16;
const float test_size_increment = static_cast<float>(max_batch_size - min_batch_size) /
static_cast<float>(kNumIntermediateSizes + 1);
for (int i = 0; i < kNumIntermediateSizes; ++i) {
Expand Down

0 comments on commit 7a745e3

Please sign in to comment.