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

Updating dataproc container cost to be multiplied by number of cores #648

Merged
merged 9 commits into from
Nov 3, 2023

Conversation

mattahrens
Copy link
Collaborator

Closes #607

@mattahrens mattahrens self-assigned this Nov 2, 2023
@mattahrens mattahrens added the user_tools Scope the wrapper module running CSP, QualX, and reports (python) label Nov 2, 2023
@@ -306,12 +306,14 @@ def __calculate_dataproc_group_cost(self, cluster_inst: ClusterGetAccessor, node
if gpu_per_machine > 0:
gpu_unit_price = self.price_provider.get_gpu_price(gpu_type)
gpu_cost = gpu_unit_price * gpu_per_machine
return nodes_cnt * (cores_cost + memory_cost + gpu_cost)
return nodes_cnt * (cores_cost + memory_cost + dataproc_cost + gpu_cost)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Need to remove dataproc_cost reference here

Copy link
Collaborator

@parthosa parthosa left a comment

Choose a reason for hiding this comment

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

Thanks @mattahrens

@mattahrens mattahrens merged commit 67200e9 into NVIDIA:dev Nov 3, 2023
8 checks passed
@mattahrens mattahrens deleted the fix-dataproc-container-cost-607 branch November 3, 2023 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user_tools Scope the wrapper module running CSP, QualX, and reports (python)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Incorrect Dataproc container cost
2 participants