Skip to content

Conversation

@lucas-aixplain
Copy link
Contributor

Task: M-5695622453

cost_map = finetune.cost.to_dict()
assert "trainingCost" in cost_map
assert "hostingCost" in cost_map
assert "inferenceCost" in cost_map
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a way to assert the exact costs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, as this is an estimate, the cost can vary depending on the random sample extracted from the dataset.

@lucas-aixplain lucas-aixplain merged commit 46e586b into main Dec 15, 2023
@lucas-aixplain lucas-aixplain deleted the M-5695622453-addFinetunerCostEstimationTests branch December 15, 2023 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants