
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8cdee57
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.4.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": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 798.49472, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.0094658203125, | |
"mean": 8.0094658203125, | |
"stdev": 0.0, | |
"p50": 8.0094658203125, | |
"p90": 8.0094658203125, | |
"p95": 8.0094658203125, | |
"p99": 8.0094658203125, | |
"values": [ | |
8.0094658203125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.43942083194813e-06, | |
"ram": 1.288267296732558e-06, | |
"gpu": 3.153613633996577e-06, | |
"total": 6.8813017626772654e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1094.28736, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.9995171184539796, | |
"mean": 0.007688593218876765, | |
"stdev": 0.0002648370004322003, | |
"p50": 0.007739903926849366, | |
"p90": 0.007898214435577392, | |
"p95": 0.007955302286148071, | |
"p99": 0.008747062377929682, | |
"values": [ | |
0.00778547191619873, | |
0.007814144134521485, | |
0.007714816093444824, | |
0.007707647800445557, | |
0.007774208068847656, | |
0.007527391910552978, | |
0.00791756820678711, | |
0.007897088050842285, | |
0.00787660789489746, | |
0.007857151985168457, | |
0.007873536109924317, | |
0.007855103969573975, | |
0.007888895988464355, | |
0.007817215919494629, | |
0.007833600044250488, | |
0.007829504013061523, | |
0.00783564805984497, | |
0.007925759792327881, | |
0.007940095901489258, | |
0.007972864151000977, | |
0.007868415832519531, | |
0.007811071872711181, | |
0.007838719844818116, | |
0.00789299201965332, | |
0.00786636781692505, | |
0.00785920000076294, | |
0.007860223770141601, | |
0.00789299201965332, | |
0.00785203218460083, | |
0.007812096118927002, | |
0.007825407981872558, | |
0.007822336196899414, | |
0.00784281587600708, | |
0.007731200218200684, | |
0.007739391803741455, | |
0.0076871681213378906, | |
0.007831583976745606, | |
0.007818272113800049, | |
0.007930880069732665, | |
0.007844863891601562, | |
0.00784281587600708, | |
0.007977983951568603, | |
0.007967743873596191, | |
0.007865344047546387, | |
0.007851071834564209, | |
0.007844863891601562, | |
0.007789567947387695, | |
0.007838719844818116, | |
0.007888895988464355, | |
0.007874559879302979, | |
0.00780083179473877, | |
0.007812096118927002, | |
0.007830527782440186, | |
0.007818175792694091, | |
0.00775878381729126, | |
0.007814176082611084, | |
0.007922688007354736, | |
0.007883776187896728, | |
0.007741439819335938, | |
0.0077578239440917966, | |
0.007781375885009765, | |
0.007813119888305664, | |
0.007828479766845703, | |
0.008019968032836914, | |
0.007437312126159668, | |
0.007506944179534912, | |
0.00759500789642334, | |
0.007565311908721924, | |
0.007527423858642578, | |
0.007544832229614258, | |
0.007541759967803955, | |
0.007459839820861816, | |
0.007518176078796387, | |
0.007445504188537597, | |
0.007393216133117676, | |
0.007473152160644531, | |
0.007426015853881836, | |
0.00743936014175415, | |
0.007336959838867187, | |
0.0072837119102478025, | |
0.007384064197540283, | |
0.007404543876647949, | |
0.007585792064666748, | |
0.0074670081138610836, | |
0.007647232055664062, | |
0.007741439819335938, | |
0.00790835189819336, | |
0.007755743980407715, | |
0.007740416049957275, | |
0.009142271995544434, | |
0.009028608322143555, | |
0.007713791847229004, | |
0.008057760238647462, | |
0.00758073616027832, | |
0.007518208026885987, | |
0.00758681583404541, | |
0.007554048061370849, | |
0.0075304961204528805, | |
0.007400447845458984, | |
0.007497727870941162, | |
0.007455808162689209, | |
0.007482367992401123, | |
0.007415808200836181, | |
0.00743936014175415, | |
0.0075335679054260255, | |
0.007392255783081054, | |
0.007431168079376221, | |
0.0074670081138610836, | |
0.007442431926727295, | |
0.0074741759300231934, | |
0.007464960098266602, | |
0.00745472002029419, | |
0.00743936014175415, | |
0.007415808200836181, | |
0.0074301438331604, | |
0.00743936014175415, | |
0.00739737606048584, | |
0.007390207767486572, | |
0.007512063980102539, | |
0.007390207767486572, | |
0.007383039951324463, | |
0.0074035201072692874, | |
0.007423999786376953, | |
0.007444479942321777, | |
0.00743936014175415, | |
0.007431168079376221, | |
0.007444479942321777, | |
0.007427135944366455, | |
0.00745472002029419, | |
0.007459839820861816 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.06280492832354 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.719362881950906e-08, | |
"ram": 4.764616274736994e-08, | |
"gpu": 1.5985306905882568e-07, | |
"total": 2.9469286062570467e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3393363.5103231096 | |
} | |
} | |
} | |
} |