IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
16dcf21
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "5", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1078.349824, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 50352.324608, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 10.4725830078125, | |
"mean": 10.4725830078125, | |
"stdev": 0.0, | |
"p50": 10.4725830078125, | |
"p90": 10.4725830078125, | |
"p95": 10.4725830078125, | |
"p99": 10.4725830078125, | |
"values": [ | |
10.4725830078125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1196.015616, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 263966.306304, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 117, | |
"total": 0.9964194974899292, | |
"mean": 0.008516405961452388, | |
"stdev": 0.0012008642340843234, | |
"p50": 0.008452138900756835, | |
"p90": 0.008643403434753418, | |
"p95": 0.00879668254852295, | |
"p99": 0.014891394386291525, | |
"values": [ | |
0.008358379364013672, | |
0.008331339836120605, | |
0.008399979591369629, | |
0.008558539390563965, | |
0.008539018630981445, | |
0.008523818969726562, | |
0.009800135612487793, | |
0.00860637855529785, | |
0.008530059814453124, | |
0.008549739837646484, | |
0.008510218620300294, | |
0.008570219039916992, | |
0.00855069923400879, | |
0.00847757911682129, | |
0.008595979690551758, | |
0.008475339889526368, | |
0.008538538932800294, | |
0.008474059104919433, | |
0.00846205997467041, | |
0.008422859191894531, | |
0.008503019332885742, | |
0.009990376472473144, | |
0.008589899063110352, | |
0.008393899917602539, | |
0.00839181900024414, | |
0.008319339752197265, | |
0.008334380149841308, | |
0.008342378616333008, | |
0.008275659561157226, | |
0.008506218910217285, | |
0.008584939002990722, | |
0.008588780403137207, | |
0.00867405891418457, | |
0.008580458641052247, | |
0.00856029987335205, | |
0.00850685977935791, | |
0.008493899345397949, | |
0.008489579200744628, | |
0.008456780433654785, | |
0.008570219039916992, | |
0.00862477970123291, | |
0.008792458534240722, | |
0.008813578605651856, | |
0.00867133903503418, | |
0.015824921607971193, | |
0.0034425520896911622, | |
0.008311819076538086, | |
0.00837246036529541, | |
0.008364459991455079, | |
0.008389419555664062, | |
0.008245579719543457, | |
0.008274539947509766, | |
0.008195659637451173, | |
0.008307180404663085, | |
0.008265899658203126, | |
0.008248140335083008, | |
0.008394539833068848, | |
0.008452138900756835, | |
0.008386380195617675, | |
0.008419178962707519, | |
0.008732619285583497, | |
0.009074698448181153, | |
0.008711178779602051, | |
0.008572460174560547, | |
0.008447978973388672, | |
0.008405579566955566, | |
0.008435500144958497, | |
0.008503819465637207, | |
0.00840365982055664, | |
0.008389418601989745, | |
0.008393420219421386, | |
0.008467819213867188, | |
0.008546698570251464, | |
0.008749098777770995, | |
0.008588938713073731, | |
0.00855181884765625, | |
0.008486220359802246, | |
0.00851006031036377, | |
0.008534699440002442, | |
0.008469578742980956, | |
0.008547019004821778, | |
0.008405579566955566, | |
0.01640523910522461, | |
0.004014870166778564, | |
0.008542219161987304, | |
0.00853853988647461, | |
0.008374858856201171, | |
0.0083185396194458, | |
0.0083087797164917, | |
0.008290378570556641, | |
0.008266539573669433, | |
0.00837950038909912, | |
0.008488939285278321, | |
0.008489739418029786, | |
0.008474860191345215, | |
0.008374698638916015, | |
0.008293740272521973, | |
0.008300620079040527, | |
0.008398538589477538, | |
0.008294219970703126, | |
0.008299019813537598, | |
0.008310059547424316, | |
0.008506539344787598, | |
0.008467979431152343, | |
0.008307819366455077, | |
0.008244460105895995, | |
0.008272780418395995, | |
0.008291339874267578, | |
0.008272939682006836, | |
0.008316458702087403, | |
0.008363018989562989, | |
0.008314379692077637, | |
0.008164620399475098, | |
0.008196940422058105, | |
0.008123660087585449, | |
0.008117580413818359, | |
0.008142380714416505 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 117.42042412330706 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |