
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0f87112
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_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": 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.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.1", | |
"optimum_benchmark_commit": null, | |
"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": 906.747904, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.9971405434608457, | |
"mean": 0.0074972973192544805, | |
"stdev": 0.00022267086489065829, | |
"p50": 0.007411712169647216, | |
"p90": 0.00781455373764038, | |
"p95": 0.007888486385345459, | |
"p99": 0.00799240198135376, | |
"values": [ | |
0.007954432010650634, | |
0.007526400089263916, | |
0.007994368076324462, | |
0.007988224029541016, | |
0.007956480026245117, | |
0.007903232097625732, | |
0.007878655910491944, | |
0.007822336196899414, | |
0.007827455997467042, | |
0.007823391914367676, | |
0.007804927825927735, | |
0.007411712169647216, | |
0.007259136199951172, | |
0.007329792022705078, | |
0.007421984195709229, | |
0.007508992195129394, | |
0.007444479942321777, | |
0.007465983867645264, | |
0.00733900785446167, | |
0.007462751865386963, | |
0.007425024032592774, | |
0.007485439777374267, | |
0.007489535808563232, | |
0.007444479942321777, | |
0.00738918399810791, | |
0.007349247932434082, | |
0.007345215797424316, | |
0.007349247932434082, | |
0.007357439994812012, | |
0.007400447845458984, | |
0.007323647975921631, | |
0.007303167819976806, | |
0.007299071788787842, | |
0.007432191848754883, | |
0.0074793601036071775, | |
0.007573503971099854, | |
0.007526400089263916, | |
0.00787766408920288, | |
0.007696383953094482, | |
0.007796576023101806, | |
0.00773529577255249, | |
0.00778547191619873, | |
0.007710720062255859, | |
0.0075623998641967775, | |
0.007681024074554443, | |
0.007734272003173828, | |
0.007805952072143555, | |
0.007730175971984863, | |
0.007729152202606201, | |
0.007625728130340576, | |
0.007654399871826172, | |
0.007701504230499268, | |
0.007738431930541992, | |
0.007816192150115966, | |
0.007808000087738037, | |
0.007808000087738037, | |
0.0076984319686889645, | |
0.007778304100036621, | |
0.007671807765960693, | |
0.00782643222808838, | |
0.0075764799118041995, | |
0.007562335968017578, | |
0.007493631839752197, | |
0.007634943962097168, | |
0.007686143875122071, | |
0.007460864067077637, | |
0.007324672222137451, | |
0.007351295948028564, | |
0.007614463806152344, | |
0.007670783996582031, | |
0.007796735763549805, | |
0.007772160053253174, | |
0.00773529577255249, | |
0.00773632001876831, | |
0.007490496158599854, | |
0.007394303798675537, | |
0.007390207767486572, | |
0.007336959838867187, | |
0.00734822416305542, | |
0.007261184215545655, | |
0.007316480159759522, | |
0.007363584041595459, | |
0.007358463764190673, | |
0.007331840038299561, | |
0.007187456130981445, | |
0.007217152118682861, | |
0.00728985595703125, | |
0.007309311866760254, | |
0.007296000003814697, | |
0.0073482561111450195, | |
0.007280640125274658, | |
0.007261184215545655, | |
0.007273600101470947, | |
0.007345151901245117, | |
0.007352352142333984, | |
0.007337984085083008, | |
0.007311359882354736, | |
0.007245823860168457, | |
0.007230463981628418, | |
0.0073450241088867186, | |
0.007309311866760254, | |
0.007314432144165039, | |
0.007323647975921631, | |
0.007321599960327148, | |
0.0072408318519592285, | |
0.0072468481063842774, | |
0.007323647975921631, | |
0.007321599960327148, | |
0.007334911823272705, | |
0.007264319896697998, | |
0.007238656044006348, | |
0.007246784210205078, | |
0.007651264190673828, | |
0.007357439994812012, | |
0.007543807983398438, | |
0.008135680198669434, | |
0.007420896053314209, | |
0.007284736156463623, | |
0.007648255825042725, | |
0.007918591976165772, | |
0.007394303798675537, | |
0.00733081579208374, | |
0.007259136199951172, | |
0.007238656044006348, | |
0.007372799873352051, | |
0.007351295948028564, | |
0.007363584041595459, | |
0.007327744007110596, | |
0.007244607925415039, | |
0.007201888084411621, | |
0.007236608028411865, | |
0.007350272178649903, | |
0.0073134078979492185 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.38139831160362 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.407983608937245e-08, | |
"ram": 4.5966419546606085e-08, | |
"gpu": 1.5046308333333184e-07, | |
"total": 2.805093389693104e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3564943.697326978 | |
} | |
} | |
} | |
} |