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 950db17 commit e6d0e61
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 @@ -69,7 +69,7 @@ pub fn main() -> Result<(), Error> {
{
let mut tch_threads = 1;
if args.global.threads >= 16 {
tch_threads = 2;
tch_threads = 1;
//set_rayon_threads(args.global.threads / tch_threads + 1)?;
log::info!(
"Setting tch threads to: {} and rayon threads to: {}",
Expand Down

0 comments on commit e6d0e61

Please sign in to comment.