
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3109d57
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": 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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"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": 914.075648, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 1.0031216316223144, | |
"mean": 0.0073220557052723675, | |
"stdev": 0.00047117931468373725, | |
"p50": 0.007287807941436767, | |
"p90": 0.007434035301208497, | |
"p95": 0.007649689769744872, | |
"p99": 0.009700597686767544, | |
"values": [ | |
0.010600447654724121, | |
0.01103872013092041, | |
0.008084447860717773, | |
0.007704576015472412, | |
0.00758784008026123, | |
0.007568384170532226, | |
0.00810086441040039, | |
0.007215104103088379, | |
0.007017471790313721, | |
0.007003136157989502, | |
0.006972415924072266, | |
0.006990848064422607, | |
0.006974463939666748, | |
0.006960127830505371, | |
0.007018496036529541, | |
0.007395328044891358, | |
0.007341055870056152, | |
0.007311359882354736, | |
0.007287807941436767, | |
0.007435264110565186, | |
0.007357439994812012, | |
0.007316480159759522, | |
0.007346176147460938, | |
0.007331840038299561, | |
0.007351295948028564, | |
0.0073062400817871095, | |
0.007302144050598145, | |
0.007301119804382325, | |
0.0073062400817871095, | |
0.007322624206542969, | |
0.008093695640563964, | |
0.007384064197540283, | |
0.007322624206542969, | |
0.007360511779785156, | |
0.007326720237731933, | |
0.007287807941436767, | |
0.007286784172058106, | |
0.007319551944732666, | |
0.007304192066192627, | |
0.007311359882354736, | |
0.007329792022705078, | |
0.007292863845825196, | |
0.007303167819976806, | |
0.007262207984924316, | |
0.007264256000518799, | |
0.007259071826934815, | |
0.007329792022705078, | |
0.007356416225433349, | |
0.007300096035003662, | |
0.007307263851165771, | |
0.00727347183227539, | |
0.0072130560874938965, | |
0.007214079856872559, | |
0.00722431993484497, | |
0.007189504146575928, | |
0.007234560012817383, | |
0.007181312084197998, | |
0.007303199768066406, | |
0.007320576190948487, | |
0.007260191917419434, | |
0.007313344001770019, | |
0.0073431038856506346, | |
0.007263199806213379, | |
0.0074332160949707035, | |
0.007305215835571289, | |
0.007293920040130616, | |
0.007279615879058838, | |
0.007275519847869873, | |
0.007309311866760254, | |
0.007307263851165771, | |
0.007314432144165039, | |
0.007322624206542969, | |
0.007305215835571289, | |
0.0072806720733642576, | |
0.007278592109680176, | |
0.007282688140869141, | |
0.007304192066192627, | |
0.007269375801086426, | |
0.00728166389465332, | |
0.007280640125274658, | |
0.007263232231140137, | |
0.007287807941436767, | |
0.007278592109680176, | |
0.007277599811553955, | |
0.007275519847869873, | |
0.007269343852996826, | |
0.007275519847869873, | |
0.007277567863464355, | |
0.0073134078979492185, | |
0.007763967990875244, | |
0.007510015964508057, | |
0.007267327785491944, | |
0.0072806720733642576, | |
0.00728166389465332, | |
0.007284736156463623, | |
0.00729804801940918, | |
0.0072765440940856935, | |
0.007270400047302246, | |
0.007293951988220215, | |
0.007326720237731933, | |
0.007308288097381592, | |
0.00729804801940918, | |
0.007269408226013184, | |
0.007271423816680909, | |
0.007258111953735351, | |
0.0072499198913574215, | |
0.007275519847869873, | |
0.007270400047302246, | |
0.007303167819976806, | |
0.007635968208312988, | |
0.007301119804382325, | |
0.00729804801940918, | |
0.007485439777374267, | |
0.007324672222137451, | |
0.007299071788787842, | |
0.007005184173583984, | |
0.007049215793609619, | |
0.007032832145690918, | |
0.007005184173583984, | |
0.006949888229370117, | |
0.006966271877288818, | |
0.006966271877288818, | |
0.006960127830505371, | |
0.006948863983154297, | |
0.0069928960800170895, | |
0.006964223861694336, | |
0.006938623905181885, | |
0.006922239780426025, | |
0.006965248107910156, | |
0.006939648151397705, | |
0.006918144226074219, | |
0.006939648151397705, | |
0.006939712047576904, | |
0.006977536201477051, | |
0.007411712169647216, | |
0.007450655937194824, | |
0.007346176147460938 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.57366732131433 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.652728452783045e-08, | |
"ram": 4.730052946856916e-08, | |
"gpu": 1.6230142748905e-07, | |
"total": 2.9612924148544966e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3376903.932160766 | |
} | |
} | |
} | |
} |