MCPcopy
hub / github.com/deepspeedai/DeepSpeed / _decode

Method _decode

deepspeed/model_implementations/diffusers/vae.py:34–35  ·  view source on GitHub ↗
(self, x, return_dict=True, generator=None)

Source from the content-addressed store, hash-verified

32 return self.static_decoder_output
33
34 def _decode(self, x, return_dict=True, generator=None):
35 return self.vae.decode(x, return_dict=return_dict)
36
37 def _create_cuda_graph_decoder(self, *inputs, **kwargs):
38 # warmup to create the workspace and cublas handle

Callers 2

decodeMethod · 0.95

Calls 1

decodeMethod · 0.80

Tested by

no test coverage detected