facebookresearch / sapiens

High-resolution models for human tasks.
https://about.meta.com/realitylabs/codecavatars/sapiens/
Other
4.44k stars 241 forks source link

Multiple Jobs Not Work? #129

Closed GloryyrolG closed 1 month ago

GloryyrolG commented 1 month ago

Hi @rawalkhirodkar @forensicmike et al.,

thx for ur awesome contribution. may I ask why multiple jobs do not work and it seems only 1 GPU is utilized and the code is run one after the previous one is finished? thx

https://github.com/facebookresearch/sapiens/blob/2c9034f7fffc10e99b2d850631c21a63d041cb3f/lite/scripts/demo/bfloat16/seg.sh#L75

rawalkhirodkar commented 1 month ago

@GloryyrolG as the comment suggest in the code link you shared, simply add "&" at the end of the line to allow for parallel processing.

We turned this off by default to not overwhelm machines without multiple gpus.