IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2493bcb verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.224-212.876.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.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.761536,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.992267578125,
"mean": 7.992267578125,
"stdev": 0.0,
"p50": 7.992267578125,
"p90": 7.992267578125,
"p95": 7.992267578125,
"p99": 7.992267578125,
"values": [
7.992267578125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.466510591666962e-06,
"ram": 1.3328207593165474e-06,
"gpu": 3.463891660001467e-06,
"total": 7.263223010984977e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1093.312512,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 127,
"total": 0.9991095352172845,
"mean": 0.007867004214309333,
"stdev": 0.0003311570094892865,
"p50": 0.007968768119812012,
"p90": 0.008112742424011232,
"p95": 0.008309862422943114,
"p99": 0.008906806945800781,
"values": [
0.008326144218444824,
0.008238143920898437,
0.008488960266113281,
0.00819711971282959,
0.00811520004272461,
0.008049728393554688,
0.008071167945861817,
0.00800870418548584,
0.008014847755432129,
0.007962624073028564,
0.008041472434997558,
0.008014847755432129,
0.007977983951568603,
0.007946239948272706,
0.007960576057434082,
0.008043519973754883,
0.008072128295898437,
0.009206784248352052,
0.00820633602142334,
0.00807423973083496,
0.008447999954223634,
0.008950719833374024,
0.008434687614440918,
0.008111104011535645,
0.008059935569763184,
0.008075263977050781,
0.008039423942565918,
0.007974912166595459,
0.007996416091918946,
0.008012800216674805,
0.007978975772857666,
0.007963647842407226,
0.007949312210083008,
0.007945216178894043,
0.00810700798034668,
0.008011775970458984,
0.007995391845703125,
0.008028160095214844,
0.007974912166595459,
0.00800767993927002,
0.00827187156677246,
0.008099840164184571,
0.008035327911376953,
0.008044544219970704,
0.008009696006774902,
0.00800153636932373,
0.008040448188781739,
0.008062975883483887,
0.008006655693054199,
0.007993343830108643,
0.008018943786621094,
0.007968768119812012,
0.00793497610092163,
0.00800767993927002,
0.00800051212310791,
0.00808243179321289,
0.007938015937805175,
0.007961599826812745,
0.007995391845703125,
0.007967743873596191,
0.008006655693054199,
0.00800870418548584,
0.007959551811218261,
0.008080384254455567,
0.008140800476074218,
0.008028127670288087,
0.00809062385559082,
0.008058879852294922,
0.008014847755432129,
0.007979008197784423,
0.008005632400512695,
0.007969791889190675,
0.008054783821105957,
0.007950335979461669,
0.007920639991760254,
0.007769087791442871,
0.007649280071258545,
0.007506912231445313,
0.00733900785446167,
0.007194623947143554,
0.007164927959442138,
0.0074332160949707035,
0.008781824111938476,
0.007929855823516846,
0.007696383953094482,
0.00783564805984497,
0.007937024116516114,
0.007659520149230957,
0.007554048061370849,
0.007531519889831543,
0.007515135765075683,
0.007523327827453613,
0.008054783821105957,
0.007568384170532226,
0.007494656085968018,
0.007763967990875244,
0.007493631839752197,
0.0074700798988342285,
0.0074629120826721195,
0.007455743789672851,
0.007464960098266602,
0.007451648235321045,
0.007465983867645264,
0.007473152160644531,
0.0075038719177246095,
0.007434239864349365,
0.0074670081138610836,
0.007498752117156982,
0.007476223945617676,
0.007464960098266602,
0.007479296207427978,
0.007497727870941162,
0.0074711041450500485,
0.007437344074249268,
0.007486464023590088,
0.007485439777374267,
0.00774348783493042,
0.007562240123748779,
0.0075335679054260255,
0.007543807983398438,
0.007521279811859131,
0.007543807983398438,
0.007488512039184571,
0.007510015964508057,
0.007498752117156982,
0.007518208026885987,
0.007508992195129394
]
},
"throughput": {
"unit": "samples/s",
"value": 127.1131898189523
},
"energy": {
"unit": "kWh",
"cpu": 8.82044173610985e-08,
"ram": 4.8197300875564624e-08,
"gpu": 1.6957009450370842e-07,
"total": 3.0597181274037153e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3268274.914096539
}
}
}
}