Skip to content

Hash bug fix pr #384

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

Merged
merged 10 commits into from
May 16, 2025
Merged

Hash bug fix pr #384

merged 10 commits into from
May 16, 2025

Conversation

qcdipankar
Copy link
Contributor

@qcdipankar qcdipankar commented Apr 30, 2025

Adding model_card_name to hash

Addition of model_card_name to hash helps to deal with error which occurs when two models sharing the same architecture but have different model card names and weights.

In future if any more parameters are required to make the hash unique, they can be a part of the kwargs as implemeted here.

@qcdipankar qcdipankar marked this pull request as draft April 30, 2025 06:39
@quic-amitraj
Copy link
Contributor

Could you please share both the model cards, with that you have faced this issue? @qcdipankar

@quic-amitraj quic-amitraj self-requested a review April 30, 2025 09:23
@qcdipankar qcdipankar self-assigned this Apr 30, 2025
@quic-amitraj
Copy link
Contributor

There is no need of creating another var as model_name, just use pretrained_model_name_or_path from from_pretrained and assign that to the self and use at the time of hash.

@qcdipankar qcdipankar marked this pull request as ready for review May 12, 2025 17:56
@quic-amitraj
Copy link
Contributor

Remove breakpoint and make the changes. CI is failing, kindly check.

@quic-amitraj quic-amitraj marked this pull request as draft May 13, 2025 03:43
@qcdipankar qcdipankar marked this pull request as ready for review May 13, 2025 04:55
@quic-hemagnih
Copy link
Contributor

Is the CI passing now with the code changes

@qcdipankar qcdipankar marked this pull request as draft May 14, 2025 13:56
@qcdipankar qcdipankar marked this pull request as ready for review May 14, 2025 17:29
Signed-off-by: Dipankar Sarkar <quic_dipankar@quicinc.com>
Signed-off-by: Dipankar Sarkar <quic_dipankar@quicinc.com>
Signed-off-by: Dipankar Sarkar <quic_dipankar@quicinc.com>
Signed-off-by: Dipankar Sarkar <quic_dipankar@quicinc.com>
Signed-off-by: Dipankar Sarkar <quic_dipankar@quicinc.com>
Signed-off-by: Dipankar Sarkar <quic_dipankar@quicinc.com>
Signed-off-by: Dipankar Sarkar <quic_dipankar@quicinc.com>
Signed-off-by: Dipankar Sarkar <quic_dipankar@quicinc.com>
Signed-off-by: Dipankar Sarkar <quic_dipankar@quicinc.com>
Signed-off-by: Dipankar Sarkar <quic_dipankar@quicinc.com>
@quic-rishinr quic-rishinr merged commit b400ff2 into quic:main May 16, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants