MCPcopy Create free account
hub / github.com/OpenMOSS/MOSS / forward

Route forward

models/quantization.py:None–None  ·  view source on GitHub ↗
custom_fwd(cast_inputs=torch.float16)

Source from the content-addressed store, hash-verified

1import numpy as np
2import torch
3import torch.nn as nn
4from torch.cuda.amp import custom_bwd, custom_fwd

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected