IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2c459b2
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": "43734676b09236e2ae4d7c19f90e8e23d1f2f201", | |
"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.301184, | |
"max_global_vram": 898.469888, | |
"max_process_vram": 188522.872832, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 116, | |
"total": 1.0013434944152833, | |
"mean": 0.008632271503580029, | |
"stdev": 0.0003886577185974662, | |
"p50": 0.008815124988555908, | |
"p90": 0.008966083526611327, | |
"p95": 0.008984843492507935, | |
"p99": 0.009031027126312256, | |
"values": [ | |
0.009748876571655274, | |
0.00898664379119873, | |
0.009018163681030273, | |
0.009003924369812013, | |
0.008979923248291015, | |
0.008888565063476562, | |
0.00885384464263916, | |
0.008816405296325684, | |
0.008853043556213379, | |
0.008844724655151367, | |
0.008907764434814454, | |
0.008916243553161621, | |
0.008916243553161621, | |
0.008376889228820801, | |
0.00836392879486084, | |
0.008443767547607423, | |
0.008676405906677245, | |
0.008442808151245117, | |
0.008821846008300781, | |
0.008796405792236329, | |
0.008781525611877441, | |
0.00886088466644287, | |
0.008826644897460937, | |
0.008807765960693359, | |
0.008839284896850586, | |
0.008813844680786134, | |
0.00862648582458496, | |
0.008155131340026855, | |
0.00836056900024414, | |
0.008340728759765626, | |
0.008178970336914063, | |
0.008263130187988282, | |
0.008241530418395995, | |
0.00851144790649414, | |
0.00887208366394043, | |
0.008826165199279786, | |
0.008811605453491212, | |
0.008813365936279297, | |
0.008776885986328125, | |
0.008805046081542969, | |
0.008772886276245118, | |
0.008767286300659179, | |
0.008800725936889648, | |
0.00875896644592285, | |
0.008251609802246094, | |
0.008436729431152343, | |
0.008448568344116211, | |
0.008286649703979493, | |
0.008638966560363769, | |
0.008542007446289062, | |
0.008449848175048829, | |
0.008317049026489259, | |
0.008218170166015625, | |
0.008326648712158203, | |
0.00842792797088623, | |
0.0077688941955566405, | |
0.007740095138549805, | |
0.0077663340568542485, | |
0.007749373912811279, | |
0.007959611892700195, | |
0.007728095054626465, | |
0.007773533821105957, | |
0.007804413795471191, | |
0.008050651550292968, | |
0.008016251564025878, | |
0.008135130882263183, | |
0.008044411659240722, | |
0.008078331947326661, | |
0.008085211753845216, | |
0.007797853946685791, | |
0.00796361207962036, | |
0.008345369338989259, | |
0.008857044219970703, | |
0.008748406410217286, | |
0.008291769981384277, | |
0.008425047874450683, | |
0.008176730155944825, | |
0.008290969848632812, | |
0.008959283828735351, | |
0.008944084167480468, | |
0.008984243392944336, | |
0.008938323974609376, | |
0.009032563209533691, | |
0.009022322654724121, | |
0.00898408317565918, | |
0.008983123779296874, | |
0.008859125137329102, | |
0.008975283622741699, | |
0.008888884544372559, | |
0.008951603889465332, | |
0.008950643539428711, | |
0.008874484062194824, | |
0.008875763893127442, | |
0.008961844444274902, | |
0.008896563529968262, | |
0.008906964302062989, | |
0.00895992374420166, | |
0.008847125053405762, | |
0.008903763771057128, | |
0.008958003997802734, | |
0.008878484725952148, | |
0.008862323760986328, | |
0.00896040439605713, | |
0.008919763565063476, | |
0.00882264518737793, | |
0.008964083671569823, | |
0.00890472412109375, | |
0.008837204933166504, | |
0.008936244010925293, | |
0.008859285354614258, | |
0.008872565269470214, | |
0.008968083381652833, | |
0.00891240406036377, | |
0.008886804580688476, | |
0.008929043769836427, | |
0.008960723876953125 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 115.84436374426753 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |