
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e1f4732
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": 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.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 718.7456, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.12673583984375, | |
"mean": 7.12673583984375, | |
"stdev": 0.0, | |
"p50": 7.12673583984375, | |
"p90": 7.12673583984375, | |
"p95": 7.12673583984375, | |
"p99": 7.12673583984375, | |
"values": [ | |
7.12673583984375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.658637603123983e-07, | |
"ram": 4.587543551893229e-07, | |
"gpu": 1.8466681439999882e-06, | |
"total": 3.1712862595017093e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 918.020096, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9966734423637388, | |
"mean": 0.0072749886303922545, | |
"stdev": 0.00025076792884274127, | |
"p50": 0.0071905598640441895, | |
"p90": 0.007583948707580566, | |
"p95": 0.007676102447509765, | |
"p99": 0.007824793682098386, | |
"values": [ | |
0.007910399913787843, | |
0.007865344047546387, | |
0.00775270414352417, | |
0.007709695816040039, | |
0.007692287921905518, | |
0.007635968208312988, | |
0.007710720062255859, | |
0.007574528217315674, | |
0.007479296207427978, | |
0.0075304961204528805, | |
0.0074966721534729, | |
0.007443456172943115, | |
0.007465983867645264, | |
0.0075970559120178225, | |
0.007574528217315674, | |
0.00754585599899292, | |
0.0075304961204528805, | |
0.007544832229614258, | |
0.007479296207427978, | |
0.007461887836456299, | |
0.007585792064666748, | |
0.007672832012176513, | |
0.0075970559120178225, | |
0.007582719802856445, | |
0.007599103927612305, | |
0.007510975837707519, | |
0.007629824161529541, | |
0.007573503971099854, | |
0.007506944179534912, | |
0.007436287879943848, | |
0.007494656085968018, | |
0.007464960098266602, | |
0.00744652795791626, | |
0.007422976016998291, | |
0.007468031883239746, | |
0.007528448104858398, | |
0.00742195177078247, | |
0.007507967948913574, | |
0.007549952030181885, | |
0.0075345921516418455, | |
0.007581696033477783, | |
0.007561215877532959, | |
0.007422976016998291, | |
0.007512063980102539, | |
0.007201791763305664, | |
0.007383071899414063, | |
0.007566336154937744, | |
0.007507967948913574, | |
0.007395328044891358, | |
0.007472127914428711, | |
0.007341055870056152, | |
0.00720684814453125, | |
0.007028736114501953, | |
0.007225344181060791, | |
0.007129087924957276, | |
0.007067647933959961, | |
0.007063551902770996, | |
0.007057407855987549, | |
0.007106560230255127, | |
0.007204864025115967, | |
0.007189504146575928, | |
0.007116799831390381, | |
0.007188479900360107, | |
0.007549952030181885, | |
0.0071485438346862796, | |
0.007130112171173096, | |
0.0070553598403930665, | |
0.0071157760620117185, | |
0.0071157760620117185, | |
0.0070481600761413575, | |
0.0069928960800170895, | |
0.006845439910888672, | |
0.007004159927368164, | |
0.0070574722290039065, | |
0.0068351998329162595, | |
0.006698944091796875, | |
0.006749184131622315, | |
0.006802432060241699, | |
0.0070553598403930665, | |
0.007109632015228271, | |
0.007096320152282715, | |
0.007139328002929687, | |
0.007163904190063477, | |
0.007445504188537597, | |
0.007226367950439453, | |
0.007689184188842774, | |
0.006999040126800537, | |
0.006796288013458252, | |
0.006752255916595459, | |
0.006814720153808594, | |
0.006818816184997558, | |
0.006803455829620361, | |
0.007361536026000977, | |
0.00728985595703125, | |
0.00724070405960083, | |
0.0071833600997924804, | |
0.00714035177230835, | |
0.007132192134857177, | |
0.007153664112091064, | |
0.007128064155578613, | |
0.007137279987335205, | |
0.0071526398658752445, | |
0.007143424034118652, | |
0.007151616096496582, | |
0.007237664222717285, | |
0.0071905598640441895, | |
0.0071495680809020995, | |
0.007309311866760254, | |
0.0072120318412780765, | |
0.007157760143280029, | |
0.007132160186767578, | |
0.007131135940551757, | |
0.007128064155578613, | |
0.007134208202362061, | |
0.0075038719177246095, | |
0.00722431993484497, | |
0.007130112171173096, | |
0.00709222412109375, | |
0.007139328002929687, | |
0.007129087924957276, | |
0.007107583999633789, | |
0.007114751815795899, | |
0.007096320152282715, | |
0.007129087924957276, | |
0.007150591850280762, | |
0.007184383869171143, | |
0.007175168037414551, | |
0.007119935989379883, | |
0.007133120059967041, | |
0.007114751815795899, | |
0.0071188478469848635, | |
0.007090176105499267, | |
0.0071198720932006835, | |
0.007123968124389648, | |
0.007279615879058838, | |
0.007193600177764893, | |
0.007078911781311035 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.45725949623673 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.377174792901638e-08, | |
"ram": 4.5800443654393494e-08, | |
"gpu": 1.6682329464788588e-07, | |
"total": 2.9639548623129576e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3373870.5427505667 | |
} | |
} | |
} | |
} |