# Num\_samples trails to updata model?

**URL:** https://discuss.ray.io/t/num-samples-trails-to-updata-model/7953
**Category:** RLlib
**Created:** [October 19, 2022, 10:26am UTC](https://discuss.ray.io/t/num-samples-trails-to-updata-model/7953 "2022-10-19T10:26:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![wangjunhe8127](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/wangjunhe8127/32/3329_2.png) [@wangjunhe8127](https://discuss.ray.io/u/wangjunhe8127)
#### Post date: [October 19, 2022, 10:26am UTC](https://discuss.ray.io/t/num-samples-trails-to-updata-model/7953/1 "2022-10-19T10:26:32Z")

</div>

Hi,I have a quesetion.if i set the config[num\_samples] ,how they updata the model?

and ,if i want to use some works to get samples, and use multi GPU to train.

and when we set num\_of\_gpus\_in\_workers, then the GPUs will only be uesed in the phase about geting samples? is not train?

please tell me ,i will very thank you~~~

---

<div class="post-metadata">

### Author: ![wangjunhe8127](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/wangjunhe8127/32/3329_2.png) [@wangjunhe8127](https://discuss.ray.io/u/wangjunhe8127)
#### Post date: [October 21, 2022, 2:42am UTC](https://discuss.ray.io/t/num-samples-trails-to-updata-model/7953/2 "2022-10-21T02:42:55Z")

</div>

can you tell me some things?thank you!
