
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c83d3d4
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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": {}, | |
"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, | |
"memory": true, | |
"latency": true, | |
"energy": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": "1.22.0", | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 802.893824, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.372544 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
7.9243212890625 | |
], | |
"count": 1, | |
"total": 7.9243212890625, | |
"mean": 7.9243212890625, | |
"p50": 7.9243212890625, | |
"p90": 7.9243212890625, | |
"p95": 7.9243212890625, | |
"p99": 7.9243212890625, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.659782290326096e-07, | |
"ram": 4.5622980209385853e-07, | |
"gpu": 1.7297236059032883e-06, | |
"total": 3.051931637029756e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1099.370496, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0077547521591186525, | |
0.0075970559120178225, | |
0.0075335679054260255, | |
0.0075632638931274416, | |
0.007515135765075683, | |
0.007518208026885987, | |
0.007473152160644531, | |
0.00748748779296875, | |
0.007549952030181885, | |
0.007459712028503418, | |
0.0074670081138610836, | |
0.007333888053894043, | |
0.007327744007110596, | |
0.007363584041595459, | |
0.00748748779296875, | |
0.00743833589553833, | |
0.0074741759300231934, | |
0.007414783954620361, | |
0.007426047801971435, | |
0.00748748779296875, | |
0.007483391761779785, | |
0.007418879985809326, | |
0.0075345921516418455, | |
0.007481344223022461, | |
0.0075642881393432615, | |
0.007480319976806641, | |
0.007406559944152832, | |
0.007427072048187256, | |
0.007488512039184571, | |
0.007445504188537597, | |
0.0074414081573486324, | |
0.007508831977844238, | |
0.00748748779296875, | |
0.007390207767486572, | |
0.007429984092712403, | |
0.007456768035888672, | |
0.007539775848388672, | |
0.007377920150756836, | |
0.007564256191253662, | |
0.00745363187789917, | |
0.00741974401473999, | |
0.007490560054779053, | |
0.007457791805267334, | |
0.007488512039184571, | |
0.0074629120826721195, | |
0.007465983867645264, | |
0.007517183780670166, | |
0.007540736198425293, | |
0.007584767818450928, | |
0.007520256042480469, | |
0.007486464023590088, | |
0.007523327827453613, | |
0.007517183780670166, | |
0.007485439777374267, | |
0.007457791805267334, | |
0.007406655788421631, | |
0.007365632057189942, | |
0.0074085121154785155, | |
0.0074065918922424315, | |
0.007427072048187256, | |
0.007398399829864502, | |
0.007166975975036621, | |
0.007344128131866455, | |
0.007457791805267334, | |
0.007174143791198731, | |
0.007107583999633789, | |
0.007051263809204102, | |
0.007727104187011719, | |
0.007753727912902832, | |
0.007829504013061523, | |
0.007758848190307617, | |
0.007767039775848389, | |
0.007932928085327149, | |
0.008010751724243164, | |
0.007715839862823487, | |
0.007610367774963379, | |
0.007508992195129394, | |
0.007576576232910156, | |
0.007531519889831543, | |
0.007548927783966064, | |
0.007414783954620361, | |
0.007456704139709473, | |
0.007450623989105225, | |
0.0073901119232177735, | |
0.007490560054779053, | |
0.007457791805267334, | |
0.0073820161819458, | |
0.007328767776489258, | |
0.007434239864349365, | |
0.007385087966918945, | |
0.007352320194244385, | |
0.00734822416305542, | |
0.007345151901245117, | |
0.007342080116271973, | |
0.007373760223388672, | |
0.0074301438331604, | |
0.007435264110565186, | |
0.007435264110565186, | |
0.007379968166351319, | |
0.0073471360206604, | |
0.007339968204498291, | |
0.0074106879234313965, | |
0.007435264110565186, | |
0.00743936014175415, | |
0.007463935852050781, | |
0.007431168079376221, | |
0.007422976016998291, | |
0.00743833589553833, | |
0.0073820161819458, | |
0.007421887874603271, | |
0.007453695774078369, | |
0.007386144161224365, | |
0.007378943920135498, | |
0.007443456172943115, | |
0.007451519966125488, | |
0.007434239864349365, | |
0.007413760185241699, | |
0.007452672004699707, | |
0.007445375919342041, | |
0.00787660789489746, | |
0.007479296207427978, | |
0.007497727870941162, | |
0.007420928001403809, | |
0.007425024032592774, | |
0.007418816089630127, | |
0.007379968166351319, | |
0.007442431926727295, | |
0.007422976016998291, | |
0.007426047801971435, | |
0.007379968166351319, | |
0.007325695991516113, | |
0.007363455772399902, | |
0.0073768959045410155, | |
0.007310336112976074 | |
], | |
"count": 134, | |
"total": 1.000030685901642, | |
"mean": 0.007462915566430164, | |
"p50": 0.007444416046142578, | |
"p90": 0.007572889804840088, | |
"p95": 0.007754086399078369, | |
"p99": 0.00791434242248535, | |
"stdev": 0.00013136232909814917, | |
"stdev_": 1.7602011965544113 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.9958882153538 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.560981962471183e-08, | |
"ram": 4.6776707357136664e-08, | |
"gpu": 1.5913881635966165e-07, | |
"total": 2.915253433415101e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3430233.504016632 | |
} | |
} | |
} | |
} |