-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support for handling Benchmarks V2 (#234)
* wip * Make `BenchmarkSpecification` into an abstract class, and have V1 and V2 implementations. Add Pydantic models for the V2 split, and V2 validations. * Post-rebase cleanup * Further split V1 and V2 into two classes. Tighten model validation so everything stays coherent. Serialize the artifact version when dumping a model. Various fixes. * Add upload in client. Rework the path handling in the storage session. * Fix some errors with get functions * Fix splitfiles upload and failing tests * Add some test coverage * Review feedback --------- Co-authored-by: Honore Hounwanou <[email protected]>
- Loading branch information
1 parent
ff0bb3b
commit abb9b29
Showing
23 changed files
with
1,057 additions
and
520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
from polaris.benchmark._base import BenchmarkSpecification | ||
from polaris.benchmark._definitions import ( | ||
MultiTaskBenchmarkSpecification, | ||
SingleTaskBenchmarkSpecification, | ||
) | ||
from polaris.benchmark._base import BenchmarkSpecification, BenchmarkV1Specification | ||
from polaris.benchmark._definitions import MultiTaskBenchmarkSpecification, SingleTaskBenchmarkSpecification | ||
|
||
__all__ = [ | ||
"BenchmarkSpecification", | ||
"BenchmarkV1Specification", | ||
"SingleTaskBenchmarkSpecification", | ||
"MultiTaskBenchmarkSpecification", | ||
] |
Oops, something went wrong.