# How to have optional run resources

**URL:** https://guildai.org/t/how-to-have-optional-run-resources/494
**Category:** General
**Created:** [December 7, 2020, 1:30pm UTC](https://guildai.org/t/how-to-have-optional-run-resources/494 "2020-12-07T13:30:14Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![garrett](https://yyz1.discourse-cdn.com/flex031/user_avatar/guildai.org/garrett/32/224_2.png) [@garrett](https://guildai.org/u/garrett)
#### Post date: [June 13, 2022, 3:21pm UTC](https://guildai.org/t/how-to-have-optional-run-resources/494/7 "2022-06-13T15:21:33Z")

</div>

This has been lingering! We have a request for `optional` for a different use case:

> [@Self requiring operation](https://guildai.org/t/self-requiring-operation/886):
>
> I am trying to learn a recipe (a sequence of hyperparameters) to train a model. In essence, I would like to have the model requiring itself in a fashion like this: op: main: XX flags: [some flags] requires: - operation: op select: [saved model] pipeline: steps: - op [flags setting 1] - op [flags setting 2] But obviously, the first op won’t have an existing run to require. The only work around I can think of is to have the flag isolate-runs set to no and manually cre…

I think this needs to land, in addition to the `multi-run` feature.

---

_[View the full topic](https://guildai.org/t/how-to-have-optional-run-resources/494)._
