GSTT-CSC / MLOps

Framework for building ML apps
GNU General Public License v3.0
9 stars 5 forks source link

improve implementation of num_workers input for DataLoaders #157

Open sophie22 opened 8 months ago

sophie22 commented 8 months ago

num_workers in pytorch may be set to 0 to use all available workers, but MLOps uses the num_workers value directly to set the max_workers, causing the below error

Screenshot 2023-11-07 at 14 52 31