
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
afc550a
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": {}, | |
"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.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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 719.675392, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.1512880859375, | |
"mean": 7.1512880859375, | |
"stdev": 0.0, | |
"p50": 7.1512880859375, | |
"p90": 7.1512880859375, | |
"p95": 7.1512880859375, | |
"p99": 7.1512880859375, | |
"values": [ | |
7.1512880859375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.806745211283366e-07, | |
"ram": 4.5442712427368786e-07, | |
"gpu": 1.7322236079996868e-06, | |
"total": 3.067325253401711e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 918.544384, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.9966796813011173, | |
"mean": 0.007493832190233962, | |
"stdev": 0.00023911974483450076, | |
"p50": 0.007547904014587403, | |
"p90": 0.007801241588592529, | |
"p95": 0.007867801570892334, | |
"p99": 0.00799174644470215, | |
"values": [ | |
0.007947264194488525, | |
0.00795136022567749, | |
0.00789299201965332, | |
0.00783564805984497, | |
0.00779366397857666, | |
0.008010751724243164, | |
0.00780185604095459, | |
0.00764518404006958, | |
0.007655424118041992, | |
0.007896063804626464, | |
0.00773632001876831, | |
0.007631872177124023, | |
0.007642176151275635, | |
0.00820019245147705, | |
0.007697408199310303, | |
0.007686143875122071, | |
0.007711743831634522, | |
0.007675903797149658, | |
0.00759500789642334, | |
0.007639039993286132, | |
0.007676959991455078, | |
0.007677951812744141, | |
0.007828479766845703, | |
0.00773632001876831, | |
0.007662591934204102, | |
0.007667712211608887, | |
0.007664639949798584, | |
0.0076574721336364745, | |
0.007841792106628418, | |
0.0075345921516418455, | |
0.00760422420501709, | |
0.007609344005584716, | |
0.007571455955505371, | |
0.007608320236206055, | |
0.00765337610244751, | |
0.007650303840637207, | |
0.007702527999877929, | |
0.0077578239440917966, | |
0.007703551769256592, | |
0.007675903797149658, | |
0.007613440036773681, | |
0.00734822416305542, | |
0.0072427520751953125, | |
0.007293951988220215, | |
0.0072724161148071285, | |
0.007219200134277344, | |
0.007204864025115967, | |
0.007177216053009033, | |
0.007198719978332519, | |
0.00738099193572998, | |
0.007640063762664795, | |
0.007693312168121338, | |
0.00760422420501709, | |
0.0075673599243164065, | |
0.007547904014587403, | |
0.007592959880828858, | |
0.0075970559120178225, | |
0.007630784034729004, | |
0.007716864109039307, | |
0.007827455997467042, | |
0.00765235185623169, | |
0.007745535850524903, | |
0.00785100793838501, | |
0.007639039993286132, | |
0.0076871681213378906, | |
0.0076267518997192385, | |
0.007648287773132324, | |
0.0075632638931274416, | |
0.007497727870941162, | |
0.007364607810974121, | |
0.007476160049438477, | |
0.007625728130340576, | |
0.007423999786376953, | |
0.00723967981338501, | |
0.00725708818435669, | |
0.007288832187652588, | |
0.007498752117156982, | |
0.0075642881393432615, | |
0.0075939841270446775, | |
0.007664639949798584, | |
0.007798783779144287, | |
0.00759500789642334, | |
0.0074291200637817386, | |
0.007388160228729248, | |
0.007264256000518799, | |
0.007270400047302246, | |
0.007302144050598145, | |
0.007483391761779785, | |
0.007258111953735351, | |
0.007235551834106445, | |
0.0072202239036560055, | |
0.007201824188232422, | |
0.007227392196655274, | |
0.007228415966033935, | |
0.00729702377319336, | |
0.007214079856872559, | |
0.007228415966033935, | |
0.007229440212249756, | |
0.00719974422454834, | |
0.007223296165466309, | |
0.007218175888061523, | |
0.007362559795379638, | |
0.007235616207122803, | |
0.007223296165466309, | |
0.007215104103088379, | |
0.007437312126159668, | |
0.007913472175598145, | |
0.007624703884124756, | |
0.007417856216430664, | |
0.007838719844818116, | |
0.007308288097381592, | |
0.007278592109680176, | |
0.007263232231140137, | |
0.007261184215545655, | |
0.007231488227844239, | |
0.007174143791198731, | |
0.007238656044006348, | |
0.007244800090789795, | |
0.007412735939025879, | |
0.007207935810089112, | |
0.007172095775604248, | |
0.007341055870056152, | |
0.0071823358535766605, | |
0.007206912040710449, | |
0.0072468481063842774, | |
0.007294976234436036, | |
0.007162879943847656, | |
0.007219200134277344, | |
0.0072202239036560055, | |
0.007208960056304932, | |
0.007196671962738037, | |
0.0072120318412780765, | |
0.007202816009521484 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.44307353228567 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.387428494126585e-08, | |
"ram": 4.585027671961912e-08, | |
"gpu": 1.613811932676072e-07, | |
"total": 2.911057549284921e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3435177.707997021 | |
} | |
} | |
} | |
} |