
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c7eebd1
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 763.101184, | |
"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.41068994140625, | |
"mean": 7.41068994140625, | |
"stdev": 0.0, | |
"p50": 7.41068994140625, | |
"p90": 7.41068994140625, | |
"p95": 7.41068994140625, | |
"p99": 7.41068994140625, | |
"values": [ | |
7.41068994140625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.422364750001578e-07, | |
"ram": 4.6093342882917027e-07, | |
"gpu": 1.7377791680004383e-06, | |
"total": 3.1409490718297663e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 963.551232, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9971638078689574, | |
"mean": 0.007386398576807093, | |
"stdev": 0.00035956554890602686, | |
"p50": 0.007509920120239258, | |
"p90": 0.007779737567901611, | |
"p95": 0.007839744091033935, | |
"p99": 0.008112250747680664, | |
"values": [ | |
0.007821311950683594, | |
0.008023039817810058, | |
0.008158207893371582, | |
0.007925759792327881, | |
0.007839744091033935, | |
0.007802879810333252, | |
0.007839744091033935, | |
0.008169471740722656, | |
0.007740416049957275, | |
0.007692287921905518, | |
0.007783423900604248, | |
0.007669760227203369, | |
0.007619584083557129, | |
0.007602176189422607, | |
0.007702527999877929, | |
0.007844863891601562, | |
0.007704576015472412, | |
0.00773632001876831, | |
0.007712768077850342, | |
0.00765337610244751, | |
0.007607295989990235, | |
0.007701504230499268, | |
0.007740384101867676, | |
0.00782643222808838, | |
0.007753727912902832, | |
0.007692287921905518, | |
0.007601183891296387, | |
0.007675903797149658, | |
0.007774208068847656, | |
0.007702527999877929, | |
0.0076574721336364745, | |
0.00753868818283081, | |
0.007556096076965332, | |
0.007935999870300293, | |
0.007654399871826172, | |
0.007640096187591552, | |
0.007662528038024903, | |
0.007732223987579345, | |
0.007688191890716553, | |
0.00773632001876831, | |
0.007726079940795898, | |
0.007824384212493896, | |
0.007624703884124756, | |
0.007612415790557861, | |
0.0076390719413757325, | |
0.007683072090148926, | |
0.007294976234436036, | |
0.0072540159225463864, | |
0.007256063938140869, | |
0.007206912040710449, | |
0.007173120021820068, | |
0.007261184215545655, | |
0.007194623947143554, | |
0.007461887836456299, | |
0.007686143875122071, | |
0.007616511821746826, | |
0.007591936111450195, | |
0.00754585599899292, | |
0.007574528217315674, | |
0.007602176189422607, | |
0.007556096076965332, | |
0.007274496078491211, | |
0.007327807903289795, | |
0.007333888053894043, | |
0.007341055870056152, | |
0.007307263851165771, | |
0.007291903972625732, | |
0.00744652795791626, | |
0.007723008155822754, | |
0.007620607852935791, | |
0.007590911865234375, | |
0.007632895946502686, | |
0.007541696071624756, | |
0.007509920120239258, | |
0.007422976016998291, | |
0.007516160011291504, | |
0.007558144092559814, | |
0.007546847820281983, | |
0.007263264179229736, | |
0.007275519847869873, | |
0.0074106879234313965, | |
0.007577600002288819, | |
0.007620607852935791, | |
0.007659520149230957, | |
0.007661568164825439, | |
0.007706624031066894, | |
0.007797760009765625, | |
0.0073820161819458, | |
0.00724889612197876, | |
0.007185408115386963, | |
0.00713318395614624, | |
0.007238656044006348, | |
0.007189472198486328, | |
0.007209983825683594, | |
0.007228415966033935, | |
0.007165952205657959, | |
0.007202816009521484, | |
0.007214079856872559, | |
0.007226367950439453, | |
0.00724070405960083, | |
0.007158783912658692, | |
0.007205887794494629, | |
0.007166975975036621, | |
0.006883296012878418, | |
0.006876160144805908, | |
0.0068392958641052244, | |
0.006864895820617676, | |
0.006864895820617676, | |
0.0068392958641052244, | |
0.006852608203887939, | |
0.006860799789428711, | |
0.006864895820617676, | |
0.006847487926483154, | |
0.006842368125915528, | |
0.006854656219482422, | |
0.006853631973266602, | |
0.006860799789428711, | |
0.006864863872528076, | |
0.006860799789428711, | |
0.006845439910888672, | |
0.00683622407913208, | |
0.0068689918518066405, | |
0.006842368125915528, | |
0.006867968082427979, | |
0.006846464157104492, | |
0.006883327960968018, | |
0.006846464157104492, | |
0.006875135898590088, | |
0.0068853759765625, | |
0.006873055934906006, | |
0.006853631973266602, | |
0.0068915200233459475, | |
0.006863872051239014, | |
0.00683622407913208, | |
0.006854656219482422 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.38397496446345 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.132470689687975e-08, | |
"ram": 4.44504337708622e-08, | |
"gpu": 1.5352371490410673e-07, | |
"total": 2.7929885557184867e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3580394.1908482094 | |
} | |
} | |
} | |
} |