MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / weight_fully_copied

Function weight_fully_copied

fastdeploy/model_executor/utils.py:239–242  ·  view source on GitHub ↗
(weight)

Source from the content-addressed store, hash-verified

237
238
239def weight_fully_copied(weight):
240 return (
241 hasattr(weight, "tensor_track") and weight.tensor_track is not None and weight.tensor_track.is_fully_copied()
242 )
243
244
245def process_final_after_loading(model, fd_config: FDConfig):

Calls 1

is_fully_copiedMethod · 0.80

Tested by

no test coverage detected