IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9c69af3 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.223-211.872.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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 789.082112,
"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.4088828125,
"mean": 7.4088828125,
"stdev": 0.0,
"p50": 7.4088828125,
"p90": 7.4088828125,
"p95": 7.4088828125,
"p99": 7.4088828125,
"values": [
7.4088828125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.581495020832955e-07,
"ram": 5.094954504629533e-07,
"gpu": 0.0,
"total": 1.4676449525462487e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1083.908096,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 128,
"total": 0.9977915496826172,
"mean": 0.007795246481895447,
"stdev": 0.00044890868647223206,
"p50": 0.00771942400932312,
"p90": 0.008112127780914306,
"p95": 0.008504678392410278,
"p99": 0.009509056911468507,
"values": [
0.007953407764434815,
0.007940095901489258,
0.007874559879302979,
0.007857088088989259,
0.007827455997467042,
0.00779366397857666,
0.007769087791442871,
0.007937024116516114,
0.007794688224792481,
0.0077281279563903805,
0.007738368034362793,
0.007717887878417969,
0.007641088008880615,
0.007578591823577881,
0.007672800064086914,
0.007683072090148926,
0.007711743831634522,
0.007712768077850342,
0.0077209601402282715,
0.007699456214904785,
0.007633920192718506,
0.007740416049957275,
0.007744575977325439,
0.007789567947387695,
0.007763967990875244,
0.007748608112335205,
0.007751679897308349,
0.007693280220031738,
0.007651328086853027,
0.007828479766845703,
0.00784281587600708,
0.009582592010498046,
0.010359807968139649,
0.00790835189819336,
0.008040448188781739,
0.007949312210083008,
0.007646207809448242,
0.00808140754699707,
0.007935999870300293,
0.007966720104217529,
0.00800051212310791,
0.007996416091918946,
0.00795750379562378,
0.007633920192718506,
0.007606272220611572,
0.007676928043365478,
0.007781375885009765,
0.007675903797149658,
0.007631872177124023,
0.007692287921905518,
0.007774208068847656,
0.007705599784851074,
0.007648255825042725,
0.007809023857116699,
0.007955455780029297,
0.008373248100280761,
0.00831283187866211,
0.007740416049957275,
0.007658495903015137,
0.007642111778259277,
0.007614463806152344,
0.00801587200164795,
0.00841215991973877,
0.00801689624786377,
0.008035327911376953,
0.00820633602142334,
0.008062975883483887,
0.00818380832672119,
0.007944191932678223,
0.008010751724243164,
0.007837632179260253,
0.00789299201965332,
0.007961599826812745,
0.007881728172302246,
0.007773183822631836,
0.007662591934204102,
0.007858176231384278,
0.007744480133056641,
0.007483391761779785,
0.008731648445129395,
0.007727104187011719,
0.00774348783493042,
0.00909721565246582,
0.009268223762512207,
0.009310239791870118,
0.008511487960815429,
0.008077312469482421,
0.008492032051086425,
0.00788374376296997,
0.00753868818283081,
0.007506944179534912,
0.007539711952209473,
0.007575551986694336,
0.007483391761779785,
0.007491583824157715,
0.007494656085968018,
0.007461887836456299,
0.007451648235321045,
0.007443456172943115,
0.007415808200836181,
0.00744652795791626,
0.007442431926727295,
0.007448575973510742,
0.0074700798988342285,
0.007475200176239013,
0.007448575973510742,
0.007455743789672851,
0.007517183780670166,
0.007419871807098389,
0.0073400321006774905,
0.007362527847290039,
0.007361536026000977,
0.0073400321006774905,
0.007358463764190673,
0.0074106879234313965,
0.007497727870941162,
0.007284736156463623,
0.007233535766601563,
0.007260223865509033,
0.007311359882354736,
0.007483391761779785,
0.007488512039184571,
0.007480319976806641,
0.007475168228149414,
0.007457791805267334,
0.007458847999572754,
0.007460864067077637,
0.007473152160644531
]
},
"throughput": {
"unit": "samples/s",
"value": 128.28330731074533
},
"energy": {
"unit": "kWh",
"cpu": 8.610076240438546e-08,
"ram": 4.70739426229477e-08,
"gpu": 1.76497725739133e-07,
"total": 3.0967243076646616e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3229218.686096509
}
}
}
}