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

code is faild to run after update the version #1224

Closed
ealinye opened this issue Feb 1, 2024 · 2 comments · Fixed by #1225
Closed

code is faild to run after update the version #1224

ealinye opened this issue Feb 1, 2024 · 2 comments · Fixed by #1225
Assignees
Labels
bug Something isn't working

Comments

@ealinye
Copy link

ealinye commented Feb 1, 2024

Describe the bug

panicked unexpectedly after i update the version from 0.11 to 0.12

thread 'main' panicked at C:\Users\twhice\.cargo\registry\src\rsproxy.cn-0dccff568467c15b\burn-autodiff-0.12.0\src\ops\tensor.rs:1598:44:
called `Option::unwrap()` on a `None` value

To Reproduce

hereis the project

Expected behavior

the code run well as i didnt update the version of burn from 0.11 to 0.12

my toolchain:

  • rustc 1.75.0 (82e1608df 2023-12-21)

  • stable-x86_64-pc-windows-msvc

@nathanielsimard
Copy link
Member

This is a bug indeed, but also linked with a breaking change, if you were on version 0.11.1 before, you can use the function powf_scalar for the same behavior and it should fix your problem.

But thanks for pointing that out, we will fix this today 😅

@nathanielsimard nathanielsimard self-assigned this Feb 1, 2024
@nathanielsimard nathanielsimard added the bug Something isn't working label Feb 1, 2024
@nathanielsimard nathanielsimard moved this to In Progress in Burn 🔥 Feb 1, 2024
@ealinye
Copy link
Author

ealinye commented Feb 1, 2024

This is a bug indeed, but also linked with a breaking change, if you were on version 0.11.1 before, you can use the function powf_scalar for the same behavior and it should fix your problem.

But thanks for pointing that out, we will fix this today 😅

ok, using powi_scalar fixs my problem

one more thing, it's already 23:30 in my area , please fix this in today (hh)

@github-project-automation github-project-automation bot moved this from In Progress to Done in Burn 🔥 Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants