You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "c:\Users\simos\miniconda3\envs\rcv\lib\site-packages\torch\jit\_script.py", line 981, in fail
raise RuntimeError(name + " is not supported on ScriptModules")
RuntimeError: get_parameter is not supported on ScriptModules
@simosechi do you know a version of pytorch when it used to work?
Not really, I just assume that it did, I know that for c++ api it's been deprecated in favor of attr function (and in this case I'm sure that docs aren't up to date). So, I tried with ScriptModule.attr() but it didn't work as well
🐛 Describe the bug
Hi everyone as the title says, I'm wondering if get_parameter is no more supported for ScriptModules.
Here a trivial example:
what does it mean? are not docs up to date?
docs ref:
https://pytorch.org/docs/stable/generated/torch.jit.ScriptModule.html#torch.jit.ScriptModule.get_parameter
Versions
PyTorch version: 2.2.2+cpu
Python version: 3.10.14
cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @peterjc123 @mszhanyi @skyline75489 @nbcsm @vladimir-aubrecht @iremyux @Blackhex @cristianPanaite
The text was updated successfully, but these errors were encountered: