IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e8f588d
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": {}, | |
"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, | |
"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 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.3.1", | |
"optimum_benchmark_commit": "33013b51e0268a2fd7f07c903783b994ac1e0021", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 900.1984, | |
"max_global_vram": 841.773056, | |
"max_process_vram": 46739.152896, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.372544 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.25994921875, | |
"mean": 7.25994921875, | |
"stdev": 0.0, | |
"p50": 7.25994921875, | |
"p90": 7.25994921875, | |
"p95": 7.25994921875, | |
"p99": 7.25994921875, | |
"values": [ | |
7.25994921875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1009.84832, | |
"max_global_vram": 898.27328, | |
"max_process_vram": 216003.21536, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9967672271728512, | |
"mean": 0.007787243962287903, | |
"stdev": 0.0003715302419767167, | |
"p50": 0.007675667524337768, | |
"p90": 0.008076579570770263, | |
"p95": 0.008175602960586547, | |
"p99": 0.0084911559009552, | |
"values": [ | |
0.008070866584777832, | |
0.007909907817840576, | |
0.008147987365722656, | |
0.008144947052001953, | |
0.0081892671585083, | |
0.008261906623840331, | |
0.008337427139282226, | |
0.008479826927185059, | |
0.008150226593017578, | |
0.008039506912231445, | |
0.008046387672424316, | |
0.008015188217163086, | |
0.007993267059326173, | |
0.00793710708618164, | |
0.007903508186340332, | |
0.007855987071990967, | |
0.007859508037567138, | |
0.007844788074493408, | |
0.00779342794418335, | |
0.007828628063201904, | |
0.007835506916046142, | |
0.007778547763824463, | |
0.007772788047790528, | |
0.011139342308044434, | |
0.00800686740875244, | |
0.007512467861175537, | |
0.007643507957458496, | |
0.0076366281509399414, | |
0.0074891080856323245, | |
0.0075723080635070805, | |
0.0075228681564331054, | |
0.007516788005828857, | |
0.007524147987365722, | |
0.0075558280944824216, | |
0.007514068126678467, | |
0.007517428874969483, | |
0.007504629135131836, | |
0.007553108215332031, | |
0.007516948223114014, | |
0.007538387775421143, | |
0.0074902291297912595, | |
0.007520468235015869, | |
0.007557427883148194, | |
0.007551827907562256, | |
0.0075563077926635745, | |
0.007553587913513184, | |
0.007545907974243164, | |
0.007550067901611328, | |
0.0075625481605529786, | |
0.007530868053436279, | |
0.0077737469673156735, | |
0.0077044677734375, | |
0.00758814811706543, | |
0.007735827922821045, | |
0.007578067779541016, | |
0.007578547954559326, | |
0.007568627834320068, | |
0.007639187812805176, | |
0.007609908103942871, | |
0.007574227809906006, | |
0.007649427890777588, | |
0.007632308006286621, | |
0.007606388092041016, | |
0.007622067928314209, | |
0.007818868160247803, | |
0.007626708030700684, | |
0.0076438279151916505, | |
0.0076715068817138675, | |
0.007677107810974121, | |
0.007665587902069092, | |
0.007713908195495605, | |
0.007611187934875488, | |
0.007656467914581299, | |
0.007665586948394775, | |
0.007692627906799317, | |
0.007643507957458496, | |
0.007660947799682617, | |
0.007616787910461426, | |
0.007683507919311524, | |
0.007669908046722412, | |
0.007621747970581055, | |
0.007639828205108642, | |
0.007687027931213379, | |
0.007690547943115234, | |
0.007784947872161865, | |
0.0076862268447875975, | |
0.007672468185424805, | |
0.007618227958679199, | |
0.007629588127136231, | |
0.007637588024139405, | |
0.00768638801574707, | |
0.007602548122406006, | |
0.007604787826538086, | |
0.007616948127746582, | |
0.007708948135375976, | |
0.007663507938385009, | |
0.007691668033599853, | |
0.007660788059234619, | |
0.0076364679336547855, | |
0.007674227237701416, | |
0.007678547859191895, | |
0.0077079877853393555, | |
0.007708308219909668, | |
0.008495346069335937, | |
0.007845908164978028, | |
0.007911187171936035, | |
0.007931027889251709, | |
0.007937747955322266, | |
0.007858867168426514, | |
0.007935187816619872, | |
0.008005427360534669, | |
0.008052626609802245, | |
0.008073267936706542, | |
0.008084306716918946, | |
0.008097586631774902, | |
0.0077172679901123045, | |
0.0075894279479980465, | |
0.007603988170623779, | |
0.007612627983093262, | |
0.007626708030700684, | |
0.008360466957092284, | |
0.00809102725982666, | |
0.008063345909118653, | |
0.008071827888488769, | |
0.00800318717956543, | |
0.008048626899719238, | |
0.008004628181457519, | |
0.007977108001708984 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.4151369653762 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |