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

[Dy2St][2.6] Disable test_transformer on release/2.6 and update README #60786

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[Dy2St][2.6] Disable test_transformer on release/2.6 and update README
  • Loading branch information
SigureMo committed Jan 13, 2024
commit 4a5bced3b3b9b8d3f9031ca915169070cbfb694a
23 changes: 12 additions & 11 deletions test/dygraph_to_static/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,6 @@ if(WIN32 AND NOT WITH_GPU)
)# disable on Windows CPU CI for timeout
endif()

if(NOT WITH_GPU)
# TODO(SigureMo): Temporarily disable train step on Windows CPU CI.
# We should remove this after fix the performance issue.
list(REMOVE_ITEM TEST_OPS test_train_step_resnet18_adam)
list(REMOVE_ITEM TEST_OPS test_train_step_resnet18_sgd)
# disable some model test on CPU to avoid timeout
list(REMOVE_ITEM TEST_OPS test_resnet)
list(REMOVE_ITEM TEST_OPS test_build_strategy)
list(REMOVE_ITEM TEST_OPS test_bert)
endif()

foreach(TEST_OP ${TEST_OPS})
py_test_modules(${TEST_OP} MODULES ${TEST_OP} ENVS ${GC_ENVS} ${SOT_ENVS})
endforeach()
Expand Down Expand Up @@ -77,3 +66,15 @@ foreach(ITEST ${LEGACY_ONLY_TEST_FILES})
STATUS "PT Disabled OpTest: not found ${ITEST} in dygraph_to_static")
endif()
endforeach()

if(NOT WITH_GPU)
# TODO(SigureMo): Temporarily disable train step on Windows CPU CI.
# We should remove this after fix the performance issue.
list(REMOVE_ITEM TEST_OPS test_train_step_resnet18_adam)
list(REMOVE_ITEM TEST_OPS test_train_step_resnet18_sgd)
# disable some model test on CPU to avoid timeout
list(REMOVE_ITEM TEST_OPS test_resnet)
list(REMOVE_ITEM TEST_OPS test_build_strategy)
list(REMOVE_ITEM TEST_OPS test_bert)
list(REMOVE_ITEM TEST_OPS test_transformer)
endif()