IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
968199a
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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": {}, | |
"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.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]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1386.426368, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 11.7221171875, | |
"mean": 11.7221171875, | |
"stdev": 0.0, | |
"p50": 11.7221171875, | |
"p90": 11.7221171875, | |
"p95": 11.7221171875, | |
"p99": 11.7221171875, | |
"values": [ | |
11.7221171875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1515.23328, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 117, | |
"total": 0.9995807714462279, | |
"mean": 0.008543425396976306, | |
"stdev": 9.967093950644974e-05, | |
"p50": 0.008515498161315919, | |
"p90": 0.008684393692016602, | |
"p95": 0.008744488716125489, | |
"p99": 0.008900597877502442, | |
"values": [ | |
0.008500778198242187, | |
0.008556456565856933, | |
0.008551177978515625, | |
0.008661738395690918, | |
0.008642376899719239, | |
0.00892061710357666, | |
0.008593578338623047, | |
0.008556777954101563, | |
0.008613738059997558, | |
0.008596776962280273, | |
0.00854333782196045, | |
0.008519178390502929, | |
0.008432937622070312, | |
0.00842205810546875, | |
0.00843853759765625, | |
0.008435338020324708, | |
0.008494857788085938, | |
0.008513418197631836, | |
0.008489578247070313, | |
0.00843853759765625, | |
0.008506538391113282, | |
0.008412298202514648, | |
0.008429898262023925, | |
0.008451977729797363, | |
0.00846029758453369, | |
0.008414057731628418, | |
0.008435817718505859, | |
0.008502378463745117, | |
0.008463018417358399, | |
0.00846077823638916, | |
0.008478057861328126, | |
0.008452617645263671, | |
0.008458698272705078, | |
0.008457737922668457, | |
0.008482217788696289, | |
0.00845741844177246, | |
0.00846253776550293, | |
0.008470857620239258, | |
0.008464138031005859, | |
0.008515498161315919, | |
0.008551977157592773, | |
0.008493898391723632, | |
0.00848861789703369, | |
0.008490537643432617, | |
0.00848157787322998, | |
0.008486698150634766, | |
0.008505257606506347, | |
0.008482538223266601, | |
0.008539817810058593, | |
0.008513896942138673, | |
0.008478378295898438, | |
0.00847997760772705, | |
0.008482698440551759, | |
0.008489578247070313, | |
0.00847005844116211, | |
0.008464938163757324, | |
0.008662218093872071, | |
0.008719818115234375, | |
0.008718856811523438, | |
0.008689098358154297, | |
0.00859773826599121, | |
0.008616297721862794, | |
0.008581096649169923, | |
0.008613417625427246, | |
0.008525258064270019, | |
0.008713417053222657, | |
0.008741896629333496, | |
0.008784777641296386, | |
0.00873373794555664, | |
0.008681257247924805, | |
0.008754857063293457, | |
0.008635018348693848, | |
0.008603978157043456, | |
0.008538376808166505, | |
0.008506057739257812, | |
0.00857277774810791, | |
0.008525577545166016, | |
0.008515018463134766, | |
0.008489578247070313, | |
0.008465739250183105, | |
0.008438858985900879, | |
0.00844157886505127, | |
0.008448938369750976, | |
0.00848493766784668, | |
0.008459979057312012, | |
0.008439659118652344, | |
0.00844157886505127, | |
0.008580456733703614, | |
0.008795496940612792, | |
0.008567337989807128, | |
0.008484618186950683, | |
0.008641258239746093, | |
0.008921096801757813, | |
0.008758538246154786, | |
0.008660298347473144, | |
0.008587018013000488, | |
0.00854733657836914, | |
0.008495978355407715, | |
0.008534378051757812, | |
0.008547497749328612, | |
0.008527177810668946, | |
0.008565736770629882, | |
0.008566537857055663, | |
0.008544458389282226, | |
0.008551177978515625, | |
0.008559496879577636, | |
0.008539017677307128, | |
0.008527177810668946, | |
0.008580617904663086, | |
0.008537737846374512, | |
0.008523178100585938, | |
0.00850733757019043, | |
0.008555976867675782, | |
0.008598857879638672, | |
0.008562058448791503, | |
0.00850717830657959, | |
0.008505257606506347 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 117.04907031246748 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |