IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8849723 verified
raw
history blame
11.8 kB
{
"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.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": 720.723968,
"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.1161611328125,
"mean": 7.1161611328125,
"stdev": 0.0,
"p50": 7.1161611328125,
"p90": 7.1161611328125,
"p95": 7.1161611328125,
"p99": 7.1161611328125,
"values": [
7.1161611328125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.87272145833467e-07,
"ram": 4.708371798606236e-07,
"gpu": 1.6122235120003686e-06,
"total": 2.970332837694459e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 919.47008,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 137,
"total": 1.0021679992675783,
"mean": 0.007315094885164803,
"stdev": 0.00033161645797979245,
"p50": 0.0074741759300231934,
"p90": 0.007649484729766846,
"p95": 0.007756569766998291,
"p99": 0.007877743282318115,
"values": [
0.007839744091033935,
0.00775267219543457,
0.007816192150115966,
0.007772160053253174,
0.007741439819335938,
0.007696383953094482,
0.0076574721336364745,
0.007548927783966064,
0.007514111995697022,
0.00758681583404541,
0.007262207984924316,
0.007214079856872559,
0.007872479915618897,
0.007557119846343994,
0.007659520149230957,
0.007615488052368164,
0.0075970559120178225,
0.0075632638931274416,
0.007532544136047363,
0.007560192108154297,
0.007622655868530274,
0.007599103927612305,
0.0075939841270446775,
0.007614463806152344,
0.007625728130340576,
0.007532544136047363,
0.007546879768371582,
0.007539711952209473,
0.007585792064666748,
0.007475135803222656,
0.007469056129455566,
0.007498752117156982,
0.007508992195129394,
0.007527423858642578,
0.007543807983398438,
0.00749567985534668,
0.007558144092559814,
0.007575551986694336,
0.007620607852935791,
0.007579648017883301,
0.0075304961204528805,
0.00744755220413208,
0.007505919933319092,
0.007666687965393066,
0.007841792106628418,
0.007570432186126709,
0.007532544136047363,
0.007449600219726562,
0.007512063980102539,
0.007535615921020508,
0.007566336154937744,
0.007483391761779785,
0.0074741759300231934,
0.007550975799560547,
0.0075038719177246095,
0.007488512039184571,
0.007880703926086426,
0.007544832229614258,
0.00764415979385376,
0.007618559837341309,
0.007568384170532226,
0.007588863849639893,
0.007523263931274414,
0.007549952030181885,
0.007561215877532959,
0.007488512039184571,
0.007575551986694336,
0.007450623989105225,
0.0074403839111328125,
0.0073134078979492185,
0.0074700798988342285,
0.00749567985534668,
0.007275519847869873,
0.007238656044006348,
0.007308288097381592,
0.007318528175354004,
0.007375840187072754,
0.007555071830749512,
0.007575551986694336,
0.007542784214019775,
0.0076574721336364745,
0.007476223945617676,
0.007311359882354736,
0.007967743873596191,
0.007274432182312012,
0.007117824077606201,
0.007155712127685547,
0.007111680030822754,
0.007068672180175781,
0.007051263809204102,
0.007076863765716553,
0.00709119987487793,
0.007049183845520019,
0.00705836820602417,
0.0071495680809020995,
0.0070860800743103025,
0.007077888011932373,
0.007048192024230957,
0.007077888011932373,
0.00708403205871582,
0.007069695949554444,
0.007061503887176514,
0.007065599918365479,
0.007070720195770264,
0.0070553598403930665,
0.007081984043121338,
0.007069695949554444,
0.007060480117797851,
0.007010303974151612,
0.006938623905181885,
0.006980607986450196,
0.006739967823028564,
0.006749184131622315,
0.0067348480224609375,
0.00693452787399292,
0.006773759841918945,
0.006758399963378906,
0.006773759841918945,
0.0068351998329162595,
0.006815743923187256,
0.006785088062286377,
0.0067983040809631344,
0.006793216228485107,
0.006776832103729248,
0.006776832103729248,
0.006816768169403077,
0.0068249602317810056,
0.006779903888702392,
0.006849535942077637,
0.006803455829620361,
0.006781951904296875,
0.006800415992736816,
0.0067983360290527345,
0.006780928134918213,
0.006773759841918945,
0.006833151817321777,
0.006785024166107178
]
},
"throughput": {
"unit": "samples/s",
"value": 136.70362663757447
},
"energy": {
"unit": "kWh",
"cpu": 8.341545999608546e-08,
"ram": 4.560696485179188e-08,
"gpu": 1.5275638198591554e-07,
"total": 2.817788068337929e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3548882.938488165
}
}
}
}