mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-03 01:55:12 +00:00
[test] fixed tests failed due to dtensor change (#4082)
* [test] fixed tests failed due to dtensor change * polish code
This commit is contained in:
@@ -58,13 +58,4 @@ def test_evoformer_block(model, shape, max_memory):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
run_test(
|
||||
rank=0,
|
||||
data=get_data(LATENTS_SHAPE),
|
||||
max_memory=None,
|
||||
model=UNet2DModel,
|
||||
print_code=False,
|
||||
print_mem=True,
|
||||
print_est_mem=False,
|
||||
print_progress=False,
|
||||
)
|
||||
test_evoformer_block()
|
||||
|
Reference in New Issue
Block a user