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

Execution throws if a Kernel Variable is set to CONSTANT #192

Open
pabfer opened this issue Jul 6, 2019 · 1 comment
Open

Execution throws if a Kernel Variable is set to CONSTANT #192

pabfer opened this issue Jul 6, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@pabfer
Copy link

pabfer commented Jul 6, 2019

Describe the bug

If a kernel Variable is of CONSTANT type, fetch_parameters throws here since CONSTANT Variables do not make it to params input argument.

Expected behavior

Execution does not throw, and kernel Variables that are of type CONSTANT are kept constant and not optimized in training.

Desktop:

  • OS: Ubuntu 18.04.2
  • Python version: 3.6
  • MXNet version: 1.4.1
  • MXFusion version: 0.3.1
  • MXNet context: CPU
@meissnereric meissnereric added bug Something isn't working Intermediate and removed Intermediate labels Jul 10, 2019
@meissnereric
Copy link
Contributor

meissnereric commented Jul 10, 2019

Thanks for filing this!

Not sure exactly where the fix is here, but after a little digging I would guess that the kernel constants parameters just aren't making it into the variables with the rest of the constants during Inference initialization. Shouldn't be a hard thing to fix once we find it.

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
None yet
Development

No branches or pull requests

2 participants