
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a9107f0
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 816.68096, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.059328510284423826 | |
], | |
"count": 1, | |
"total": 0.059328510284423826, | |
"mean": 0.059328510284423826, | |
"p50": 0.059328510284423826, | |
"p90": 0.059328510284423826, | |
"p95": 0.059328510284423826, | |
"p99": 0.059328510284423826, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1093.746688, | |
"max_global_vram": 1207.435264, | |
"max_process_vram": 0.0, | |
"max_reserved": 559.939584, | |
"max_allocated": 510.51264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006474751949310303, | |
0.00623308801651001, | |
0.006239168167114258, | |
0.006280191898345947, | |
0.006280191898345947, | |
0.00628223991394043, | |
0.006407167911529541, | |
0.006273024082183838, | |
0.006243328094482422, | |
0.006248544216156006, | |
0.006232063770294189, | |
0.006204351902008056, | |
0.006168575763702393, | |
0.006214655876159668, | |
0.006230016231536865, | |
0.006246399879455566, | |
0.006261760234832763, | |
0.006242303848266601, | |
0.006162432193756104, | |
0.0060661759376525876, | |
0.006120448112487793, | |
0.006115327835083008, | |
0.006227007865905762, | |
0.006150144100189209, | |
0.006227968215942382, | |
0.006201344013214111, | |
0.006245376110076905, | |
0.00620851182937622, | |
0.006203392028808594, | |
0.006190080165863037, | |
0.006280191898345947, | |
0.006301695823669433, | |
0.006311935901641846, | |
0.006254591941833496, | |
0.006273024082183838, | |
0.006320159912109375, | |
0.006247424125671387, | |
0.0062197761535644535, | |
0.006179840087890625, | |
0.006157311916351318, | |
0.00623308801651001, | |
0.006230016231536865, | |
0.006299647808074951, | |
0.006187007904052734, | |
0.006211616039276123, | |
0.006221824169158936, | |
0.006119423866271972, | |
0.006089727878570556, | |
0.006145023822784424, | |
0.0061430401802062985, | |
0.006164415836334229, | |
0.006092832088470459, | |
0.006145023822784424, | |
0.006242303848266601, | |
0.006242303848266601, | |
0.006107135772705078, | |
0.006087679862976075, | |
0.006104063987731933, | |
0.0061634559631347655, | |
0.006222911834716797, | |
0.0061521921157836916, | |
0.006160384178161621, | |
0.006138879776000977, | |
0.006168575763702393, | |
0.0061972479820251464, | |
0.006189055919647217, | |
0.0062341117858886715, | |
0.006316031932830811, | |
0.006296576023101807, | |
0.006242303848266601, | |
0.006275072097778321, | |
0.0062259202003479, | |
0.006249407768249512, | |
0.0062822079658508305, | |
0.006335487842559814, | |
0.006280191898345947, | |
0.006139904022216797, | |
0.006103040218353272, | |
0.006181888103485108, | |
0.006155263900756836, | |
0.006235136032104492, | |
0.006095871925354004, | |
0.006012928009033203, | |
0.005908480167388916, | |
0.006138879776000977, | |
0.006120448112487793, | |
0.005909503936767578, | |
0.006545407772064209, | |
0.006146048069000244, | |
0.006176767826080322, | |
0.00628223991394043, | |
0.006302720069885254, | |
0.006446080207824707, | |
0.006455296039581298, | |
0.006475776195526123, | |
0.0065146880149841305, | |
0.006752255916595459, | |
0.006467584133148193, | |
0.006452223777770996, | |
0.006288383960723877, | |
0.006207488059997559, | |
0.006184959888458252, | |
0.006115424156188965, | |
0.006147071838378906, | |
0.006072319984436035, | |
0.0061859841346740725, | |
0.0060631041526794435, | |
0.006090752124786377, | |
0.006060031890869141, | |
0.006104063987731933, | |
0.00606822395324707, | |
0.006107135772705078, | |
0.006132736206054688, | |
0.0060886721611022945, | |
0.006082560062408447, | |
0.006110208034515381, | |
0.006060959815979004, | |
0.006073344230651856, | |
0.006652927875518798, | |
0.006153215885162353, | |
0.006206463813781738, | |
0.006681600093841553, | |
0.006850560188293457, | |
0.006255616188049316, | |
0.0061521921157836916, | |
0.006182911872863769, | |
0.006078464031219482, | |
0.0061337599754333495, | |
0.006086656093597412, | |
0.006140927791595459, | |
0.00611737585067749, | |
0.00622489595413208, | |
0.00617574405670166, | |
0.006096896171569824, | |
0.006180863857269287, | |
0.006114304065704346, | |
0.006104063987731933, | |
0.006064127922058105, | |
0.006080512046813965, | |
0.006180863857269287, | |
0.006121471881866455, | |
0.006081535816192627, | |
0.006135807991027832, | |
0.006091775894165039, | |
0.006064127922058105, | |
0.0060845761299133305, | |
0.006058015823364258, | |
0.006070240020751953, | |
0.006043647766113281, | |
0.006076416015625, | |
0.006056000232696533, | |
0.006064127922058105, | |
0.006072319984436035, | |
0.006054912090301514, | |
0.006082560062408447, | |
0.00607539176940918, | |
0.00601804780960083, | |
0.006038591861724853, | |
0.006278143882751465, | |
0.0064737281799316405, | |
0.006232063770294189 | |
], | |
"count": 161, | |
"total": 0.9980724768638607, | |
"mean": 0.006199207930831435, | |
"p50": 0.006180863857269287, | |
"p90": 0.006316031932830811, | |
"p95": 0.0064737281799316405, | |
"p99": 0.006709862422943116, | |
"stdev": 0.00013880921334266994, | |
"stdev_": 2.2391443373323483 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 322.6218611014973 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.081716197089429e-08, | |
"ram": 3.86967321775013e-08, | |
"gpu": 1.7721740367857273e-07, | |
"total": 2.8673129782696835e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6975171.581049117 | |
} | |
} | |
} | |
} |