IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b6836b5
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", | |
"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.0", | |
"optimum_benchmark_commit": "6fd377459e287bb09e9383ba2516b1b2a271a562", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1002.31168, | |
"max_global_vram": 898.461696, | |
"max_process_vram": 231091.269632, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 0.9991405701637269, | |
"mean": 0.008123094066371763, | |
"stdev": 0.0003438575333615109, | |
"p50": 0.008056300163269043, | |
"p90": 0.008664905738830567, | |
"p95": 0.008697706031799316, | |
"p99": 0.008725594520568848, | |
"values": [ | |
0.009379337310791016, | |
0.007979819774627686, | |
0.00794462013244629, | |
0.007712141036987304, | |
0.008181900024414062, | |
0.007844460010528565, | |
0.007848141193389892, | |
0.00782077980041504, | |
0.008174220085144042, | |
0.007902860164642334, | |
0.007730541229248047, | |
0.007736781120300293, | |
0.007829579830169677, | |
0.007646060943603515, | |
0.007686861038208008, | |
0.0077156610488891605, | |
0.007826060771942138, | |
0.007705581188201904, | |
0.0077603011131286625, | |
0.007706700801849365, | |
0.007710381031036377, | |
0.0077022209167480465, | |
0.0077211008071899415, | |
0.007701261043548584, | |
0.007882700920104981, | |
0.007902221202850342, | |
0.007738380908966064, | |
0.007801899909973145, | |
0.007756781101226806, | |
0.007743980884552002, | |
0.00799149990081787, | |
0.00871997833251953, | |
0.008665417671203613, | |
0.008617098808288575, | |
0.008707178115844727, | |
0.008635819435119629, | |
0.008691818237304687, | |
0.008727178573608399, | |
0.008682538986206054, | |
0.008481899261474609, | |
0.008362700462341308, | |
0.008280460357666015, | |
0.008167180061340332, | |
0.008245738983154297, | |
0.008375658988952636, | |
0.00835373878479004, | |
0.008182379722595215, | |
0.008333258628845215, | |
0.008504138946533204, | |
0.008241419792175292, | |
0.007998859882354737, | |
0.008177578926086426, | |
0.008087180137634277, | |
0.008133740425109863, | |
0.008044939994812011, | |
0.008245100021362304, | |
0.008407500267028809, | |
0.008687018394470215, | |
0.008153420448303222, | |
0.008081259727478028, | |
0.008065740585327148, | |
0.008028461456298827, | |
0.007837581157684325, | |
0.007972620010375976, | |
0.008110699653625488, | |
0.008139659881591797, | |
0.008013259887695313, | |
0.008459979057312012, | |
0.00823853874206543, | |
0.00822350025177002, | |
0.008054539680480957, | |
0.007997739791870117, | |
0.00799374008178711, | |
0.007977580070495606, | |
0.007986380100250243, | |
0.0077444610595703125, | |
0.007669900894165039, | |
0.0076569409370422364, | |
0.007901899814605713, | |
0.008142539978027344, | |
0.00804557991027832, | |
0.008056300163269043, | |
0.008040940284729004, | |
0.008080300331115722, | |
0.008010540008544922, | |
0.00820125961303711, | |
0.008066060066223145, | |
0.00814766025543213, | |
0.00832701873779297, | |
0.00824158000946045, | |
0.008697897911071777, | |
0.008719179153442383, | |
0.00866285800933838, | |
0.0086342191696167, | |
0.008695979118347168, | |
0.00869117832183838, | |
0.008608299255371094, | |
0.008632457733154297, | |
0.00862493896484375, | |
0.008618059158325196, | |
0.008702539443969726, | |
0.008569418907165527, | |
0.00861645793914795, | |
0.008311018943786622, | |
0.007981900215148927, | |
0.00814717960357666, | |
0.008178700447082519, | |
0.007945260047912598, | |
0.007681100845336914, | |
0.007849259853363037, | |
0.007779341220855713, | |
0.007766380786895752, | |
0.007758699893951416, | |
0.007849260807037354, | |
0.007771501064300537, | |
0.0077822208404541016, | |
0.007825581073760987, | |
0.007795660018920898, | |
0.007934541225433349, | |
0.008091340065002442, | |
0.008132780075073242, | |
0.007940939903259277, | |
0.007934380054473876 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.1058007982243 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |