IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7806ac2
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_type": "roberta", | |
"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.3.1", | |
"optimum_benchmark_commit": "2a33a472f309c43b5bd16946ef9cec843d02f70a", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1009.381376, | |
"max_global_vram": 898.449408, | |
"max_process_vram": 225767.686144, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 0.9987225852012636, | |
"mean": 0.00762383652825392, | |
"stdev": 0.0002681446536412073, | |
"p50": 0.00750446605682373, | |
"p90": 0.007938704967498779, | |
"p95": 0.00807014513015747, | |
"p99": 0.00844209575653076, | |
"values": [ | |
0.007938704967498779, | |
0.007881104946136475, | |
0.008025105476379395, | |
0.007828464984893799, | |
0.00800894546508789, | |
0.0081604642868042, | |
0.00807614517211914, | |
0.008020943641662597, | |
0.007978865146636963, | |
0.00791950511932373, | |
0.007922544956207275, | |
0.007916784763336182, | |
0.007860145092010499, | |
0.008064145088195801, | |
0.007690225124359131, | |
0.007652464866638183, | |
0.007696146011352539, | |
0.007643505096435547, | |
0.007836144924163818, | |
0.0075929460525512695, | |
0.007590545177459717, | |
0.007573105812072754, | |
0.007506385803222656, | |
0.007525104999542237, | |
0.007548945903778076, | |
0.0075481457710266115, | |
0.007575345039367676, | |
0.007560945987701416, | |
0.009005743026733399, | |
0.008379343986511231, | |
0.0077436652183532715, | |
0.007783504962921142, | |
0.007617425918579101, | |
0.007406065940856934, | |
0.0074518251419067386, | |
0.007447025775909424, | |
0.007392146110534668, | |
0.007425586223602295, | |
0.007450545787811279, | |
0.007411345958709716, | |
0.007572946071624756, | |
0.007381105899810791, | |
0.007421105861663818, | |
0.007361906051635742, | |
0.007617905139923096, | |
0.007654866218566894, | |
0.007385585784912109, | |
0.007421586036682129, | |
0.007548786163330078, | |
0.0074382262229919435, | |
0.00741934585571289, | |
0.007390865802764893, | |
0.007405106067657471, | |
0.007429265975952148, | |
0.007636944770812989, | |
0.007415346145629883, | |
0.007726224899291992, | |
0.007465425968170166, | |
0.007722064971923828, | |
0.007521265983581543, | |
0.007470705986022949, | |
0.00750446605682373, | |
0.007513906002044678, | |
0.007429905891418457, | |
0.007350545883178711, | |
0.007423505783081054, | |
0.0074742259979248046, | |
0.0074846258163452145, | |
0.00748702621459961, | |
0.007455026149749756, | |
0.007487986087799072, | |
0.007493906021118164, | |
0.007478866100311279, | |
0.007492465972900391, | |
0.007446226119995117, | |
0.00793374490737915, | |
0.007454545974731446, | |
0.0073964657783508305, | |
0.00751982593536377, | |
0.0077110261917114255, | |
0.007602866172790527, | |
0.007449265956878662, | |
0.007429905891418457, | |
0.007437905788421631, | |
0.007444304943084717, | |
0.007444466114044189, | |
0.007438705921173096, | |
0.00743086576461792, | |
0.007465586185455322, | |
0.007462706089019775, | |
0.0074291048049926756, | |
0.0074222259521484375, | |
0.007405106067657471, | |
0.007447505950927734, | |
0.00743950605392456, | |
0.007407345771789551, | |
0.0074467058181762694, | |
0.007455985069274903, | |
0.0074148659706115725, | |
0.007427346229553222, | |
0.007461905956268311, | |
0.00748702621459961, | |
0.007544944763183594, | |
0.007450066089630127, | |
0.007732144832611084, | |
0.0074315061569213865, | |
0.007479506015777588, | |
0.007426385879516602, | |
0.007398705959320068, | |
0.007355185985565185, | |
0.007434065818786621, | |
0.007490065097808838, | |
0.007437265872955322, | |
0.00771518611907959, | |
0.00770750617980957, | |
0.008273263931274415, | |
0.007859825134277344, | |
0.007855504989624023, | |
0.00783214521408081, | |
0.00796110486984253, | |
0.007887664794921876, | |
0.007855504989624023, | |
0.007894064903259277, | |
0.007903665065765382, | |
0.007693105220794678, | |
0.007506385803222656, | |
0.007497265815734864, | |
0.008460623741149902, | |
0.008398863792419433, | |
0.007921104907989501, | |
0.007867824077606202 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.16755537635183 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |