
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
cd14815
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model": "google-bert/bert-base-uncased", | |
"processor": "google-bert/bert-base-uncased", | |
"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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": 869.281792, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 194, | |
"total": 0.9998638110160831, | |
"mean": 0.005153937170185994, | |
"stdev": 0.00018407584151090256, | |
"p50": 0.00513646388053894, | |
"p90": 0.005260492706298828, | |
"p95": 0.005325414490699768, | |
"p99": 0.006065419654846191, | |
"values": [ | |
0.006123392105102539, | |
0.005639167785644531, | |
0.00621670389175415, | |
0.005692416191101074, | |
0.005867519855499268, | |
0.005710847854614258, | |
0.006061056137084961, | |
0.005279744148254394, | |
0.005083136081695557, | |
0.005231616020202637, | |
0.005056511878967285, | |
0.004964352130889893, | |
0.005047296047210693, | |
0.005057536125183106, | |
0.004969471931457519, | |
0.0050165758132934574, | |
0.005053440093994141, | |
0.00501145601272583, | |
0.005014527797698975, | |
0.004983808040618896, | |
0.004971519947052002, | |
0.005029888153076172, | |
0.005048319816589355, | |
0.005048319816589355, | |
0.005047296047210693, | |
0.005097472190856934, | |
0.005049344062805176, | |
0.00496230411529541, | |
0.00497049617767334, | |
0.00515174388885498, | |
0.004926464080810547, | |
0.004997119903564453, | |
0.0049725441932678225, | |
0.0049489917755126955, | |
0.004959231853485108, | |
0.004944896221160889, | |
0.0049797120094299315, | |
0.004964352130889893, | |
0.005123072147369385, | |
0.004968448162078858, | |
0.0049387521743774416, | |
0.00501145601272583, | |
0.004987904071807861, | |
0.0049428482055664065, | |
0.004998144149780274, | |
0.004998144149780274, | |
0.004915200233459473, | |
0.004960256099700928, | |
0.005081088066101074, | |
0.004958208084106445, | |
0.004935679912567138, | |
0.0049827837944030765, | |
0.004971519947052002, | |
0.004968448162078858, | |
0.004998144149780274, | |
0.00495411205291748, | |
0.004934656143188477, | |
0.004998144149780274, | |
0.005138591766357422, | |
0.004936704158782959, | |
0.005008384227752686, | |
0.0049725441932678225, | |
0.0049500160217285155, | |
0.005024767875671386, | |
0.005148672103881836, | |
0.005180416107177735, | |
0.005093376159667969, | |
0.005362688064575195, | |
0.005276671886444092, | |
0.005210112094879151, | |
0.005198847770690918, | |
0.0052367358207702636, | |
0.005203968048095703, | |
0.005237760066986084, | |
0.005248000144958496, | |
0.005253119945526123, | |
0.005222400188446045, | |
0.005244927883148193, | |
0.005234687805175781, | |
0.005216256141662597, | |
0.005232639789581299, | |
0.005239808082580567, | |
0.005227519989013672, | |
0.005254144191741943, | |
0.005250048160552978, | |
0.005244927883148193, | |
0.0051998720169067385, | |
0.00506879997253418, | |
0.005134335994720459, | |
0.005085184097290039, | |
0.0050841598510742185, | |
0.005123072147369385, | |
0.005104703903198242, | |
0.005104640007019043, | |
0.005125120162963868, | |
0.00511078405380249, | |
0.005087232112884522, | |
0.0050421757698059086, | |
0.005116928100585938, | |
0.005079040050506592, | |
0.005063680171966553, | |
0.005097472190856934, | |
0.005121024131774903, | |
0.005057536125183106, | |
0.005082111835479736, | |
0.005073919773101807, | |
0.005079040050506592, | |
0.005079040050506592, | |
0.0050421757698059086, | |
0.005096447944641113, | |
0.005067776203155518, | |
0.00515283203125, | |
0.005291007995605469, | |
0.005254144191741943, | |
0.005223423957824707, | |
0.005214208126068115, | |
0.005238783836364746, | |
0.0052715520858764645, | |
0.005249023914337158, | |
0.00522649621963501, | |
0.005288959980010987, | |
0.005241856098175048, | |
0.0052111358642578124, | |
0.005235712051391602, | |
0.005227519989013672, | |
0.005165056228637695, | |
0.0052705278396606445, | |
0.005234687805175781, | |
0.005182464122772217, | |
0.005262335777282715, | |
0.0052070398330688475, | |
0.005191679954528809, | |
0.005224448204040527, | |
0.005254144191741943, | |
0.005173247814178467, | |
0.005231616020202637, | |
0.005204991817474365, | |
0.0051660799980163576, | |
0.0053012480735778805, | |
0.005305344104766845, | |
0.005195775985717774, | |
0.0052008957862854, | |
0.005371903896331787, | |
0.00520198392868042, | |
0.005193727970123291, | |
0.005185535907745361, | |
0.005256192207336426, | |
0.005156864166259765, | |
0.005213183879852295, | |
0.005234687805175781, | |
0.005208191871643067, | |
0.005213183879852295, | |
0.005244927883148193, | |
0.005238783836364746, | |
0.005241856098175048, | |
0.0051998720169067385, | |
0.005202943801879883, | |
0.005195775985717774, | |
0.00521830415725708, | |
0.005192704200744629, | |
0.005202943801879883, | |
0.005398528099060058, | |
0.005268479824066162, | |
0.005167103767395019, | |
0.0052070398330688475, | |
0.005216256141662597, | |
0.005194752216339111, | |
0.0051998720169067385, | |
0.005163008213043213, | |
0.005216256141662597, | |
0.0052008957862854, | |
0.005192704200744629, | |
0.005202943801879883, | |
0.005023744106292725, | |
0.005082111835479736, | |
0.005142528057098389, | |
0.005134335994720459, | |
0.0050954241752624516, | |
0.005096447944641113, | |
0.005152768135070801, | |
0.005096447944641113, | |
0.005073919773101807, | |
0.005105760097503662, | |
0.005091328144073487, | |
0.005044223785400391, | |
0.005056511878967285, | |
0.005098495960235596, | |
0.005097472190856934, | |
0.005085184097290039, | |
0.005053440093994141, | |
0.00505452823638916, | |
0.0050769920349121095, | |
0.00505241584777832, | |
0.005097472190856934 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 194.02642426157328 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.004664398871957e-08, | |
"ram": 3.275743176477965e-08, | |
"gpu": 1.2316648461616108e-07, | |
"total": 2.159705603696603e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4630260.709090982 | |
} | |
} | |
} | |
} |