IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8dd262d
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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.1", | |
"optimum_benchmark_commit": "1981150adc21fc49153cb832dbc6f0ecca02bc2a", | |
"transformers_version": "4.41.0", | |
"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.269568, | |
"max_global_vram": 1878.8352, | |
"max_process_vram": 209045.25824, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 120, | |
"total": 0.9978303403854372, | |
"mean": 0.008315252836545307, | |
"stdev": 0.00021369650284865858, | |
"p50": 0.00834416103363037, | |
"p90": 0.008470753288269043, | |
"p95": 0.008544689130783082, | |
"p99": 0.008746303749084474, | |
"values": [ | |
0.009459680557250976, | |
0.00829840087890625, | |
0.007987679958343506, | |
0.008211041450500488, | |
0.008069761276245117, | |
0.00777984094619751, | |
0.007705760955810547, | |
0.007965439796447754, | |
0.008109121322631837, | |
0.008297760963439942, | |
0.008276801109313964, | |
0.00834416103363037, | |
0.00821920108795166, | |
0.007995840072631835, | |
0.008031841278076171, | |
0.007903521060943603, | |
0.00810128116607666, | |
0.007958401203155517, | |
0.008009119987487793, | |
0.007902400970458984, | |
0.007903680801391602, | |
0.0078118410110473635, | |
0.0084222412109375, | |
0.007950881004333495, | |
0.007893280029296875, | |
0.007768960952758789, | |
0.008412800788879394, | |
0.008400641441345214, | |
0.008412321090698243, | |
0.008310721397399903, | |
0.008111040115356445, | |
0.008203680992126466, | |
0.00839712142944336, | |
0.008416160583496094, | |
0.008476800918579101, | |
0.008442081451416016, | |
0.008386079788208007, | |
0.008418560981750488, | |
0.008388481140136718, | |
0.008373440742492676, | |
0.008704960823059082, | |
0.008756001472473145, | |
0.008563840866088867, | |
0.008514881134033203, | |
0.008455039978027344, | |
0.008470081329345703, | |
0.008479201316833496, | |
0.008495040893554687, | |
0.008452000617980958, | |
0.008339361190795898, | |
0.008369601249694825, | |
0.008418399810791016, | |
0.008417760848999024, | |
0.008438880920410157, | |
0.008358720779418946, | |
0.008298721313476563, | |
0.008259840965270996, | |
0.008328961372375489, | |
0.008350560188293457, | |
0.008296960830688477, | |
0.008277441024780273, | |
0.008271040916442872, | |
0.008335680961608886, | |
0.008259840965270996, | |
0.00847935962677002, | |
0.00858560085296631, | |
0.008697280883789063, | |
0.008543681144714356, | |
0.008406560897827148, | |
0.008437121391296386, | |
0.008435200691223145, | |
0.008412960052490235, | |
0.008343521118164063, | |
0.008333280563354492, | |
0.008382241249084472, | |
0.00838192081451416, | |
0.008353601455688477, | |
0.008336800575256348, | |
0.00843616008758545, | |
0.008427201271057129, | |
0.008425121307373046, | |
0.008438720703125, | |
0.008405600547790527, | |
0.008388800621032715, | |
0.008405441284179688, | |
0.008388799667358398, | |
0.008370560646057129, | |
0.008424640655517578, | |
0.008325281143188477, | |
0.008345761299133302, | |
0.008343360900878906, | |
0.008352801322937012, | |
0.008323679924011231, | |
0.00833872127532959, | |
0.008371681213378905, | |
0.00828800106048584, | |
0.008345440864562988, | |
0.008328801155090331, | |
0.00837775993347168, | |
0.00829072093963623, | |
0.008315521240234375, | |
0.008352320671081543, | |
0.00832784080505371, | |
0.008303360939025879, | |
0.008200961112976074, | |
0.008312159538269043, | |
0.00829504108428955, | |
0.008354560852050781, | |
0.00834416103363037, | |
0.008326400756835937, | |
0.008307041168212891, | |
0.008349599838256836, | |
0.008301919937133789, | |
0.008295520782470703, | |
0.008368961334228516, | |
0.008300960540771484, | |
0.008100641250610352, | |
0.008346400260925292, | |
0.008301441192626952, | |
0.008312640190124511 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 120.26092527277433 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |