-
Notifications
You must be signed in to change notification settings - Fork 319
Remove nvenc/dec for xenna 0.1.6 #1202
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
Changes from all commits
a81baf9
d9f705a
118fc95
3223e96
d9834e6
73d9dd3
93d40cb
9ea9184
ec9a212
84fb624
85814d2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,17 +36,13 @@ class Resources: | |
| Attributes: | ||
| cpus: Number of CPU cores required | ||
| gpu_memory_gb: GPU memory required in GB (Only for single-GPU stages) | ||
| nvdecs: Number of NVDEC units required | ||
| nvencs: Number of NVENC units required | ||
| entire_gpu: Whether to allocate entire GPU regardless of memory (This also gives you nvdecs and nvencs of that GPU) | ||
| entire_gpu: Whether to allocate entire GPU regardless of memory | ||
| gpus: Number of GPUs required (Only for multi-GPU stages) | ||
| """ | ||
|
Comment on lines
36
to
41
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. style: Check that documentation is updated. Several doc files still reference removed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @suiyoubi @praateekmahajan Can you take a look at this? Not addressing this in this PR. |
||
|
|
||
| # TODO : Revisit this gpu_memory_gb, gpus, entire_gpu too many variables for gpu | ||
| cpus: float = 1.0 | ||
| gpu_memory_gb: float = 0.0 | ||
| nvdecs: int = 0 | ||
| nvencs: int = 0 | ||
| entire_gpu: bool = False | ||
| gpus: float = 0.0 | ||
|
|
||
|
|
@@ -70,6 +66,9 @@ def __post_init__(self): | |
| error_message += "Please use gpus for multi-GPU stages." | ||
| raise ValueError(error_message) | ||
|
|
||
| if self.entire_gpu: | ||
| self.gpus = 1.0 | ||
|
Comment on lines
+69
to
+70
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. logic: When
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I honestly think the best is to drop
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree with this,
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fine with me too.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed let's just drop this
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I will make a seperate issue for this to track. Let's keep it seperate. Wanna make sure we do it properly across documentation and code and stuff |
||
|
|
||
| @property | ||
| def requires_gpu(self) -> bool: | ||
| """Check if this stage requires GPU resources.""" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.