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

Question about auto_sharding.py #936

Open
kevinsouthxu opened this issue Jun 15, 2023 · 0 comments
Open

Question about auto_sharding.py #936

kevinsouthxu opened this issue Jun 15, 2023 · 0 comments

Comments

@kevinsouthxu
Copy link

kevinsouthxu commented Jun 15, 2023

I implement a new intra-operator-strategy searching algorithm to replace the _call_solver_serialized_args in auto_sharding.py
but I got errors when executing:
(MeshHostWorker pid=77816) 2023-06-15 02:37:13.289767: E external/org_tensorflow/tensorflow/compiler/xla/pjrt/[pjrt_stream_executor_client.cc:2156](http://pjrt_stream_executor_client.cc:2156/)] Execution of replica 0 failed: INVALID_ARGUMENT: Executable expected shape f32[8192,2048]{1,0} for argument 1 but got incompatible shape f32[4096,2048]{1,0} (MeshHostWorker pid=77816) 2023-06-15 02:37:13.289837: E external/org_tensorflow/tensorflow/compiler/xla/pjrt/[pjrt_stream_executor_client.cc:2156](http://pjrt_stream_executor_client.cc:2156/)] Execution of replica 0 failed: INVALID_ARGUMENT: Executable expected shape f32[8192,2048]{1,0} for argument 1 but got incompatible shape f32[4096,2048]{1,0}

I wonder where there exists some constraint when selecting parallelism strategy?
But I think I consider all the constraints in the _call_solver_serialized_args implemented with ILP solver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant