PiPPy icon indicating copy to clipboard operation
PiPPy copied to clipboard

Issue with optimizer instantiation

Open saiajaym opened this issue 1 year ago • 2 comments

Hi,

I get g\the below error whenever I try to create an optimizer. Please help

optimizer = driver.instantiate_optimizer(torch.optim.Adam) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/miniconda3/envs/nucleus/lib/python3.11/site-packages/torchpippy-0.1.1+8f549f3-py3.11.egg/pippy/PipelineDriver.py", line 1573, in instantiate_optimizer return PipelineOptimizer( ^^^^^^^^^^^^^^^^^^ File "/root/miniconda3/envs/nucleus/lib/python3.11/site-packages/torchpippy-0.1.1+8f549f3-py3.11.egg/pippy/PipelineDriver.py", line 1224, in init for group in remote_state["param_groups"]:

saiajaym avatar Jun 19 '23 07:06 saiajaym

same problem here, also in python 3.11

hpc-unex avatar Sep 09 '23 11:09 hpc-unex

you can install python=3.10

linjian-tech avatar Dec 14 '23 12:12 linjian-tech