IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6713b86
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_kwargs": {}, | |
"no_weights": true, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"autocast_enabled": false, | |
"autocast_dtype": null, | |
"torch_compile": false, | |
"torch_compile_target": "forward", | |
"torch_compile_config": {}, | |
"quantization_scheme": null, | |
"quantization_config": {}, | |
"deepspeed_inference": false, | |
"deepspeed_inference_config": {}, | |
"peft_type": null, | |
"peft_config": {} | |
}, | |
"scenario": { | |
"name": "inference", | |
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario", | |
"iterations": 1, | |
"duration": 1, | |
"warmup_runs": 1, | |
"input_shapes": { | |
"batch_size": 1, | |
"num_choices": 2, | |
"sequence_length": 2 | |
}, | |
"new_tokens": null, | |
"latency": true, | |
"memory": true, | |
"energy": false, | |
"forward_kwargs": {}, | |
"generate_kwargs": { | |
"max_new_tokens": 2, | |
"min_new_tokens": 2 | |
}, | |
"call_kwargs": { | |
"num_inference_steps": 2 | |
} | |
}, | |
"launcher": { | |
"name": "process", | |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
"device_isolation": true, | |
"device_isolation_action": "error", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": "14fc8ac8cd252f949be10158bdcefa6a3b7c596a", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1004.544, | |
"max_global_vram": 1878.851584, | |
"max_process_vram": 209050.877952, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 1.000249449253082, | |
"mean": 0.0078759799153786, | |
"stdev": 0.0005425860883730636, | |
"p50": 0.007956169128417968, | |
"p90": 0.008401545333862304, | |
"p95": 0.0085595139503479, | |
"p99": 0.008726614971160888, | |
"values": [ | |
0.008390089988708497, | |
0.008517289161682129, | |
0.0085656099319458, | |
0.008614569664001466, | |
0.008740010261535645, | |
0.00868848991394043, | |
0.00864128875732422, | |
0.008601929664611816, | |
0.008545289993286133, | |
0.008458728790283204, | |
0.008332329750061035, | |
0.00839872932434082, | |
0.008355369567871094, | |
0.008266569137573242, | |
0.00828561019897461, | |
0.0083179292678833, | |
0.008324169158935546, | |
0.008289130210876464, | |
0.008289129257202148, | |
0.00828769016265869, | |
0.00825680923461914, | |
0.008250569343566895, | |
0.00826161003112793, | |
0.008260808944702148, | |
0.008356968879699707, | |
0.008373290061950684, | |
0.008412809371948242, | |
0.008337770462036133, | |
0.008376809120178222, | |
0.008422889709472657, | |
0.008405769348144531, | |
0.008328809738159179, | |
0.008339049339294434, | |
0.008350569725036621, | |
0.008387848854064942, | |
0.011075372695922852, | |
0.008314728736877441, | |
0.008070729255676269, | |
0.008042408943176269, | |
0.008042570114135741, | |
0.007936809062957764, | |
0.007535048007965088, | |
0.007475688934326172, | |
0.007904969215393066, | |
0.007370408058166504, | |
0.007390567779541016, | |
0.0074740891456604, | |
0.007566567897796631, | |
0.00758496904373169, | |
0.007521927833557129, | |
0.007554089069366455, | |
0.007536808967590332, | |
0.00776304817199707, | |
0.0074278488159179685, | |
0.007659848213195801, | |
0.007629929065704345, | |
0.007710888862609864, | |
0.007506408214569092, | |
0.007612168788909912, | |
0.007463208198547363, | |
0.007540489196777344, | |
0.007656007766723633, | |
0.007485928058624268, | |
0.0074984078407287595, | |
0.00738240909576416, | |
0.007133128166198731, | |
0.00714848804473877, | |
0.007236167907714843, | |
0.007171688079833985, | |
0.00717904806137085, | |
0.007150887966156006, | |
0.007146408081054687, | |
0.007166247844696045, | |
0.0071070480346679685, | |
0.007178887844085693, | |
0.007177288055419922, | |
0.00715936803817749, | |
0.007141608238220215, | |
0.007197127819061279, | |
0.007158247947692871, | |
0.007125768184661865, | |
0.007198409080505371, | |
0.00749072790145874, | |
0.007432807922363281, | |
0.007214087963104248, | |
0.0074336080551147465, | |
0.0072060880661010745, | |
0.007403849124908447, | |
0.007456488132476806, | |
0.007219048023223877, | |
0.00743488883972168, | |
0.0078006482124328615, | |
0.008054889678955079, | |
0.008040328979492188, | |
0.008078248977661132, | |
0.008074249267578125, | |
0.008076169013977052, | |
0.008091849327087402, | |
0.008090568542480468, | |
0.008094409942626953, | |
0.00803296947479248, | |
0.008144968986511231, | |
0.008091689109802246, | |
0.008103849411010743, | |
0.008074889183044434, | |
0.008162890434265137, | |
0.008112009048461915, | |
0.008146729469299317, | |
0.008099529266357422, | |
0.008056968688964843, | |
0.008102088928222657, | |
0.008105929374694825, | |
0.008130888938903808, | |
0.008169928550720214, | |
0.00811280918121338, | |
0.007950728893280029, | |
0.007956169128417968, | |
0.007709128856658936, | |
0.007824168205261231, | |
0.007619847774505615, | |
0.007764488220214844, | |
0.007719368934631348, | |
0.0074249677658081055, | |
0.007339209079742432, | |
0.007381447792053223, | |
0.007423687934875489, | |
0.007252647876739502 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.96832784545387 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |