# How to run multiple deployments in ray serve 2.0

**URL:** <https://discuss.ray.io/t/how-to-run-multiple-deployments-in-ray-serve-2-0/7681>\
**Category:** Ray Serve\
**Created:** [September 26, 2022, 5:27pm UTC](https://discuss.ray.io/t/how-to-run-multiple-deployments-in-ray-serve-2-0/7681 "2022-09-26T17:27:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![puntime\_error](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/puntime_error/32/502_2.png) [@puntime\_error](https://discuss.ray.io/u/puntime_error)\
**Post date:** [October 4, 2022, 4:15pm UTC](https://discuss.ray.io/t/how-to-run-multiple-deployments-in-ray-serve-2-0/7681/5 "2022-10-04T16:15:05Z")

</div>

When I was converting from ray 1.11 to 2.0, I was still able to deploy multiple models like this:

`Model1.options(init_args=model1_args, num_replicas=1, name="model1").deploy()`

`Model2.options( init_args=model2_args, num_replicas=num_reps, name="model2", ray_actor_options={"num_gpus": 1} ).deploy()`

That being said, I was making direct calls on the model and not via the url served endpoints.

I did eventually convert over to use the DAG just to see how to works

---

_[View the full topic](https://discuss.ray.io/t/how-to-run-multiple-deployments-in-ray-serve-2-0/7681)._
