IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e2d226f verified
raw
history blame
12.3 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.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": 799.158272,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.98961572265625,
"mean": 7.98961572265625,
"stdev": 0.0,
"p50": 7.98961572265625,
"p90": 7.98961572265625,
"p95": 7.98961572265625,
"p99": 7.98961572265625,
"values": [
7.98961572265625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.5438472868801103e-06,
"ram": 1.3447505754033471e-06,
"gpu": 3.4247249620089626e-06,
"total": 7.31332282429242e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1089.015808,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 148,
"total": 0.9963703675270084,
"mean": 0.006732232213020326,
"stdev": 9.462451845666492e-05,
"p50": 0.006740495920181274,
"p90": 0.0068280320167541505,
"p95": 0.006873190522193908,
"p99": 0.0069433242130279545,
"values": [
0.00687820816040039,
0.006846464157104492,
0.006892543792724609,
0.006800384044647217,
0.0068280320167541505,
0.006830080032348633,
0.006755328178405762,
0.006796288013458252,
0.006801407814025879,
0.006754303932189941,
0.006750207901000976,
0.006766592025756836,
0.006801407814025879,
0.006789120197296142,
0.006731776237487793,
0.006714367866516113,
0.006673471927642822,
0.006767615795135498,
0.006749184131622315,
0.006766592025756836,
0.006783999919891357,
0.006821887969970703,
0.0068280320167541505,
0.006752255916595459,
0.006718463897705078,
0.006723616123199463,
0.006772736072540283,
0.0068618240356445315,
0.0068065600395202635,
0.006831103801727295,
0.0067758398056030275,
0.006773759841918945,
0.006755360126495361,
0.006770688056945801,
0.006755328178405762,
0.0067717118263244626,
0.006737919807434082,
0.00675328016281128,
0.006671296119689941,
0.006654975891113281,
0.0067010560035705566,
0.006707200050354004,
0.006755328178405762,
0.006715392112731934,
0.006754303932189941,
0.006725632190704346,
0.00667852783203125,
0.006766592025756836,
0.006799263954162598,
0.0067758078575134275,
0.006777791976928711,
0.00679423999786377,
0.006759424209594727,
0.006706175804138184,
0.006711296081542969,
0.006804480075836182,
0.006812672138214112,
0.006797311782836914,
0.006760447978973389,
0.006761472225189209,
0.006791168212890625,
0.006708223819732666,
0.006669312000274658,
0.006825984001159668,
0.006754303932189941,
0.006781951904296875,
0.006795263767242431,
0.006719488143920899,
0.006729728221893311,
0.006739999771118164,
0.006731776237487793,
0.006749184131622315,
0.0067041277885437015,
0.006723584175109864,
0.006756351947784424,
0.0068280320167541505,
0.006863872051239014,
0.006852608203887939,
0.0067983360290527345,
0.006783999919891357,
0.006804480075836182,
0.006739967823028564,
0.006758399963378906,
0.006762495994567871,
0.006651904106140137,
0.006730751991271973,
0.006773759841918945,
0.00667852783203125,
0.006656000137329102,
0.006557695865631104,
0.0065229439735412596,
0.006711296081542969,
0.006665215969085693,
0.006468607902526856,
0.006419456005096436,
0.006385632038116455,
0.0066406397819519045,
0.006799359798431396,
0.006825984001159668,
0.006813695907592773,
0.006889472007751465,
0.006944767951965332,
0.00709119987487793,
0.006785024166107178,
0.006770688056945801,
0.006729728221893311,
0.006740992069244385,
0.006941696166992187,
0.006718463897705078,
0.006752255916595459,
0.0067041277885437015,
0.006652927875518798,
0.006702047824859619,
0.006667263984680176,
0.006618112087249756,
0.006725632190704346,
0.006676479816436768,
0.006631423950195312,
0.006639616012573242,
0.006656000137329102,
0.006688767910003662,
0.006656000137329102,
0.0066826238632202144,
0.006639616012573242,
0.0066344962120056155,
0.006941696166992187,
0.0069324798583984375,
0.006719488143920899,
0.006670335769653321,
0.006651904106140137,
0.006651872158050537,
0.006684671878814697,
0.00664572811126709,
0.006623231887817383,
0.006646783828735352,
0.006632448196411133,
0.006618112087249756,
0.006625279903411865,
0.006617087841033936,
0.006612991809844971,
0.006647808074951172,
0.006618112087249756,
0.006623231887817383,
0.006623231887817383,
0.0066304001808166506,
0.0066109437942504885,
0.006624256134033203,
0.006626304149627686
]
},
"throughput": {
"unit": "samples/s",
"value": 148.5391424951106
},
"energy": {
"unit": "kWh",
"cpu": 7.791863524371951e-08,
"ram": 4.2582142256053735e-08,
"gpu": 1.4556115446098952e-07,
"total": 2.6606193196076274e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3758523.4108105106
}
}
}
}