
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9cb8b08
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", | |
"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.40.2", | |
"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": 907.845632, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 1.0003897905349735, | |
"mean": 0.00746559545175353, | |
"stdev": 0.00027480046558354775, | |
"p50": 0.0075617280006408695, | |
"p90": 0.007672953414916992, | |
"p95": 0.007848192071914672, | |
"p99": 0.008299663372039792, | |
"values": [ | |
0.008491007804870606, | |
0.008125439643859863, | |
0.007871488094329833, | |
0.007823359966278077, | |
0.00774451208114624, | |
0.00783564805984497, | |
0.007709695816040039, | |
0.00767084789276123, | |
0.00838144016265869, | |
0.007453695774078369, | |
0.007185408115386963, | |
0.007212096214294433, | |
0.007188543796539306, | |
0.007539711952209473, | |
0.007603231906890869, | |
0.0075970559120178225, | |
0.007590911865234375, | |
0.00759500789642334, | |
0.0075980801582336424, | |
0.00759500789642334, | |
0.007606272220611572, | |
0.007617536067962646, | |
0.007599103927612305, | |
0.007618559837341309, | |
0.007607295989990235, | |
0.00760422420501709, | |
0.00758681583404541, | |
0.007561215877532959, | |
0.007621632099151611, | |
0.00757862377166748, | |
0.007568384170532226, | |
0.0075980801582336424, | |
0.0076574721336364745, | |
0.007681024074554443, | |
0.0075980801582336424, | |
0.007602176189422607, | |
0.007632895946502686, | |
0.00760319995880127, | |
0.007559167861938477, | |
0.007557119846343994, | |
0.0075673599243164065, | |
0.007584767818450928, | |
0.0075447998046875, | |
0.007552000045776367, | |
0.007560192108154297, | |
0.007543807983398438, | |
0.007574528217315674, | |
0.007574528217315674, | |
0.0075642881393432615, | |
0.007591936111450195, | |
0.007582719802856445, | |
0.007469056129455566, | |
0.007483391761779785, | |
0.007453695774078369, | |
0.0074629120826721195, | |
0.007472127914428711, | |
0.00749567985534668, | |
0.00758681583404541, | |
0.007577600002288819, | |
0.007580671787261963, | |
0.007611392021179199, | |
0.007602176189422607, | |
0.007588863849639893, | |
0.00793497610092163, | |
0.007571519851684571, | |
0.007546879768371582, | |
0.008133631706237793, | |
0.007560192108154297, | |
0.007665664196014404, | |
0.007561215877532959, | |
0.007562240123748779, | |
0.007579616069793701, | |
0.00757862377166748, | |
0.007576576232910156, | |
0.007617536067962646, | |
0.007580671787261963, | |
0.00758784008026123, | |
0.007592959880828858, | |
0.007588863849639893, | |
0.007560192108154297, | |
0.00758681583404541, | |
0.007673855781555176, | |
0.007584767818450928, | |
0.007576576232910156, | |
0.00754585599899292, | |
0.007563295841217041, | |
0.007562240123748779, | |
0.007537600040435791, | |
0.00779366397857666, | |
0.007621632099151611, | |
0.008038399696350097, | |
0.007504896163940429, | |
0.007206912040710449, | |
0.00713318395614624, | |
0.0070860800743103025, | |
0.00707583999633789, | |
0.007066624164581299, | |
0.007096320152282715, | |
0.007113728046417236, | |
0.007085055828094483, | |
0.007049215793609619, | |
0.007071743965148926, | |
0.007096320152282715, | |
0.00709939193725586, | |
0.007078911781311035, | |
0.007051199913024902, | |
0.007074816226959229, | |
0.007132160186767578, | |
0.00714137601852417, | |
0.007161856174468994, | |
0.007117824077606201, | |
0.007159808158874512, | |
0.007188479900360107, | |
0.007161856174468994, | |
0.007128064155578613, | |
0.007124991893768311, | |
0.00719155216217041, | |
0.007164927959442138, | |
0.007157760143280029, | |
0.0071526398658752445, | |
0.007173120021820068, | |
0.007158783912658692, | |
0.007150591850280762, | |
0.007134208202362061, | |
0.007135231971740722, | |
0.007282688140869141, | |
0.007206943988800049, | |
0.007142399787902832, | |
0.0071198720932006835, | |
0.007122943878173828, | |
0.007114751815795899, | |
0.007128064155578613, | |
0.007131135940551757, | |
0.007135231971740722 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.94778841989336 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.913664205948117e-08, | |
"ram": 4.857168776706841e-08, | |
"gpu": 1.754769231343282e-07, | |
"total": 3.1318525296087777e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3192998.362936703 | |
} | |
} | |
} | |
} |