IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c4a09a2
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": {}, | |
"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.3.1", | |
"optimum_benchmark_commit": "f837debaab7bc93d6490c10e065312a52e57b795", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1008.173056, | |
"max_global_vram": 897.150976, | |
"max_process_vram": 141146.84928, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9947117714881899, | |
"mean": 0.007771185714751482, | |
"stdev": 0.00031017091457910534, | |
"p50": 0.007937156200408937, | |
"p90": 0.008000003910064698, | |
"p95": 0.008032170820236207, | |
"p99": 0.008075525074005127, | |
"values": [ | |
0.008729231834411622, | |
0.007757397174835205, | |
0.007860116958618164, | |
0.007424438953399658, | |
0.007650678157806397, | |
0.007539638042449951, | |
0.007587957859039307, | |
0.007785077095031738, | |
0.007507957935333252, | |
0.00739707899093628, | |
0.007318839073181153, | |
0.007264599800109863, | |
0.007387639045715332, | |
0.007264759063720703, | |
0.007280920028686523, | |
0.007209080219268799, | |
0.0072569198608398435, | |
0.007178199768066406, | |
0.0071884398460388185, | |
0.007193880081176758, | |
0.007265719890594482, | |
0.007199800968170166, | |
0.007255320072174072, | |
0.007213399887084961, | |
0.007260280132293701, | |
0.007231480121612549, | |
0.0072258801460266114, | |
0.007201079845428467, | |
0.007232759952545166, | |
0.007259799957275391, | |
0.007477238178253174, | |
0.007382678985595703, | |
0.007457559108734131, | |
0.00732427978515625, | |
0.007425239086151123, | |
0.007344279766082764, | |
0.00732155990600586, | |
0.007256278991699219, | |
0.007229879856109619, | |
0.0073287591934204106, | |
0.007255959987640381, | |
0.007572917938232422, | |
0.007732437133789062, | |
0.007682517051696778, | |
0.007688117027282715, | |
0.007961075782775879, | |
0.007939795970916748, | |
0.00794347620010376, | |
0.007922836780548096, | |
0.00792603588104248, | |
0.007921555995941161, | |
0.007902676105499268, | |
0.007938196182250976, | |
0.007995635986328124, | |
0.008077555656433106, | |
0.00798395586013794, | |
0.007989555835723876, | |
0.007978354930877686, | |
0.007959956169128419, | |
0.007984116077423095, | |
0.007970355987548828, | |
0.00797627592086792, | |
0.008030195236206055, | |
0.007969875812530518, | |
0.008002835273742676, | |
0.007974356174468995, | |
0.007972916126251221, | |
0.007949235916137696, | |
0.00795275592803955, | |
0.007928596019744874, | |
0.007987635135650635, | |
0.00794571590423584, | |
0.007965715885162353, | |
0.007988114833831788, | |
0.007974996089935302, | |
0.007957396030426025, | |
0.00795659589767456, | |
0.007940755844116212, | |
0.007994676113128662, | |
0.00792219591140747, | |
0.007932275772094726, | |
0.00796043586730957, | |
0.007973395824432373, | |
0.007947636127471925, | |
0.007914996147155762, | |
0.007910676002502441, | |
0.007930036067962647, | |
0.008003154754638671, | |
0.007960276126861572, | |
0.007933395862579346, | |
0.007974515914916993, | |
0.00796475601196289, | |
0.007992276191711426, | |
0.00798715591430664, | |
0.008033234596252442, | |
0.007945876121520996, | |
0.007920916080474854, | |
0.008070034980773926, | |
0.007954676151275635, | |
0.007918196201324463, | |
0.007943635940551757, | |
0.007964595794677735, | |
0.007999956130981445, | |
0.007903316974639892, | |
0.007885076999664307, | |
0.007959955215454102, | |
0.007990836143493652, | |
0.007962195873260499, | |
0.007906836986541748, | |
0.007909235954284667, | |
0.007966835975646973, | |
0.007937876224517823, | |
0.00793419599533081, | |
0.007916916847229004, | |
0.007962515830993652, | |
0.007936436176300049, | |
0.007942996025085448, | |
0.008000115394592285, | |
0.008063474655151366, | |
0.007966516017913818, | |
0.008047635078430176, | |
0.007993236064910888, | |
0.00795275592803955, | |
0.00798395586013794, | |
0.008026674270629882, | |
0.008037396430969238, | |
0.00801227569580078, | |
0.007982356071472168 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.68049184589321 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |