
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8ec38af
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.532032, | |
"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.14902197265625, | |
"mean": 7.14902197265625, | |
"stdev": 0.0, | |
"p50": 7.14902197265625, | |
"p90": 7.14902197265625, | |
"p95": 7.14902197265625, | |
"p99": 7.14902197265625, | |
"values": [ | |
7.14902197265625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.31963324546814e-07, | |
"ram": 4.676957563968169e-07, | |
"gpu": 1.720001376000202e-06, | |
"total": 3.119660456943833e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 919.3472, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 1.0013193273544312, | |
"mean": 0.007203736168017489, | |
"stdev": 0.00030689132772038544, | |
"p50": 0.0072120318412780765, | |
"p90": 0.007609344005584716, | |
"p95": 0.007687273693084717, | |
"p99": 0.0078451917552948, | |
"values": [ | |
0.007822336196899414, | |
0.00785920000076294, | |
0.0074926080703735356, | |
0.0074065918922424315, | |
0.007342080116271973, | |
0.007767039775848389, | |
0.007390207767486572, | |
0.007332799911499023, | |
0.0072673921585083, | |
0.0072427520751953125, | |
0.007235583782196045, | |
0.007136256217956543, | |
0.007141471862792969, | |
0.007188479900360107, | |
0.0072120318412780765, | |
0.007280640125274658, | |
0.007236608028411865, | |
0.007250944137573242, | |
0.007269375801086426, | |
0.007193600177764893, | |
0.00723145580291748, | |
0.0073062400817871095, | |
0.007261184215545655, | |
0.007307263851165771, | |
0.007290880203247071, | |
0.007235648155212403, | |
0.007215104103088379, | |
0.007177216053009033, | |
0.007238592147827148, | |
0.00722537612915039, | |
0.007172095775604248, | |
0.007121920108795166, | |
0.007094272136688232, | |
0.007204864025115967, | |
0.0071792640686035155, | |
0.007143424034118652, | |
0.007184383869171143, | |
0.007142399787902832, | |
0.0073134078979492185, | |
0.007305215835571289, | |
0.007260159969329834, | |
0.00728169584274292, | |
0.007205887794494629, | |
0.007136256217956543, | |
0.007221248149871826, | |
0.007244800090789795, | |
0.007234560012817383, | |
0.007983104228973388, | |
0.007620543956756592, | |
0.00755398416519165, | |
0.007542719841003418, | |
0.007515135765075683, | |
0.007703551769256592, | |
0.007679999828338623, | |
0.007568384170532226, | |
0.007575551986694336, | |
0.0075970559120178225, | |
0.007569375991821289, | |
0.007557119846343994, | |
0.007554048061370849, | |
0.007614463806152344, | |
0.007688223838806152, | |
0.0076574721336364745, | |
0.007609344005584716, | |
0.0076871681213378906, | |
0.007609344005584716, | |
0.007662591934204102, | |
0.007531519889831543, | |
0.007607295989990235, | |
0.007565311908721924, | |
0.00749567985534668, | |
0.007388160228729248, | |
0.007324672222137451, | |
0.007469056129455566, | |
0.007396351814270019, | |
0.007319551944732666, | |
0.0072930240631103515, | |
0.007305215835571289, | |
0.007356416225433349, | |
0.007417856216430664, | |
0.007542784214019775, | |
0.007543807983398438, | |
0.007602176189422607, | |
0.007777279853820801, | |
0.007553023815155029, | |
0.007114751815795899, | |
0.007071743965148926, | |
0.007013376235961914, | |
0.007087103843688965, | |
0.007061503887176514, | |
0.007065599918365479, | |
0.007039999961853028, | |
0.00707583999633789, | |
0.007053311824798584, | |
0.007095295906066895, | |
0.007021567821502686, | |
0.007063551902770996, | |
0.0070563840866088865, | |
0.007028672218322754, | |
0.007035903930664063, | |
0.007017471790313721, | |
0.007068672180175781, | |
0.007036863803863525, | |
0.007073791980743408, | |
0.007057407855987549, | |
0.007068672180175781, | |
0.007053279876708984, | |
0.006956031799316406, | |
0.006813695907592773, | |
0.006821887969970703, | |
0.0067952961921691896, | |
0.00679423999786377, | |
0.0068280320167541505, | |
0.0068055038452148435, | |
0.0068249602317810056, | |
0.006801407814025879, | |
0.006823935985565186, | |
0.006822912216186523, | |
0.006788095951080322, | |
0.006842368125915528, | |
0.00682700777053833, | |
0.006800384044647217, | |
0.006770688056945801, | |
0.0067993922233581545, | |
0.006797311782836914, | |
0.006776832103729248, | |
0.006763519763946534, | |
0.006740992069244385, | |
0.006729728221893311, | |
0.006706175804138184, | |
0.006731776237487793, | |
0.006729728221893311, | |
0.006716415882110595, | |
0.006722559928894043, | |
0.006730751991271973, | |
0.006708191871643066, | |
0.006725632190704346, | |
0.006730751991271973, | |
0.006791168212890625 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.81685512577647 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.329952189231344e-08, | |
"ram": 4.553810321037446e-08, | |
"gpu": 1.559791457622435e-07, | |
"total": 2.848167708649314e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3511029.2029616116 | |
} | |
} | |
} | |
} |