
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
58761f8
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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": 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": 788.987904, | |
"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.37297607421875, | |
"mean": 7.37297607421875, | |
"stdev": 0.0, | |
"p50": 7.37297607421875, | |
"p90": 7.37297607421875, | |
"p95": 7.37297607421875, | |
"p99": 7.37297607421875, | |
"values": [ | |
7.37297607421875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.81051267361362e-07, | |
"ram": 4.656492480915855e-07, | |
"gpu": 0.0, | |
"total": 1.3467005154529475e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1084.628992, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9970687022209165, | |
"mean": 0.0073856940905253085, | |
"stdev": 0.0002536265515187354, | |
"p50": 0.007360511779785156, | |
"p90": 0.007480320072174073, | |
"p95": 0.00771092472076416, | |
"p99": 0.00851683313369751, | |
"values": [ | |
0.008557567596435547, | |
0.008437760353088379, | |
0.008364031791687012, | |
0.008436736106872558, | |
0.008757247924804687, | |
0.007806975841522217, | |
0.0074997758865356446, | |
0.007476223945617676, | |
0.007287807941436767, | |
0.007259136199951172, | |
0.007247871875762939, | |
0.007245823860168457, | |
0.007261184215545655, | |
0.007230463981628418, | |
0.007278592109680176, | |
0.007236608028411865, | |
0.007193600177764893, | |
0.007245823860168457, | |
0.007223296165466309, | |
0.007230432033538819, | |
0.007238624095916748, | |
0.0072202239036560055, | |
0.007241727828979493, | |
0.007245823860168457, | |
0.007245823860168457, | |
0.007233535766601563, | |
0.007192543983459473, | |
0.007206912040710449, | |
0.007223296165466309, | |
0.007233503818511963, | |
0.00725708818435669, | |
0.007231488227844239, | |
0.007206912040710449, | |
0.007263232231140137, | |
0.0072427520751953125, | |
0.007237631797790528, | |
0.0072243518829345705, | |
0.007218175888061523, | |
0.007222271919250488, | |
0.007241727828979493, | |
0.007226399898529053, | |
0.007215104103088379, | |
0.007173120021820068, | |
0.007192575931549072, | |
0.007211008071899414, | |
0.007268352031707764, | |
0.007229440212249756, | |
0.007207935810089112, | |
0.007182271957397461, | |
0.007225344181060791, | |
0.007195648193359375, | |
0.00773529577255249, | |
0.007460864067077637, | |
0.007475200176239013, | |
0.007185408115386963, | |
0.007194623947143554, | |
0.007209983825683594, | |
0.0072120318412780765, | |
0.007238687992095948, | |
0.007217152118682861, | |
0.007221248149871826, | |
0.007387135982513428, | |
0.007288832187652588, | |
0.007230463981628418, | |
0.00733081579208374, | |
0.007184383869171143, | |
0.007349247932434082, | |
0.007278592109680176, | |
0.007268352031707764, | |
0.007262207984924316, | |
0.007245823860168457, | |
0.007192575931549072, | |
0.007252992153167725, | |
0.007259136199951172, | |
0.007255040168762207, | |
0.007275519847869873, | |
0.007215104103088379, | |
0.00722431993484497, | |
0.007264256000518799, | |
0.0074670081138610836, | |
0.007461887836456299, | |
0.007482367992401123, | |
0.007497727870941162, | |
0.007467967987060547, | |
0.007444479942321777, | |
0.007449600219726562, | |
0.007457791805267334, | |
0.007477248191833496, | |
0.007458847999572754, | |
0.0074629120826721195, | |
0.007468031883239746, | |
0.007426047801971435, | |
0.007700479984283447, | |
0.007515135765075683, | |
0.007501823902130127, | |
0.007463935852050781, | |
0.0074414081573486324, | |
0.007472127914428711, | |
0.007458816051483155, | |
0.007559167861938477, | |
0.007418879985809326, | |
0.007456768035888672, | |
0.007432191848754883, | |
0.007429152011871338, | |
0.0074711041450500485, | |
0.0074670081138610836, | |
0.007393280029296875, | |
0.0073994240760803225, | |
0.00738918399810791, | |
0.007420928001403809, | |
0.007460864067077637, | |
0.007451648235321045, | |
0.0074301438331604, | |
0.00743833589553833, | |
0.007360511779785156, | |
0.0073697280883789065, | |
0.007401472091674805, | |
0.0074106879234313965, | |
0.0074301438331604, | |
0.007408639907836914, | |
0.007432191848754883, | |
0.007398399829864502, | |
0.007392255783081054, | |
0.007419904232025146, | |
0.007422976016998291, | |
0.007414783954620361, | |
0.0074403839111328125, | |
0.007453695774078369, | |
0.007415808200836181, | |
0.007392255783081054, | |
0.0074065918922424315, | |
0.0074291200637817386, | |
0.0074670081138610836, | |
0.007453695774078369, | |
0.007407616138458252 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.39688859884458 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.540815415167959e-08, | |
"ram": 4.669570317638089e-08, | |
"gpu": 1.6914881637410152e-07, | |
"total": 3.01252673702162e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3319472.613174763 | |
} | |
} | |
} | |
} |