Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FlyteCtl] Update LaunchPlan #394

Closed
brucearctor opened this issue Jul 9, 2020 · 1 comment
Closed

[FlyteCtl] Update LaunchPlan #394

brucearctor opened this issue Jul 9, 2020 · 1 comment
Labels
enhancement New feature or request flytectl Issues related to flytectl -Flytes CLI good first issue Good for newcomers

Comments

@brucearctor
Copy link
Contributor

No description provided.

@brucearctor brucearctor added enhancement New feature or request untriaged This issues has not yet been looked at by the Maintainers labels Jul 9, 2020
@kumare3 kumare3 added good first issue Good for newcomers help wanted Extra attention is needed and removed untriaged This issues has not yet been looked at by the Maintainers labels Jul 9, 2020
@kumare3 kumare3 added flytectl Issues related to flytectl -Flytes CLI and removed help wanted Extra attention is needed labels Feb 9, 2021
@pmahindrakar-oss
Copy link
Contributor

Taken care of using this #919

eapolinario pushed a commit to eapolinario/flyte that referenced this issue Dec 6, 2022
* Add bigquery plugin

Signed-off-by: Kevin Su <[email protected]>

* rerun tests

Signed-off-by: Kevin Su <[email protected]>

* Use go 1.16

Signed-off-by: Kevin Su <[email protected]>
eapolinario pushed a commit to eapolinario/flyte that referenced this issue Dec 20, 2022
eapolinario pushed a commit to eapolinario/flyte that referenced this issue Aug 9, 2023
* Add bigquery plugin

Signed-off-by: Kevin Su <[email protected]>

* rerun tests

Signed-off-by: Kevin Su <[email protected]>

* Use go 1.16

Signed-off-by: Kevin Su <[email protected]>
eapolinario pushed a commit that referenced this issue Sep 6, 2023
eapolinario pushed a commit that referenced this issue Sep 8, 2023
* Add elastic config args to pytorch proto

Signed-off-by: Fabio Graetz <[email protected]>

* Add elastic config message type for torchrun training

Signed-off-by: Fabio Graetz <[email protected]>

---------

Signed-off-by: Fabio Graetz <[email protected]>
Co-authored-by: Fabio Grätz <[email protected]>
Co-authored-by: Ketan Umare <[email protected]>
eapolinario pushed a commit that referenced this issue Sep 13, 2023
* Add elastic config args to pytorch proto

Signed-off-by: Fabio Graetz <[email protected]>

* Add elastic config message type for torchrun training

Signed-off-by: Fabio Graetz <[email protected]>

---------

Signed-off-by: Fabio Graetz <[email protected]>
Co-authored-by: Fabio Grätz <[email protected]>
Co-authored-by: Ketan Umare <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
pvditt pushed a commit that referenced this issue Dec 29, 2023
* Add elastic config args to pytorch proto

Signed-off-by: Fabio Graetz <[email protected]>

* Add elastic config message type for torchrun training

Signed-off-by: Fabio Graetz <[email protected]>

---------

Signed-off-by: Fabio Graetz <[email protected]>
Co-authored-by: Fabio Grätz <[email protected]>
Co-authored-by: Ketan Umare <[email protected]>
eapolinario pushed a commit to eapolinario/flyte that referenced this issue Apr 30, 2024
…teorg#394)

* Fix docs

Signed-off-by: Ankit Goyal <[email protected]>

* add generated docs

Signed-off-by: Ankit Goyal <[email protected]>

---------

Signed-off-by: Ankit Goyal <[email protected]>
Signed-off-by: Ankit Goyal <[email protected]>
eapolinario pushed a commit to eapolinario/flyte that referenced this issue Apr 30, 2024
…teorg#394)

* Fix docs

Signed-off-by: Ankit Goyal <[email protected]>

* add generated docs

Signed-off-by: Ankit Goyal <[email protected]>

---------

Signed-off-by: Ankit Goyal <[email protected]>
Signed-off-by: Ankit Goyal <[email protected]>
austin362667 pushed a commit to austin362667/flyte that referenced this issue May 7, 2024
…teorg#394)

* Fix docs

Signed-off-by: Ankit Goyal <[email protected]>

* add generated docs

Signed-off-by: Ankit Goyal <[email protected]>

---------

Signed-off-by: Ankit Goyal <[email protected]>
Signed-off-by: Ankit Goyal <[email protected]>
robert-ulbrich-mercedes-benz pushed a commit to robert-ulbrich-mercedes-benz/flyte that referenced this issue Jul 2, 2024
…teorg#394)

* Fix docs

Signed-off-by: Ankit Goyal <[email protected]>

* add generated docs

Signed-off-by: Ankit Goyal <[email protected]>

---------

Signed-off-by: Ankit Goyal <[email protected]>
Signed-off-by: Ankit Goyal <[email protected]>
hamersaw pushed a commit that referenced this issue Dec 18, 2024
This change adds a new `FastTaskAssignment` message type to fast task protos, which is used to send actor assignment info to admin via task events.

While here I also hardened linting on our protos and updates existing protos to conform. This matches the restrictions we have in place in unionai/cloud/idl

- [x] Add and run unittests
- [x] Run locally and verify worker assignment info comes through in task events

```
❯ curl -s http://localhost:8088/api/v1/task_executions/flytesnacks/development/f0dcb5e7cae6d47acaf3/n0\?limit\=100 | jq '.taskExecutions[0].closure.metadata.externalResources'
[
  {
    "externalId": "",
    "index": 0,
    "retryAttempt": 0,
    "phase": "UNDEFINED",
    "cacheStatus": "CACHE_DISABLED",
    "logs": [],
    "customInfo": {
      "assignedWorker": "example-2b377271ee80",
      "environmentId": "flytesnacks_development_example_c183cb6c9868d96"
    }
  }
]

❯ curl -s http://localhost:8088/api/v1/task_executions/flytesnacks/development/f0dcb5e7cae6d47acaf3/n1\?limit\=100 | jq '.taskExecutions[0].closure.metadata.externalResources'
[
  {
    "externalId": "",
    "index": 0,
    "retryAttempt": 0,
    "phase": "UNDEFINED",
    "cacheStatus": "CACHE_DISABLED",
    "logs": [],
    "customInfo": {
      "assignedWorker": "example-2b377271ee80",
      "environmentId": "flytesnacks_development_example_c183cb6c9868d96"
    }
  }
]
```

One merged, bring to cloud. Will be a no-op initially, but we can use this in a few dependent tasks to surface logs or look up other fast task worker info.

Should this change be upstreamed to OSS (flyteorg/flyte)? If not, please uncheck this box, which is used for auditing. Note, it is the responsibility of each developer to actually upstream their changes. See [this guide](https://unionai.atlassian.net/wiki/spaces/ENG/pages/447610883/Flyte+-+Union+Cloud+Development+Runbook/#When-are-versions-updated%3F).
- [ ] To be upstreamed to OSS

ref COR-1581

Add custom info field to ExternalResourceInfo
Adds a custom info field to `ExternalResourceInfo`. This is an extension of the [ExternalId](https://github.com/unionai/flyte/blob/2b6dfcaedab7ed6a7606d1434211086d064c6560/flyteidl/protos/flyteidl/event/event.proto#L269) field and can be used to pass plugin specific context or identifiers. We will use this to pass fast task worker assignment.

N/A

Just merge, not used yet

Should this change be upstreamed to OSS (flyteorg/flyte)? If not, please uncheck this box, which is used for auditing. Note, it is the responsibility of each developer to actually upstream their changes. See [this guide](https://unionai.atlassian.net/wiki/spaces/ENG/pages/447610883/Flyte+-+Union+Cloud+Development+Runbook/#When-are-versions-updated%3F).
- [x] To be upstreamed to OSS

ref COR-1581

Closes #393
hamersaw pushed a commit that referenced this issue Dec 18, 2024
This change adds a new `FastTaskAssignment` message type to fast task protos, which is used to send actor assignment info to admin via task events.

While here I also hardened linting on our protos and updates existing protos to conform. This matches the restrictions we have in place in unionai/cloud/idl

- [x] Add and run unittests
- [x] Run locally and verify worker assignment info comes through in task events

```
❯ curl -s http://localhost:8088/api/v1/task_executions/flytesnacks/development/f0dcb5e7cae6d47acaf3/n0\?limit\=100 | jq '.taskExecutions[0].closure.metadata.externalResources'
[
  {
    "externalId": "",
    "index": 0,
    "retryAttempt": 0,
    "phase": "UNDEFINED",
    "cacheStatus": "CACHE_DISABLED",
    "logs": [],
    "customInfo": {
      "assignedWorker": "example-2b377271ee80",
      "environmentId": "flytesnacks_development_example_c183cb6c9868d96"
    }
  }
]

❯ curl -s http://localhost:8088/api/v1/task_executions/flytesnacks/development/f0dcb5e7cae6d47acaf3/n1\?limit\=100 | jq '.taskExecutions[0].closure.metadata.externalResources'
[
  {
    "externalId": "",
    "index": 0,
    "retryAttempt": 0,
    "phase": "UNDEFINED",
    "cacheStatus": "CACHE_DISABLED",
    "logs": [],
    "customInfo": {
      "assignedWorker": "example-2b377271ee80",
      "environmentId": "flytesnacks_development_example_c183cb6c9868d96"
    }
  }
]
```

One merged, bring to cloud. Will be a no-op initially, but we can use this in a few dependent tasks to surface logs or look up other fast task worker info.

Should this change be upstreamed to OSS (flyteorg/flyte)? If not, please uncheck this box, which is used for auditing. Note, it is the responsibility of each developer to actually upstream their changes. See [this guide](https://unionai.atlassian.net/wiki/spaces/ENG/pages/447610883/Flyte+-+Union+Cloud+Development+Runbook/#When-are-versions-updated%3F).
- [ ] To be upstreamed to OSS

ref COR-1581

Add custom info field to ExternalResourceInfo
Adds a custom info field to `ExternalResourceInfo`. This is an extension of the [ExternalId](https://github.com/unionai/flyte/blob/2b6dfcaedab7ed6a7606d1434211086d064c6560/flyteidl/protos/flyteidl/event/event.proto#L269) field and can be used to pass plugin specific context or identifiers. We will use this to pass fast task worker assignment.

N/A

Just merge, not used yet

Should this change be upstreamed to OSS (flyteorg/flyte)? If not, please uncheck this box, which is used for auditing. Note, it is the responsibility of each developer to actually upstream their changes. See [this guide](https://unionai.atlassian.net/wiki/spaces/ENG/pages/447610883/Flyte+-+Union+Cloud+Development+Runbook/#When-are-versions-updated%3F).
- [x] To be upstreamed to OSS

ref COR-1581

Closes #393

Signed-off-by: Daniel Rammer <[email protected]>
hamersaw added a commit that referenced this issue Dec 18, 2024
* Send actor worker assignment in task events (#394)(#393)

This change adds a new `FastTaskAssignment` message type to fast task protos, which is used to send actor assignment info to admin via task events.

While here I also hardened linting on our protos and updates existing protos to conform. This matches the restrictions we have in place in unionai/cloud/idl

- [x] Add and run unittests
- [x] Run locally and verify worker assignment info comes through in task events

```
❯ curl -s http://localhost:8088/api/v1/task_executions/flytesnacks/development/f0dcb5e7cae6d47acaf3/n0\?limit\=100 | jq '.taskExecutions[0].closure.metadata.externalResources'
[
  {
    "externalId": "",
    "index": 0,
    "retryAttempt": 0,
    "phase": "UNDEFINED",
    "cacheStatus": "CACHE_DISABLED",
    "logs": [],
    "customInfo": {
      "assignedWorker": "example-2b377271ee80",
      "environmentId": "flytesnacks_development_example_c183cb6c9868d96"
    }
  }
]

❯ curl -s http://localhost:8088/api/v1/task_executions/flytesnacks/development/f0dcb5e7cae6d47acaf3/n1\?limit\=100 | jq '.taskExecutions[0].closure.metadata.externalResources'
[
  {
    "externalId": "",
    "index": 0,
    "retryAttempt": 0,
    "phase": "UNDEFINED",
    "cacheStatus": "CACHE_DISABLED",
    "logs": [],
    "customInfo": {
      "assignedWorker": "example-2b377271ee80",
      "environmentId": "flytesnacks_development_example_c183cb6c9868d96"
    }
  }
]
```

One merged, bring to cloud. Will be a no-op initially, but we can use this in a few dependent tasks to surface logs or look up other fast task worker info.

Should this change be upstreamed to OSS (flyteorg/flyte)? If not, please uncheck this box, which is used for auditing. Note, it is the responsibility of each developer to actually upstream their changes. See [this guide](https://unionai.atlassian.net/wiki/spaces/ENG/pages/447610883/Flyte+-+Union+Cloud+Development+Runbook/#When-are-versions-updated%3F).
- [ ] To be upstreamed to OSS

ref COR-1581

Add custom info field to ExternalResourceInfo
Adds a custom info field to `ExternalResourceInfo`. This is an extension of the [ExternalId](https://github.com/unionai/flyte/blob/2b6dfcaedab7ed6a7606d1434211086d064c6560/flyteidl/protos/flyteidl/event/event.proto#L269) field and can be used to pass plugin specific context or identifiers. We will use this to pass fast task worker assignment.

N/A

Just merge, not used yet

Should this change be upstreamed to OSS (flyteorg/flyte)? If not, please uncheck this box, which is used for auditing. Note, it is the responsibility of each developer to actually upstream their changes. See [this guide](https://unionai.atlassian.net/wiki/spaces/ENG/pages/447610883/Flyte+-+Union+Cloud+Development+Runbook/#When-are-versions-updated%3F).
- [x] To be upstreamed to OSS

ref COR-1581

Closes #393

Signed-off-by: Daniel Rammer <[email protected]>

* removed unused time import

Signed-off-by: Daniel Rammer <[email protected]>

---------

Signed-off-by: Daniel Rammer <[email protected]>
Co-authored-by: Andrew Dye <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request flytectl Issues related to flytectl -Flytes CLI good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants