IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9b51e78
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": "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": 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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"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.2.1", | |
"optimum_benchmark_commit": "8320ce6f24eaa5099bd3b49d8d44c0c1368af14b", | |
"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": 1006.751744, | |
"max_global_vram": 898.465792, | |
"max_process_vram": 188520.812544, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 112, | |
"total": 0.9965174379348755, | |
"mean": 0.00889747712441853, | |
"stdev": 0.000560460844476943, | |
"p50": 0.00899431848526001, | |
"p90": 0.009371981716156006, | |
"p95": 0.009538574314117431, | |
"p99": 0.009965299921035767, | |
"values": [ | |
0.009191678047180176, | |
0.009395679473876954, | |
0.009555997848510743, | |
0.009678078651428222, | |
0.009631837844848633, | |
0.00952431869506836, | |
0.009439197540283203, | |
0.009432159423828124, | |
0.009372477531433105, | |
0.00934287929534912, | |
0.009276158332824707, | |
0.009272479057312011, | |
0.009264158248901368, | |
0.00919999885559082, | |
0.009413437843322754, | |
0.00936751937866211, | |
0.009313278198242188, | |
0.009212159156799316, | |
0.009251038551330566, | |
0.009219838142395019, | |
0.009241599082946778, | |
0.009308318138122558, | |
0.00927919864654541, | |
0.009275518417358398, | |
0.009226558685302734, | |
0.009234877586364746, | |
0.009260318756103515, | |
0.009287517547607422, | |
0.009234238624572753, | |
0.009265757560729981, | |
0.009241599082946778, | |
0.00919135856628418, | |
0.009228958129882812, | |
0.009241759300231933, | |
0.009097277641296387, | |
0.009276799201965332, | |
0.009317277908325195, | |
0.009112318992614747, | |
0.009186397552490235, | |
0.009311999320983887, | |
0.008916958808898926, | |
0.008803837776184082, | |
0.008817278861999511, | |
0.008893117904663086, | |
0.009227839469909668, | |
0.009118878364562988, | |
0.010000799179077148, | |
0.00964783763885498, | |
0.008822078704833985, | |
0.009037919044494629, | |
0.008505277633666992, | |
0.008612479209899902, | |
0.008494877815246582, | |
0.008549118995666504, | |
0.008597278594970703, | |
0.008573758125305175, | |
0.00844783878326416, | |
0.00904159927368164, | |
0.00911935806274414, | |
0.00913119888305664, | |
0.009158878326416016, | |
0.009207999229431153, | |
0.009341757774353027, | |
0.009360319137573242, | |
0.00891343879699707, | |
0.008786877632141114, | |
0.008887358665466309, | |
0.008952637672424317, | |
0.008883039474487304, | |
0.009115677833557129, | |
0.008842239379882813, | |
0.008705279350280763, | |
0.008377758026123047, | |
0.008385918617248534, | |
0.008511198997497558, | |
0.008333277702331544, | |
0.008655359268188476, | |
0.009247838973999023, | |
0.008966398239135743, | |
0.011870397567749023, | |
0.009022238731384278, | |
0.008932957649230957, | |
0.008541758537292481, | |
0.008536318778991699, | |
0.008464958190917969, | |
0.00854767894744873, | |
0.008592638969421387, | |
0.008448477745056152, | |
0.008518718719482421, | |
0.008274079322814942, | |
0.008085437774658203, | |
0.00809247875213623, | |
0.008049279212951661, | |
0.008166399002075195, | |
0.008119518280029298, | |
0.0082556791305542, | |
0.008644159317016602, | |
0.008104798316955566, | |
0.008327838897705078, | |
0.00804591941833496, | |
0.008891517639160157, | |
0.008207839012145996, | |
0.008083998680114746, | |
0.008089598655700683, | |
0.007948637008666992, | |
0.008049598693847656, | |
0.00809567928314209, | |
0.008089278221130371, | |
0.008045119285583496, | |
0.008048639297485352, | |
0.00809247875213623, | |
0.00806671905517578 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 112.39141006112474 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |