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

[BUG] Fix adding empty named IOKey in Connect #53

Open
kberat-synnada opened this issue Dec 2, 2024 · 1 comment
Open

[BUG] Fix adding empty named IOKey in Connect #53

kberat-synnada opened this issue Dec 2, 2024 · 1 comment

Comments

@kberat-synnada
Copy link
Collaborator

Bug Report

Describe the Bug

Raises exception while adding empty named IOKey in Connect. The error is triggered only if summary is called.

To Reproduce

model = Model()
model += (add := Add())
model += Add()(left = Connect(add.left, key=IOKey("")))
model.summary()

Expected Behavior

The code above should run without a problem.

System Info

  • OS: macOS Sonoma 14.5
  • Mithril Version: 0.1.1
  • Torch Version: 2.4.1
  • MLX Version: 0.18.0
  • NumPy Version: 2.1.2
  • JAX Version: 0.4.34
  • Python Version: 3.12.7
@ozankabak
Copy link
Contributor

Is this still an issue?

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

2 participants