IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b11a5f3 verified
raw
history blame
13.6 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.0",
"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.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 803.004416,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 0.21940940856933594,
"mean": 0.21940940856933594,
"stdev": 0.0,
"p50": 0.21940940856933594,
"p90": 0.21940940856933594,
"p95": 0.21940940856933594,
"p99": 0.21940940856933594,
"values": [
0.21940940856933594
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.5786201964062156e-06,
"ram": 1.3905412531287248e-06,
"gpu": 3.5244472640361124e-06,
"total": 7.493608713571052e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1078.767616,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.992512
},
"latency": {
"unit": "s",
"count": 180,
"total": 0.9960119667053223,
"mean": 0.005533399815029568,
"stdev": 0.0003266735230552761,
"p50": 0.005480447769165039,
"p90": 0.005851545763015747,
"p95": 0.006300928044319153,
"p99": 0.006560849947929382,
"values": [
0.006032383918762207,
0.005855231761932373,
0.005933055877685547,
0.005807104110717773,
0.005855231761932373,
0.0057825279235839844,
0.005834752082824707,
0.005791744232177734,
0.005807104110717773,
0.005773312091827393,
0.005856256008148194,
0.00581324815750122,
0.005763072013854981,
0.005753856182098388,
0.005851136207580566,
0.005833727836608887,
0.005743616104125977,
0.005735424041748047,
0.005677055835723877,
0.005686272144317627,
0.005720064163208007,
0.005726208209991455,
0.005745664119720459,
0.006305791854858398,
0.005886975765228271,
0.005785600185394287,
0.0058388481140136715,
0.005736447811126709,
0.00572211217880249,
0.005604351997375488,
0.005747712135314941,
0.005712831974029541,
0.005889023780822754,
0.00576204776763916,
0.005709856033325195,
0.00572211217880249,
0.005701632022857666,
0.005774335861206055,
0.005691391944885254,
0.005710847854614258,
0.005687295913696289,
0.005832704067230224,
0.005534719944000244,
0.0054568958282470706,
0.005500927925109863,
0.005464064121246338,
0.005386240005493164,
0.005332992076873779,
0.0054568638801574705,
0.005767168045043946,
0.005693439960479736,
0.005665791988372803,
0.00551526403427124,
0.005446656227111817,
0.005490719795227051,
0.005449728012084961,
0.005404672145843506,
0.005516287803649903,
0.005499904155731201,
0.005537792205810547,
0.005534719944000244,
0.0055285758972167965,
0.005508096218109131,
0.005486591815948487,
0.005439487934112549,
0.005433375835418701,
0.005627903938293457,
0.005799935817718506,
0.00576204776763916,
0.005542912006378174,
0.0054906878471374515,
0.005437439918518067,
0.005527552127838135,
0.00546611213684082,
0.005453824043273926,
0.0053678078651428224,
0.005322751998901368,
0.005361663818359375,
0.005536767959594726,
0.005435391902923584,
0.005480447769165039,
0.0055101442337036136,
0.005495808124542236,
0.005478400230407715,
0.005478400230407715,
0.005396512031555176,
0.0054579200744628905,
0.005401535987854004,
0.00555622386932373,
0.005420032024383545,
0.005388288021087646,
0.00537497615814209,
0.005409791946411133,
0.005418047904968261,
0.005550079822540284,
0.005543935775756836,
0.005519360065460205,
0.005480447769165039,
0.005475391864776611,
0.005495808124542236,
0.0054496641159057614,
0.005429247856140137,
0.005484543800354004,
0.005443583965301513,
0.005454847812652588,
0.005364704132080078,
0.005335008144378662,
0.0054876160621643065,
0.005379072189331055,
0.0052715520858764645,
0.00529094409942627,
0.005272575855255127,
0.00515174388885498,
0.005235712051391602,
0.005355519771575928,
0.0052930560111999515,
0.005148672103881836,
0.005085184097290039,
0.0050657281875610355,
0.005154816150665284,
0.006325247764587402,
0.006456319808959961,
0.006550528049468994,
0.006628352165222168,
0.006300672054290772,
0.00572108793258667,
0.005698560237884521,
0.006284287929534912,
0.006599679946899414,
0.006507487773895264,
0.006396927833557129,
0.006440959930419922,
0.005726208209991455,
0.005710847854614258,
0.005518335819244385,
0.005434368133544922,
0.005508096218109131,
0.005710847854614258,
0.005387263774871826,
0.005398528099060058,
0.005348351955413819,
0.005355519771575928,
0.005391359806060791,
0.0053350400924682614,
0.005348351955413819,
0.00536678409576416,
0.005390336036682129,
0.005314559936523438,
0.005352447986602784,
0.005345280170440674,
0.005371903896331787,
0.0053760318756103515,
0.005319680213928223,
0.005314559936523438,
0.005356544017791748,
0.005097472190856934,
0.005178368091583252,
0.005100543975830078,
0.005073919773101807,
0.005076000213623047,
0.005079040050506592,
0.005135359764099121,
0.005114880084991455,
0.005103583812713623,
0.0051138558387756345,
0.005098495960235596,
0.005099520206451416,
0.005083136081695557,
0.005127200126647949,
0.005108736038208008,
0.005087232112884522,
0.005111807823181152,
0.0050954241752624516,
0.00506060791015625,
0.0050728960037231445,
0.005105663776397705,
0.005094399929046631,
0.005087232112884522,
0.005141503810882568,
0.005104640007019043
]
},
"throughput": {
"unit": "samples/s",
"value": 180.72072024939274
},
"energy": {
"unit": "kWh",
"cpu": 6.044040230676988e-08,
"ram": 3.302789167637895e-08,
"gpu": 1.2198705904083032e-07,
"total": 2.1545535302397916e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4641332.814268508
}
}
}
}