IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c1ac1b3 verified
raw
history blame
13.4 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.225-213.878.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.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 803.500032,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.08343449401855468
],
"count": 1,
"total": 0.08343449401855468,
"mean": 0.08343449401855468,
"p50": 0.08343449401855468,
"p90": 0.08343449401855468,
"p95": 0.08343449401855468,
"p99": 0.08343449401855468,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1079.406592,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.992512
},
"latency": {
"unit": "s",
"values": [
0.0060661759376525876,
0.00566476821899414,
0.005597184181213379,
0.005479231834411621,
0.005660672187805176,
0.0055491838455200195,
0.005774335861206055,
0.005689343929290771,
0.005646336078643799,
0.00566476821899414,
0.005627903938293457,
0.0056483840942382815,
0.005570559978485107,
0.005533823966979981,
0.005571584224700928,
0.005522463798522949,
0.005586912155151367,
0.005627903938293457,
0.005550079822540284,
0.005574656009674072,
0.005590015888214111,
0.00562278413772583,
0.005586944103240967,
0.005401599884033203,
0.005565343856811523,
0.005403647899627686,
0.0063805441856384275,
0.005794688224792481,
0.0057792959213256835,
0.0058122239112854005,
0.005819392204284668,
0.005849088191986084,
0.005829631805419922,
0.005783552169799804,
0.00579804801940918,
0.005889023780822754,
0.005942272186279297,
0.0059955201148986816,
0.005918655872344971,
0.005903359889984131,
0.0058726401329040525,
0.005985280036926269,
0.005868607997894287,
0.006185919761657715,
0.005846015930175781,
0.006632448196411133,
0.008350720405578613,
0.007961567878723144,
0.005942272186279297,
0.0058429441452026365,
0.005962656021118164,
0.005691391944885254,
0.005563392162322998,
0.005675007820129394,
0.005453824043273926,
0.005475327968597412,
0.006118400096893311,
0.005836800098419189,
0.005785600185394287,
0.005912576198577881,
0.006093823909759521,
0.0055961918830871584,
0.005502975940704345,
0.005504096031188965,
0.005512191772460938,
0.005487520217895508,
0.005490719795227051,
0.005552127838134766,
0.0054785280227661135,
0.005480447769165039,
0.005458943843841553,
0.005477375984191894,
0.0055335679054260255,
0.005743616104125977,
0.005617663860321045,
0.005604351997375488,
0.0056217598915100095,
0.005598207950592041,
0.005725183963775635,
0.005645376205444336,
0.005783552169799804,
0.005518335819244385,
0.005566463947296142,
0.0055552000999450684,
0.005583871841430664,
0.005493760108947754,
0.005433311939239502,
0.005485504150390625,
0.00561356782913208,
0.005525504112243652,
0.005416959762573242,
0.005380095958709717,
0.005416959762573242,
0.005240896224975586,
0.005307392120361328,
0.005598207950592041,
0.005394527912139893,
0.0052111358642578124,
0.005353439807891846,
0.0055848960876464845,
0.005533696174621582,
0.0055931520462036135,
0.005672959804534912,
0.005727168083190918,
0.005721983909606934,
0.005788671970367432,
0.005797887802124023,
0.005865664005279541,
0.0059391999244689945,
0.00573747205734253,
0.005549056053161621,
0.005525375843048096,
0.005542912006378174,
0.00554585599899292,
0.0054988799095153805,
0.005540863990783691,
0.005637119770050049,
0.005738495826721191,
0.00561356782913208,
0.005379072189331055,
0.00539024019241333,
0.005352352142333984,
0.005461023807525635,
0.0054568958282470706,
0.00542310380935669,
0.005381120204925537,
0.005353375911712647,
0.005348351955413819,
0.005375999927520752,
0.005354496002197265,
0.005326720237731933,
0.005359583854675293,
0.005349408149719239,
0.005364831924438477,
0.005350399971008301,
0.005316448211669922,
0.005480544090270996,
0.005504000186920166,
0.005404672145843506,
0.005378047943115235,
0.005338111877441406,
0.005360703945159912,
0.005350399971008301,
0.005402624130249023,
0.005358687877655029,
0.005472256183624268,
0.005443583965301513,
0.005449728012084961,
0.005431295871734619,
0.005408768177032471,
0.005386240005493164,
0.0054579200744628905,
0.005432191848754883,
0.005467008113861084,
0.005435359954833984,
0.005459968090057373,
0.005597184181213379,
0.005467135906219483,
0.005414912223815918,
0.005473279953002929,
0.005598207950592041,
0.005467135906219483,
0.00542310380935669,
0.005416959762573242,
0.005385216236114502,
0.005381120204925537,
0.005370975971221924,
0.0053647360801696775,
0.005345280170440674,
0.005321728229522705,
0.005356544017791748,
0.0053340158462524415,
0.005305344104766845,
0.005468160152435303,
0.005465184211730957,
0.005438464164733887,
0.005482495784759522,
0.005465087890625
],
"count": 178,
"total": 0.9981013445854193,
"mean": 0.0056073109246371836,
"p50": 0.0055337600708007815,
"p90": 0.005877555227279663,
"p95": 0.005986816048622131,
"p99": 0.006938145723342882,
"stdev": 0.0003472319380511702,
"stdev_": 6.192485894183539
},
"throughput": {
"unit": "samples/s",
"value": 178.3386035552691
},
"energy": {
"unit": "kWh",
"cpu": 6.497738780737493e-08,
"ram": 3.550534785626246e-08,
"gpu": 1.1822413829507942e-07,
"total": 2.1870687395871683e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4572329.995392648
}
}
}
}