MCPcopy Create free account
hub / github.com/ModalityDance/Omni-R1 / write

Method write

src/transformers/scripts/benchmark/trainer-benchmark.py:139–142  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

137 return getattr(self.stdout, attr)
138
139 def write(self, msg):
140 self.stdout.write(msg)
141 # strip tqdm codes
142 self.file.write(re.sub(r"^.*\r", "", msg, 0, re.M))
143
144
145def get_original_command(max_width=80, full_python_path=False):

Callers 15

writer_processFunction · 0.80
runMethod · 0.80
format_mrpcFunction · 0.80
sort_importsFunction · 0.80
get_runner_statusFunction · 0.80
model_failuresMethod · 0.80
payloadMethod · 0.80
check_full_copiesFunction · 0.80
clean_doctest_listFunction · 0.80
check_model_docFunction · 0.80
insert_tip_to_model_docFunction · 0.80

Calls

no outgoing calls

Tested by 15

clean_doctest_listFunction · 0.64
infer_tests_to_runFunction · 0.64
filter_testsFunction · 0.64
__exit__Method · 0.64
test_import_parsingFunction · 0.64
init_fileMethod · 0.64
test_use_safetensorsMethod · 0.64
test_push_to_hubMethod · 0.64