# Setting Hyperparameters for Datasets

**URL:** <https://discuss.ray.io/t/setting-hyperparameters-for-datasets/12072>\
**Category:** Uncategorized\
**Created:** [September 7, 2023, 2:50pm UTC](https://discuss.ray.io/t/setting-hyperparameters-for-datasets/12072 "2023-09-07T14:50:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![f2010126](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/f2010126/32/4729_2.png) [@f2010126](https://discuss.ray.io/u/f2010126)\
**Post date:** [September 7, 2023, 2:50pm UTC](https://discuss.ray.io/t/setting-hyperparameters-for-datasets/12072/1 "2023-09-07T14:50:40Z")

</div>

Hi all!

I’d like to optimise the hyperparameters (batch size, sequence length) of my dataset as well.  
Is it possible to do so with the LightningTrainer and ConfigBuilder or should I use the Vanilla Pytorch with Tune? Would the Vanilla Pytorch also be valid for parallel trials with multiple GPUs?

Also, what platforms should I be using to ask my doubts? I have asked this on github and the slack channel as well.

Thank you 🙂
