-
Notifications
You must be signed in to change notification settings - Fork 502
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
[BUG] RuntimeError: inconsistent type map #4034
Comments
When the type map is not given (which is a bug) and the data has different type maps, it is expected to raise an error, otherwise we don't know which type map should be used for the model. So #4031 should be the correct way to fix it. However, the error message should be improved. The current one is for developers but not users. |
njzjz
added a commit
to njzjz/deepmd-kit
that referenced
this issue
Aug 21, 2024
Fix deepmodeling#4034. Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
github-merge-queue bot
pushed a commit
that referenced
this issue
Aug 22, 2024
Fix #4034. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced error messaging for type map inconsistencies to provide clearer guidance for users on configuration issues. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
mtaillefumier
pushed a commit
to mtaillefumier/deepmd-kit
that referenced
this issue
Sep 18, 2024
…4074) Fix deepmodeling#4034. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced error messaging for type map inconsistencies to provide clearer guidance for users on configuration issues. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug summary
It seems that in 3.0.0b3, executing multitask training or finetune task would run into a RuntimeError, calling inconsistent type map, while the same case could run perfectly on code installed from 2024Q1 branch. The original
input.json
is uploaded, to identify the bug.And in #4031, a possible solution to this issue is addressed, but it is not the direct error raised.
DeePMD-kit Version
3.0.0b3
Backend and its version
PyTorch v2.0.0.post200, TensorFlow v2.14.0
How did you download the software?
Offline packages
Input Files, Running Commands, Error Log, etc.
input.json
Steps to Reproduce
Please run a multitask training using dataset from
Domains_Cluster
.Further Information, Files, and Links
No response
The text was updated successfully, but these errors were encountered: