Skip to content

Commit

Permalink
test: try using different thread combos with tch
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvollger committed Aug 21, 2024
1 parent 3cf05f3 commit 73c2f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub fn main() -> Result<(), Error> {
let mut tch_threads = 1;
if args.global.threads >= 16 {
tch_threads = args.global.threads / 16 + 1;
set_rayon_threads(args.global.threads / tch_threads + 1)?;
//set_rayon_threads(args.global.threads / tch_threads + 1)?;
log::info!(
"Setting tch threads to: {} and rayon threads to: {}",
tch_threads,
Expand Down

0 comments on commit 73c2f8b

Please sign in to comment.