
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
230b2f8
verified
{ | |
"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.385344, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.08352767944335937 | |
], | |
"count": 1, | |
"total": 0.08352767944335937, | |
"mean": 0.08352767944335937, | |
"p50": 0.08352767944335937, | |
"p90": 0.08352767944335937, | |
"p95": 0.08352767944335937, | |
"p99": 0.08352767944335937, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1079.320576, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.992512 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.005701632022857666, | |
0.00522649621963501, | |
0.005221375942230225, | |
0.005181439876556396, | |
0.0052070398330688475, | |
0.005181439876556396, | |
0.00516812801361084, | |
0.005172224044799805, | |
0.005185535907745361, | |
0.005173247814178467, | |
0.00516812801361084, | |
0.005152768135070801, | |
0.0051363840103149415, | |
0.005164000034332275, | |
0.005189631938934326, | |
0.005168064117431641, | |
0.005144576072692871, | |
0.005215231895446777, | |
0.005421055793762207, | |
0.005313536167144775, | |
0.005307392120361328, | |
0.005332992076873779, | |
0.005310463905334473, | |
0.005331967830657959, | |
0.005307392120361328, | |
0.005283840179443359, | |
0.005318624019622803, | |
0.00530944013595581, | |
0.005273600101470947, | |
0.0052971520423889164, | |
0.0053309440612792965, | |
0.005302271842956543, | |
0.0053002238273620605, | |
0.005313568115234375, | |
0.005305344104766845, | |
0.00538316822052002, | |
0.005384191989898681, | |
0.005470240116119384, | |
0.0053678078651428224, | |
0.005404672145843506, | |
0.005346303939819336, | |
0.005413887977600097, | |
0.005434368133544922, | |
0.005292064189910889, | |
0.005336063861846924, | |
0.0053012480735778805, | |
0.005287936210632324, | |
0.0054271998405456545, | |
0.005295104026794434, | |
0.005733376026153565, | |
0.005549056053161621, | |
0.00542310380935669, | |
0.005396480083465576, | |
0.005450751781463623, | |
0.005412864208221436, | |
0.00552345609664917, | |
0.005395455837249756, | |
0.005425151824951172, | |
0.005473311901092529, | |
0.005407743930816651, | |
0.005420032024383545, | |
0.005409791946411133, | |
0.005392384052276611, | |
0.005396480083465576, | |
0.005403647899627686, | |
0.005390336036682129, | |
0.005381120204925537, | |
0.005396480083465576, | |
0.005368832111358642, | |
0.005425151824951172, | |
0.00535859203338623, | |
0.005371903896331787, | |
0.005402624130249023, | |
0.00536575984954834, | |
0.00546611213684082, | |
0.005390336036682129, | |
0.005401599884033203, | |
0.00535148811340332, | |
0.005452799797058106, | |
0.005354496002197265, | |
0.00537497615814209, | |
0.005381120204925537, | |
0.005338111877441406, | |
0.005354496002197265, | |
0.0053944320678710935, | |
0.005388288021087646, | |
0.005422080039978027, | |
0.005368832111358642, | |
0.005375999927520752, | |
0.005417984008789062, | |
0.00536575984954834, | |
0.005360608100891113, | |
0.005384191989898681, | |
0.00537497615814209, | |
0.005350399971008301, | |
0.005385216236114502, | |
0.0053647360801696775, | |
0.005453824043273926, | |
0.005382207870483399, | |
0.005355584144592285, | |
0.005350399971008301, | |
0.005384191989898681, | |
0.005378047943115235, | |
0.0053637118339538575, | |
0.005362656116485596, | |
0.005401599884033203, | |
0.005387328147888184, | |
0.0053340158462524415, | |
0.005362688064575195, | |
0.005399551868438721, | |
0.005369855880737305, | |
0.005476352214813233, | |
0.0053975038528442385, | |
0.005371903896331787, | |
0.005380095958709717, | |
0.00556441593170166, | |
0.005449728012084961, | |
0.005493760108947754, | |
0.005388288021087646, | |
0.005419007778167725, | |
0.005438464164733887, | |
0.0054076800346374515, | |
0.005398528099060058, | |
0.005501952171325684, | |
0.00538108777999878, | |
0.005463039875030518, | |
0.005433343887329102, | |
0.0053637118339538575, | |
0.005407743930816651, | |
0.005371903896331787, | |
0.005385216236114502, | |
0.006446080207824707, | |
0.005527552127838135, | |
0.005471231937408447, | |
0.005550079822540284, | |
0.0060590081214904785, | |
0.006047743797302246, | |
0.005440512180328369, | |
0.005538815975189209, | |
0.005548031806945801, | |
0.005455872058868408, | |
0.005393407821655274, | |
0.00541593599319458, | |
0.005577727794647217, | |
0.005469183921813964, | |
0.005388288021087646, | |
0.00538316822052002, | |
0.005344255924224854, | |
0.005387263774871826, | |
0.0059064321517944334, | |
0.006603775978088379, | |
0.007667712211608887, | |
0.005858304023742676, | |
0.005516287803649903, | |
0.005431295871734619, | |
0.005371903896331787, | |
0.005928959846496582, | |
0.005519360065460205, | |
0.005690368175506591, | |
0.005585919857025146, | |
0.0053821439743042, | |
0.005412864208221436, | |
0.0057487359046936035, | |
0.006339583873748779, | |
0.005407743930816651, | |
0.005405695915222168, | |
0.0054876160621643065, | |
0.005516287803649903, | |
0.005377024173736572, | |
0.005405695915222168, | |
0.0053821439743042, | |
0.005361663818359375, | |
0.00536678409576416, | |
0.005351424217224121, | |
0.00536575984954834, | |
0.005354496002197265, | |
0.0053534722328186036, | |
0.005442560195922852, | |
0.005343232154846191, | |
0.005345280170440674, | |
0.005392384052276611, | |
0.0053647360801696775, | |
0.005362688064575195, | |
0.005384191989898681 | |
], | |
"count": 184, | |
"total": 0.998712416648865, | |
"mean": 0.005427784873091657, | |
"p50": 0.005384191989898681, | |
"p90": 0.005545267057418824, | |
"p95": 0.005746431922912598, | |
"p99": 0.006472888488769529, | |
"stdev": 0.00025401227895271473, | |
"stdev_": 4.67985163177681 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 184.23722077813332 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.390405037709258e-08, | |
"ram": 3.491866518708991e-08, | |
"gpu": 1.2268528333333416e-07, | |
"total": 2.2150799889751663e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4514509.656433049 | |
} | |
} | |
} | |
} |