MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / __getstate__

Method __getstate__

PATH/core/fp16/opt.py:208–210  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

206 print(msg)
207
208 def __getstate__(self):
209 raise RuntimeError("FP16_Optimizer should be serialized using "
210 "state_dict().")
211
212 def __setstate__(self, state):
213 raise RuntimeError("FP16_Optimizer should be deserialized using "

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected