"tests/vscode:/vscode.git/clone" did not exist on "21d6a48f4d9a4c3880110aecde9015fbe303ce9f"
Unverified Commit 51597f6a authored by Jiarui Fang's avatar Jiarui Fang Committed by GitHub
Browse files

[hotfix] pass test_complete_workflow (#1877)

parent 986f8cba
......@@ -50,7 +50,7 @@ def run_workflow(world_size, dev):
annotated_gm.recompile()
# materialization and sharding
ctx.lazy_init_parameters(annotated_gm)
ctx.lazy_init_parameters(annotated_gm, device=dev)
for param in model.parameters():
assert not param.is_meta
......@@ -84,4 +84,4 @@ def test_complete_workflow(world_size, dev):
if __name__ == '__main__':
test_complete_workflow(1)
test_complete_workflow(1, 'cuda')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment