-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate framework changes, intorduce get_stable_cuda.py add py3.13t …
…required changes (#6339) 1. Introduce get_stable_cuda, this way we don't need to hardcode current stable cuda version in validations 2. Add py3.13t versions
- Loading branch information
Showing
5 changed files
with
60 additions
and
16 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
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env python3 | ||
|
||
"""Return stable CUDA version for the current channel""" | ||
|
||
import argparse | ||
import json | ||
import os | ||
import sys | ||
from typing import List | ||
|
||
|
||
def main(args: List[str]) -> None: | ||
import generate_binary_build_matrix | ||
|
||
parser = argparse.ArgumentParser() | ||
parser.add_argument( | ||
"--channel", | ||
help="Channel to use, default nightly", | ||
type=str, | ||
choices=["nightly", "test", "release"], | ||
default=os.getenv("CHANNEL", "nightly"), | ||
) | ||
options = parser.parse_args(args) | ||
print(generate_binary_build_matrix.STABLE_CUDA_VERSIONS[options.channel]) | ||
|
||
|
||
if __name__ == "__main__": | ||
main(sys.argv[1:]) |