
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
96019c9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu121", | |
"_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": 765.485056, | |
"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.4303876953125, | |
"mean": 7.4303876953125, | |
"stdev": 0.0, | |
"p50": 7.4303876953125, | |
"p90": 7.4303876953125, | |
"p95": 7.4303876953125, | |
"p99": 7.4303876953125, | |
"values": [ | |
7.4303876953125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0633139694438872e-06, | |
"ram": 5.666658016994584e-07, | |
"gpu": 1.6197235179994315e-06, | |
"total": 3.2497032891427775e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 958.312448, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 0.9997462720870974, | |
"mean": 0.006664975147247314, | |
"stdev": 0.0002994929534790365, | |
"p50": 0.0068039679527282714, | |
"p90": 0.006930943870544434, | |
"p95": 0.007036518311500549, | |
"p99": 0.007186268038749694, | |
"values": [ | |
0.007228415966033935, | |
0.007142399787902832, | |
0.007051263809204102, | |
0.0070563840866088865, | |
0.007060480117797851, | |
0.007053311824798584, | |
0.0069027838706970214, | |
0.006847487926483154, | |
0.006894591808319092, | |
0.006858751773834228, | |
0.006857791900634766, | |
0.006874112129211426, | |
0.006912000179290771, | |
0.006871039867401123, | |
0.0067717118263244626, | |
0.006814720153808594, | |
0.006825984001159668, | |
0.007060480117797851, | |
0.006949888229370117, | |
0.006908927917480469, | |
0.00689356803894043, | |
0.00684441614151001, | |
0.006776832103729248, | |
0.006872064113616944, | |
0.006930431842803955, | |
0.006845439910888672, | |
0.006888383865356445, | |
0.006892543792724609, | |
0.006873087882995605, | |
0.006859776020050049, | |
0.0068577280044555666, | |
0.0068884482383728025, | |
0.006968319892883301, | |
0.006862847805023193, | |
0.006821887969970703, | |
0.006778880119323731, | |
0.006754303932189941, | |
0.006807551860809326, | |
0.0068321280479431154, | |
0.006872064113616944, | |
0.006842368125915528, | |
0.00684441614151001, | |
0.00684441614151001, | |
0.006848512172698974, | |
0.006883327960968018, | |
0.0068853759765625, | |
0.006968319892883301, | |
0.006790143966674805, | |
0.00679423999786377, | |
0.0068249602317810056, | |
0.006850560188293457, | |
0.0068915200233459475, | |
0.007018496036529541, | |
0.006895616054534912, | |
0.006860799789428711, | |
0.006977536201477051, | |
0.006807551860809326, | |
0.006854656219482422, | |
0.006800384044647217, | |
0.0069027838706970214, | |
0.00687820816040039, | |
0.006792128086090088, | |
0.006845439910888672, | |
0.006833151817321777, | |
0.006814720153808594, | |
0.00677785587310791, | |
0.006831103801727295, | |
0.006860799789428711, | |
0.006916096210479736, | |
0.006945759773254395, | |
0.006897664070129395, | |
0.00693555212020874, | |
0.0069212160110473635, | |
0.006871039867401123, | |
0.006870016098022461, | |
0.006831039905548095, | |
0.006813695907592773, | |
0.006819839954376221, | |
0.006912992000579834, | |
0.006831103801727295, | |
0.006739967823028564, | |
0.00674508810043335, | |
0.006608895778656006, | |
0.006746111869812011, | |
0.00673689603805542, | |
0.006605823993682861, | |
0.006470655918121338, | |
0.006501376152038574, | |
0.006491136074066162, | |
0.006715392112731934, | |
0.00676966381072998, | |
0.006782976150512696, | |
0.006780928134918213, | |
0.006849535942077637, | |
0.00688643217086792, | |
0.0069079680442810055, | |
0.006590464115142822, | |
0.006594560146331787, | |
0.006508543968200684, | |
0.007353280067443848, | |
0.006542335987091064, | |
0.006490111827850342, | |
0.0064778242111206055, | |
0.0065136637687683106, | |
0.006434815883636475, | |
0.006484960079193115, | |
0.006501376152038574, | |
0.006427648067474365, | |
0.006499328136444092, | |
0.006437888145446777, | |
0.0064174079895019534, | |
0.0064143362045288085, | |
0.00639686393737793, | |
0.006432767868041992, | |
0.0064245758056640625, | |
0.006392831802368164, | |
0.006434815883636475, | |
0.006396927833557129, | |
0.006426623821258545, | |
0.00646560001373291, | |
0.006376448154449463, | |
0.006421504020690918, | |
0.006435872077941895, | |
0.006391808032989502, | |
0.006421504020690918, | |
0.006387712001800537, | |
0.006427648067474365, | |
0.0064245758056640625, | |
0.006135807991027832, | |
0.006124544143676758, | |
0.006132736206054688, | |
0.0061521921157836916, | |
0.006111231803894043, | |
0.00611737585067749, | |
0.006108160018920898, | |
0.006095871925354004, | |
0.006091775894165039, | |
0.006108160018920898, | |
0.0061265921592712404, | |
0.006103040218353272, | |
0.006103007793426513, | |
0.00608460807800293, | |
0.006118400096893311, | |
0.006106112003326416, | |
0.0061131839752197265, | |
0.006089727878570556, | |
0.006136832237243653, | |
0.0060631041526794435, | |
0.006096896171569824, | |
0.0060928001403808595 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.03806884606428 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.216292841293949e-08, | |
"ram": 3.9456346913690235e-08, | |
"gpu": 1.3254075643902343e-07, | |
"total": 2.4416003176565314e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4095674.4343800237 | |
} | |
} | |
} | |
} |