Skip to content

Conversation

aditya0by0
Copy link
Member

No description provided.

@aditya0by0 aditya0by0 requested a review from sfluegel05 July 27, 2025 16:43
@aditya0by0 aditya0by0 self-assigned this Jul 27, 2025
@aditya0by0
Copy link
Member Author

aditya0by0 commented Jul 27, 2025

@sfluegel05,

The resgated model provided in model_registry.yml file is undirected graph model, hence an error is thrown at below code line

elif isinstance(prop, p.BondProperty):
    edge_attr = torch.cat([edge_attr, encoded_values], dim=1)

Error:

Sizes of tensors must match except in dimension 1. Expected size 26 but got size 13 for tensor number 1 in the list.

To solve this error, either we need to update the code for undirected graph or upload the directed resgated model to hugging face.

Please let me know what do we prefer here.

@aditya0by0 aditya0by0 marked this pull request as ready for review August 9, 2025 10:18
@sfluegel05
Copy link
Contributor

If I recall correctly, we discussed this and came to the conclusion that the directed/undirected problem is not a chebifier problem (we will have to update the models though once ChEB-AI/python-chebai-graph#7 is merged)

@sfluegel05 sfluegel05 merged commit ccbeb74 into dev Aug 11, 2025
2 checks passed
@sfluegel05 sfluegel05 deleted the feature/api_downloadble_models branch August 11, 2025 11:51
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

Successfully merging this pull request may close these issues.

2 participants