MCPcopy Create free account
hub / github.com/KohakuBlueleaf/LyCORIS / forward

Method forward

lycoris/modules/base.py:426–427  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

424 raise RuntimeError(
425 "Merging LyCORIS modules into weight-only FP8 Linear is not supported."
426 )
427 self_device = next(self.parameters()).device
428 self_dtype = next(self.parameters()).dtype
429 self.to(self.org_weight)
430 self.cached_org_weight = self.org_weight.data.cpu()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected