IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
82ea0e2
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": false, | |
"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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "c8d76f6e24e813974534bb204a76658d503b7b1f", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"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": 903.561216, | |
"max_global_vram": 841.756672, | |
"max_process_vram": 43062.505472, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.71144384765625, | |
"mean": 6.71144384765625, | |
"stdev": 0.0, | |
"p50": 6.71144384765625, | |
"p90": 6.71144384765625, | |
"p95": 6.71144384765625, | |
"p99": 6.71144384765625, | |
"values": [ | |
6.71144384765625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1013.12512, | |
"max_global_vram": 897.646592, | |
"max_process_vram": 213128.462336, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.997379665851593, | |
"mean": 0.007387997524826615, | |
"stdev": 0.0009145681821930606, | |
"p50": 0.007279799938201904, | |
"p90": 0.007510006999969483, | |
"p95": 0.007631861972808837, | |
"p99": 0.008475381145477292, | |
"values": [ | |
0.007543319225311279, | |
0.007562838077545166, | |
0.007895956993103028, | |
0.008773872375488281, | |
0.007799797058105469, | |
0.0076775579452514646, | |
0.00761227798461914, | |
0.007558999061584473, | |
0.007448279857635498, | |
0.007411639213562012, | |
0.007308599948883057, | |
0.0072588400840759276, | |
0.007224600791931152, | |
0.007204279899597168, | |
0.0072078008651733395, | |
0.007255640029907227, | |
0.007235960006713867, | |
0.007286680221557617, | |
0.00727180004119873, | |
0.0072482810020446774, | |
0.007201241016387939, | |
0.007205720901489258, | |
0.017524864196777342, | |
0.005026212215423584, | |
0.007694838047027588, | |
0.007345560073852539, | |
0.007368759155273437, | |
0.007331480026245117, | |
0.007288280010223388, | |
0.007300280094146729, | |
0.007267320156097412, | |
0.007307799816131591, | |
0.007253399848937988, | |
0.007275320053100586, | |
0.007338840007781983, | |
0.007278679847717285, | |
0.007274360179901123, | |
0.007299479961395264, | |
0.007316760063171387, | |
0.007287320137023926, | |
0.007342679977416992, | |
0.00733292007446289, | |
0.007333240032196045, | |
0.007319159984588623, | |
0.007312280178070068, | |
0.007357079982757569, | |
0.007293400764465332, | |
0.007338520050048828, | |
0.007337399959564209, | |
0.0072330799102783205, | |
0.0072378811836242675, | |
0.0074650788307189945, | |
0.007227960109710693, | |
0.00723420000076294, | |
0.0072127609252929685, | |
0.007257400035858154, | |
0.0072337198257446285, | |
0.0072214012145996095, | |
0.007228919982910156, | |
0.007229879856109619, | |
0.007225400924682617, | |
0.007268760204315185, | |
0.007291959762573242, | |
0.0072330799102783205, | |
0.007257239818572998, | |
0.007236600875854492, | |
0.0072582001686096196, | |
0.00726476001739502, | |
0.007253880023956299, | |
0.007242200851440429, | |
0.007259000778198242, | |
0.007286200046539307, | |
0.007253079891204834, | |
0.0072991600036621095, | |
0.007309400081634522, | |
0.007253079891204834, | |
0.007246039867401123, | |
0.007265720844268799, | |
0.0073260397911071775, | |
0.007283480167388916, | |
0.007279799938201904, | |
0.007148760795593262, | |
0.007151640892028808, | |
0.00720012092590332, | |
0.007398519992828369, | |
0.007487638950347901, | |
0.007323160171508789, | |
0.007319159984588623, | |
0.00728524112701416, | |
0.007319479942321777, | |
0.0072826800346374515, | |
0.0072783598899841305, | |
0.007269880771636963, | |
0.007243000984191895, | |
0.007277400016784668, | |
0.007330039978027344, | |
0.007372599124908447, | |
0.0074841189384460445, | |
0.00775371789932251, | |
0.0075685977935791016, | |
0.007524919033050537, | |
0.007560917854309082, | |
0.007356760025024414, | |
0.007322999954223633, | |
0.007286039829254151, | |
0.007381559848785401, | |
0.007438199043273926, | |
0.007377719879150391, | |
0.007390999794006347, | |
0.007375480175018311, | |
0.00730492115020752, | |
0.007216920852661133, | |
0.00725547981262207, | |
0.007257559776306152, | |
0.007238521099090576, | |
0.007209560871124268, | |
0.007272759914398194, | |
0.007225720882415771, | |
0.007265881061553955, | |
0.007232920169830322, | |
0.007236279964447021, | |
0.007264441013336182, | |
0.0072378811836242675, | |
0.007276279926300049, | |
0.0072692399024963375, | |
0.007272119998931885, | |
0.007246039867401123, | |
0.007284920215606689, | |
0.007269240856170654, | |
0.007234840869903564, | |
0.007310999870300293, | |
0.007342039108276367, | |
0.0072954797744750974, | |
0.0072598009109497074, | |
0.007274519920349121 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.35467447567513 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |