
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fe48e91
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.36928, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 159, | |
"total": 0.9993454718589789, | |
"mean": 0.006285191646911813, | |
"stdev": 0.0002933341231399013, | |
"p50": 0.00617574405670166, | |
"p90": 0.006598860931396485, | |
"p95": 0.006929920053482056, | |
"p99": 0.0073845759010314925, | |
"values": [ | |
0.007458816051483155, | |
0.007613440036773681, | |
0.00733081579208374, | |
0.007011328220367432, | |
0.006952960014343262, | |
0.006881279945373535, | |
0.007006207942962647, | |
0.007001088142395019, | |
0.0068321280479431154, | |
0.006756351947784424, | |
0.0068853759765625, | |
0.0068884482383728025, | |
0.007174047946929931, | |
0.006299776077270508, | |
0.006149119853973388, | |
0.006141952037811279, | |
0.006124415874481201, | |
0.006100992202758789, | |
0.006176767826080322, | |
0.006119423866271972, | |
0.006278143882751465, | |
0.00657203197479248, | |
0.0063415999412536625, | |
0.00638976001739502, | |
0.00657203197479248, | |
0.006594560146331787, | |
0.0065136637687683106, | |
0.006339583873748779, | |
0.006384640216827392, | |
0.006616064071655273, | |
0.006338560104370118, | |
0.006370304107666015, | |
0.006486015796661377, | |
0.0063211522102355954, | |
0.006106112003326416, | |
0.00603545618057251, | |
0.006037504196166992, | |
0.0060109119415283204, | |
0.006057983875274659, | |
0.006038527965545654, | |
0.006050816059112549, | |
0.0060364799499511715, | |
0.006039552211761475, | |
0.00601910400390625, | |
0.006053887844085694, | |
0.006020095825195313, | |
0.006023168087005615, | |
0.006008831977844238, | |
0.0062197761535644535, | |
0.006030335903167725, | |
0.0060405759811401364, | |
0.006023168087005615, | |
0.006025216102600098, | |
0.0060414719581604005, | |
0.00616755199432373, | |
0.0060404157638549805, | |
0.0063201279640197755, | |
0.006329343795776367, | |
0.006308864116668702, | |
0.006366208076477051, | |
0.006278143882751465, | |
0.006325247764587402, | |
0.006419456005096436, | |
0.00639788818359375, | |
0.006409215927124024, | |
0.00630185604095459, | |
0.006437888145446777, | |
0.006408192157745361, | |
0.00637337589263916, | |
0.0063498239517211915, | |
0.006345727920532227, | |
0.006691840171813965, | |
0.006450175762176514, | |
0.006292479991912842, | |
0.006181888103485108, | |
0.006108160018920898, | |
0.006172671794891358, | |
0.006111231803894043, | |
0.006172671794891358, | |
0.0062259202003479, | |
0.006160319805145264, | |
0.006157311916351318, | |
0.006111231803894043, | |
0.006177663803100586, | |
0.006120448112487793, | |
0.006146048069000244, | |
0.00617574405670166, | |
0.0065484800338745115, | |
0.006446080207824707, | |
0.006503424167633057, | |
0.006407167911529541, | |
0.006344704151153564, | |
0.006334368228912353, | |
0.00637440013885498, | |
0.006294432163238525, | |
0.0063712639808654785, | |
0.00658131217956543, | |
0.0064061121940612795, | |
0.006471680164337158, | |
0.00630079984664917, | |
0.0063170561790466305, | |
0.006348800182342529, | |
0.006304768085479737, | |
0.006338560104370118, | |
0.006303840160369873, | |
0.006317887783050537, | |
0.006310751914978027, | |
0.006303743839263916, | |
0.006306816101074219, | |
0.006257631778717041, | |
0.006334464073181153, | |
0.006284287929534912, | |
0.006303743839263916, | |
0.006059135913848877, | |
0.0060405759811401364, | |
0.006033440113067627, | |
0.0060405759811401364, | |
0.006025311946868897, | |
0.006927360057830811, | |
0.006387519836425781, | |
0.006138879776000977, | |
0.006085631847381592, | |
0.006085631847381592, | |
0.006079487800598145, | |
0.006085631847381592, | |
0.006107135772705078, | |
0.00614518404006958, | |
0.006057983875274659, | |
0.006098944187164307, | |
0.00606108808517456, | |
0.006103040218353272, | |
0.0060661759376525876, | |
0.006145023822784424, | |
0.006088704109191895, | |
0.006128608226776123, | |
0.0059985918998718265, | |
0.006052864074707031, | |
0.006034431934356689, | |
0.006049791812896729, | |
0.006079487800598145, | |
0.006013951778411865, | |
0.006049791812896729, | |
0.006100992202758789, | |
0.006123519897460937, | |
0.006114304065704346, | |
0.006114304065704346, | |
0.006090752124786377, | |
0.006104063987731933, | |
0.006061056137084961, | |
0.006103040218353272, | |
0.006067200183868408, | |
0.006120319843292236, | |
0.006086688041687011, | |
0.006104063987731933, | |
0.006061056137084961, | |
0.006111231803894043, | |
0.006076416015625, | |
0.006106112003326416, | |
0.006136832237243653 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 159.10413813576287 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.284353318958763e-08, | |
"ram": 3.982356626236843e-08, | |
"gpu": 1.3450419758282108e-07, | |
"total": 2.471712970347771e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4045777.207938912 | |
} | |
} | |
} | |
} |