MCPcopy
hub / github.com/InternLM/lmdeploy / copy

Method copy

lmdeploy/pytorch/messages.py:469–471  ·  view source on GitHub ↗

copy.

(self)

Source from the content-addressed store, hash-verified

467 return ret
468
469 def copy(self):
470 """copy."""
471 return self.clone()
472
473
474class HistoryTokenIds(_HistoryDataBase):

Callers 15

generateMethod · 0.45
chat_completions_v1Method · 0.45
completions_v1Method · 0.45
mainFunction · 0.45
save_vl_modelFunction · 0.45
resizeMethod · 0.45
cloneMethod · 0.45
fill_tensorsMethod · 0.45
to_deviceMethod · 0.45
wait_tasksMethod · 0.45
sleepMethod · 0.45

Calls 1

cloneMethod · 0.95

Tested by 2

run_eval_testFunction · 0.36
run_eval_testFunction · 0.36