
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8902ab1
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.223-211.872.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 786.804736, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.520212890625, | |
"mean": 7.520212890625, | |
"stdev": 0.0, | |
"p50": 7.520212890625, | |
"p90": 7.520212890625, | |
"p95": 7.520212890625, | |
"p99": 7.520212890625, | |
"values": [ | |
7.520212890625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.890934597222296e-07, | |
"ram": 4.7148869612074394e-07, | |
"gpu": 0.0, | |
"total": 1.3605821558429734e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1082.712064, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 0.9999607381820678, | |
"mean": 0.007633288077725709, | |
"stdev": 0.00031561247551250177, | |
"p50": 0.007635968208312988, | |
"p90": 0.007969696044921875, | |
"p95": 0.008023600101470948, | |
"p99": 0.008299641704559326, | |
"values": [ | |
0.007790527820587158, | |
0.007737311840057373, | |
0.007742464065551758, | |
0.0077036161422729494, | |
0.00782643222808838, | |
0.007797760009765625, | |
0.008002655982971191, | |
0.007544832229614258, | |
0.007617440223693848, | |
0.007610367774963379, | |
0.007616511821746826, | |
0.007473152160644531, | |
0.0075008001327514645, | |
0.0075337600708007815, | |
0.007563168048858642, | |
0.007520095825195312, | |
0.007759871959686279, | |
0.007721983909606934, | |
0.0077740797996520995, | |
0.008240192413330079, | |
0.007997439861297608, | |
0.008135680198669434, | |
0.007977983951568603, | |
0.007895040035247802, | |
0.007827295780181884, | |
0.0077638721466064455, | |
0.007824384212493896, | |
0.00790835189819336, | |
0.00795750379562378, | |
0.007912288188934326, | |
0.007920639991760254, | |
0.007897088050842285, | |
0.007846816062927246, | |
0.007836544036865234, | |
0.00819916820526123, | |
0.008132608413696289, | |
0.007961408138275146, | |
0.007932928085327149, | |
0.007810912132263184, | |
0.007910399913787843, | |
0.007881887912750244, | |
0.00790118408203125, | |
0.007905055999755859, | |
0.007888768196105957, | |
0.00784281587600708, | |
0.007916575908660888, | |
0.007925759792327881, | |
0.007995391845703125, | |
0.008325119972229005, | |
0.007969696044921875, | |
0.007863296031951903, | |
0.007844704151153565, | |
0.00800153636932373, | |
0.007942143917083741, | |
0.007969791889190675, | |
0.007860320091247559, | |
0.007878655910491944, | |
0.007858047962188721, | |
0.008044544219970704, | |
0.007605247974395752, | |
0.007741439819335938, | |
0.007910399913787843, | |
0.0077578239440917966, | |
0.007856128215789794, | |
0.007617440223693848, | |
0.007435264110565186, | |
0.0074670081138610836, | |
0.007519231796264648, | |
0.007518208026885987, | |
0.007504896163940429, | |
0.0074967041015625, | |
0.007571455955505371, | |
0.007564383983612061, | |
0.007629824161529541, | |
0.007732223987579345, | |
0.007766016006469726, | |
0.007588863849639893, | |
0.007599071979522705, | |
0.007522304058074952, | |
0.007494592189788819, | |
0.007532544136047363, | |
0.007505919933319092, | |
0.007375775814056396, | |
0.007635968208312988, | |
0.007459839820861816, | |
0.007504896163940429, | |
0.007352320194244385, | |
0.0072499198913574215, | |
0.007569407939910889, | |
0.007554048061370849, | |
0.007206912040710449, | |
0.007108607769012451, | |
0.007579648017883301, | |
0.007664671897888184, | |
0.007693312168121338, | |
0.007880703926086426, | |
0.007838719844818116, | |
0.007816192150115966, | |
0.008427519798278809, | |
0.007839807987213135, | |
0.00759603214263916, | |
0.007490560054779053, | |
0.007739391803741455, | |
0.007716864109039307, | |
0.0074035201072692874, | |
0.007553023815155029, | |
0.0074332160949707035, | |
0.007352447986602783, | |
0.007345119953155518, | |
0.0074486398696899415, | |
0.0073359360694885255, | |
0.00729478406906128, | |
0.00709939193725586, | |
0.007316480159759522, | |
0.007327744007110596, | |
0.007336959838867187, | |
0.007464863777160644, | |
0.007304192066192627, | |
0.007139328002929687, | |
0.006998015880584717, | |
0.007019519805908203, | |
0.006996992111206054, | |
0.006944767951965332, | |
0.007064576148986816, | |
0.007044032096862793, | |
0.007027711868286133, | |
0.006976511955261231, | |
0.006972415924072266, | |
0.007064576148986816, | |
0.006979584217071533, | |
0.006937600135803222 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.00514350009226 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.32568558954891e-08, | |
"ram": 4.5520582005248316e-08, | |
"gpu": 1.7564505116084227e-07, | |
"total": 3.044224890615797e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3284908.4280291665 | |
} | |
} | |
} | |
} |