Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

add gpu_accelerator field to core.Resources #445

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jeevb
Copy link
Contributor

@jeevb jeevb commented Sep 22, 2023

Read then delete this section

- Make sure to use a concise title for the pull-request.

- Use #patch, #minor or #major in the pull-request title to bump the corresponding version. Otherwise, the patch version
will be bumped. More details

TL;DR

Please replace this text with a description of what this PR accomplishes.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

How did you fix the bug, make the feature etc. Link to any design docs etc

Tracking Issue

Remove the 'fixes' keyword if there will be multiple PRs to fix the linked issue

fixes https://github.com/flyteorg/flyte/issues/

Follow-up issue

NA
OR
https://github.com/flyteorg/flyte/issues/

This reverts commit ef37788.

Signed-off-by: Jeev B <jeevb@users.noreply.github.com>
Signed-off-by: Jeev B <jeevb@users.noreply.github.com>
Signed-off-by: Jeev B <jeevb@users.noreply.github.com>
@jeevb jeevb force-pushed the jeev/refactor-gpu-accelerator branch from b901b42 to 38e5c44 Compare September 22, 2023 19:41
@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (b130a81) 75.92% compared to head (93a0cc8) 78.48%.
Report is 2 commits behind head on master.

❗ Current head 93a0cc8 differs from pull request most recent head c453ab0. Consider uploading reports for the commit c453ab0 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #445      +/-   ##
==========================================
+ Coverage   75.92%   78.48%   +2.55%     
==========================================
  Files          18       18              
  Lines        1458     1250     -208     
==========================================
- Hits         1107      981     -126     
+ Misses        294      212      -82     
  Partials       57       57              
Flag Coverage Δ
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

see 18 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Base automatically changed from jeev/revert-resource-metadata to master September 25, 2023 21:19
// information about device type, and for multi-instance GPUs, the partition size to
// use.
message GPUAccelerator {
string device = 1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: could we add a comment or example (e.g. A100, Nvidia/GPU, something like that) for device?

Signed-off-by: Jeev B <jeevb@users.noreply.github.com>
@jeevb jeevb force-pushed the jeev/refactor-gpu-accelerator branch from 04cc479 to 7493382 Compare October 3, 2023 20:57
Signed-off-by: Jeev B <jeevb@users.noreply.github.com>
@jeevb jeevb force-pushed the jeev/refactor-gpu-accelerator branch from 7493382 to c453ab0 Compare October 3, 2023 20:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants