
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a07835b
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 787.894272, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4492529296875, | |
"mean": 7.4492529296875, | |
"stdev": 0.0, | |
"p50": 7.4492529296875, | |
"p90": 7.4492529296875, | |
"p95": 7.4492529296875, | |
"p99": 7.4492529296875, | |
"values": [ | |
7.4492529296875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0661731923607852e-06, | |
"ram": 5.675092877226037e-07, | |
"gpu": 1.602223504000317e-06, | |
"total": 3.235905984083706e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1077.583872, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 0.9997752003669739, | |
"mean": 0.006801191839231115, | |
"stdev": 0.00035212494367062373, | |
"p50": 0.006779903888702392, | |
"p90": 0.006891110420227051, | |
"p95": 0.00700579833984375, | |
"p99": 0.0084855806159973, | |
"values": [ | |
0.00971571159362793, | |
0.009312255859375, | |
0.007262207984924316, | |
0.007009280204772949, | |
0.007172095775604248, | |
0.007515135765075683, | |
0.006605823993682861, | |
0.006435840129852295, | |
0.006503424167633057, | |
0.00652288007736206, | |
0.006496255874633789, | |
0.006512639999389648, | |
0.00653715181350708, | |
0.0065054078102111815, | |
0.006524928092956543, | |
0.0070767998695373535, | |
0.006605855941772461, | |
0.006492159843444824, | |
0.006475808143615723, | |
0.0067010560035705566, | |
0.006508543968200684, | |
0.006491136074066162, | |
0.006520832061767578, | |
0.006504447937011719, | |
0.006464511871337891, | |
0.006626304149627686, | |
0.006738944053649902, | |
0.006467584133148193, | |
0.006468607902526856, | |
0.006469632148742676, | |
0.006429696083068847, | |
0.006481919765472412, | |
0.006937600135803222, | |
0.0068249602317810056, | |
0.00676966381072998, | |
0.006779903888702392, | |
0.0067645440101623535, | |
0.00674508810043335, | |
0.006782976150512696, | |
0.006740960121154785, | |
0.006945792198181152, | |
0.006754303932189941, | |
0.0067901120185852055, | |
0.006713344097137451, | |
0.00679423999786377, | |
0.006791232109069824, | |
0.006773759841918945, | |
0.006774784088134766, | |
0.006766592025756836, | |
0.006760447978973389, | |
0.006813695907592773, | |
0.006755328178405762, | |
0.006776832103729248, | |
0.006748159885406494, | |
0.006778880119323731, | |
0.006782976150512696, | |
0.006751232147216797, | |
0.0067686400413513184, | |
0.006800384044647217, | |
0.006759391784667969, | |
0.006785024166107178, | |
0.006770688056945801, | |
0.0067758078575134275, | |
0.006743040084838867, | |
0.006767615795135498, | |
0.006776832103729248, | |
0.006751232147216797, | |
0.006910975933074951, | |
0.006789120197296142, | |
0.006763519763946534, | |
0.006751232147216797, | |
0.006747136116027832, | |
0.006773759841918945, | |
0.006740992069244385, | |
0.00674508810043335, | |
0.006758399963378906, | |
0.006763519763946534, | |
0.006779903888702392, | |
0.006754303932189941, | |
0.006754303932189941, | |
0.006792191982269287, | |
0.006759424209594727, | |
0.006755328178405762, | |
0.0067420158386230465, | |
0.006770688056945801, | |
0.00678604793548584, | |
0.006754303932189941, | |
0.006767615795135498, | |
0.006793216228485107, | |
0.006874112129211426, | |
0.006781983852386475, | |
0.0067675838470458985, | |
0.006819839954376221, | |
0.0067840638160705565, | |
0.006788095951080322, | |
0.00678604793548584, | |
0.006772736072540283, | |
0.006783999919891357, | |
0.006782976150512696, | |
0.006825984001159668, | |
0.006880256175994873, | |
0.007000063896179199, | |
0.006913023948669434, | |
0.00687820816040039, | |
0.006899712085723877, | |
0.006870016098022461, | |
0.006881279945373535, | |
0.006784031867980957, | |
0.006820864200592041, | |
0.006816768169403077, | |
0.006792128086090088, | |
0.0068853759765625, | |
0.006821887969970703, | |
0.006804512023925781, | |
0.006803455829620361, | |
0.006812672138214112, | |
0.006807551860809326, | |
0.006811647891998291, | |
0.006823935985565186, | |
0.0068249602317810056, | |
0.006979584217071533, | |
0.006766592025756836, | |
0.006800384044647217, | |
0.006796288013458252, | |
0.006763519763946534, | |
0.0067010560035705566, | |
0.006680575847625733, | |
0.006657023906707763, | |
0.006687744140625, | |
0.006779903888702392, | |
0.006806528091430664, | |
0.0068321280479431154, | |
0.006803455829620361, | |
0.006863935947418213, | |
0.006781951904296875, | |
0.007008255958557129, | |
0.006789120197296142, | |
0.006809599876403808, | |
0.006808576107025147, | |
0.0068055038452148435, | |
0.006838272094726563, | |
0.0068321280479431154, | |
0.0068321280479431154, | |
0.006818816184997558, | |
0.006815743923187256, | |
0.00679423999786377, | |
0.0067983360290527345 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.0330529763518 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.700848735569603e-08, | |
"ram": 4.210524774954436e-08, | |
"gpu": 1.3937962088311895e-07, | |
"total": 2.584933559883593e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3868571.3842681237 | |
} | |
} | |
} | |
} |