-
Notifications
You must be signed in to change notification settings - Fork 467
Enable ROCm CI support. #1260
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
base: main
Are you sure you want to change the base?
Enable ROCm CI support. #1260
Changes from all commits
4074d0c
340478a
51427a7
2848d51
cb13ad4
de9bdcc
f634f00
87a5a59
d748586
66eba9f
2d317c3
18025ad
724e202
15a9554
cb528bc
66e5c95
efd11a8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
akashveramd marked this conversation as resolved.
Show resolved
Hide resolved
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,16 @@ | |
except ModuleNotFoundError: | ||
import tomli as tomllib | ||
|
||
# tests skipped for ROCm | ||
skip_for_rocm_test_list = [ | ||
"pp_looped_zero_bubble", | ||
"pp_zbv", | ||
"pp_custom_csv", | ||
"last_save_model_weights_only_bf16", | ||
"last_save_model_weights_only_fp32", | ||
] | ||
TEST_WITH_ROCM = os.getenv("TEST_WITH_ROCM", "0") == "1" | ||
akashveramd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
|
||
@dataclass | ||
class OverrideDefinitions: | ||
|
@@ -568,6 +578,11 @@ def run_tests(args): | |
) | ||
if is_integration_test: | ||
for test_flavor in integration_tests_flavors[config_file]: | ||
if ( | ||
TEST_WITH_ROCM | ||
and test_flavor.test_name in skip_for_rocm_test_list | ||
): | ||
continue | ||
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. This logic makes sense to me, but if we really want to use the test setting in integration_tests_h100.py, we should move this logic to that file (and of course rename it to be more agnostic). 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. @jithunnair-amd : All tests in integration_tests_h100.py passes for rocm. Hence, we don't TEST_WITH_ROCM in integration_tests_h100.py. However, we need to talk about renaming integration_tests_h100.py filename as we also run it on rocm runners. |
||
if args.test == "all" or test_flavor.test_name == args.test: | ||
if args.ngpu < test_flavor.ngpu: | ||
logger.info( | ||
|
Uh oh!
There was an error while loading. Please reload this page.