neuralforecast
neuralforecast copied to clipboard
[FEAT] enable setting gpu optimization variables
This is to allow adjusting the torch pin_memory and prefetch_factor variables to optimize gpu usage.
Note: by adjusting these variables I am now able to increase GPU usage to 95% whereas with just the num_workers variable that is currently exposed to the interface, GPU usage hovers around 40-60%.