Skip to content

Commit

Permalink
increases the max number of threads
Browse files Browse the repository at this point in the history
  • Loading branch information
taku910 committed Apr 30, 2023
1 parent 25b64fc commit 3863f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trainer_interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ util::Status VerifySpec(const TrainerSpec &trainer_spec) {
CHECK_RANGE(trainer_spec.character_coverage(), 0.98, 1.0);
CHECK_RANGE(trainer_spec.max_sentencepiece_length(), 1, 512);
CHECK_RANGE(trainer_spec.num_sub_iterations(), 1, 10);
CHECK_RANGE(trainer_spec.num_threads(), 1, 128);
CHECK_RANGE(trainer_spec.num_threads(), 1, 1024);
CHECK_RANGE(trainer_spec.self_test_sample_size(), 0, 1000);
CHECK_RANGE(trainer_spec.shrinking_factor(), 0.5, 0.95);
CHECK_RANGE(trainer_spec.max_sentence_length(), 10, 1073741824);
Expand Down

0 comments on commit 3863f76

Please sign in to comment.