IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1d5d0dc
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": 1385.537536, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 9.9135771484375, | |
"mean": 9.9135771484375, | |
"stdev": 0.0, | |
"p50": 9.9135771484375, | |
"p90": 9.9135771484375, | |
"p95": 9.9135771484375, | |
"p99": 9.9135771484375, | |
"values": [ | |
9.9135771484375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1514.389504, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 116, | |
"total": 0.9882716417312623, | |
"mean": 0.008519583118372951, | |
"stdev": 0.004678037532035842, | |
"p50": 0.0083514142036438, | |
"p90": 0.01220212173461914, | |
"p95": 0.015619991064071656, | |
"p99": 0.029196933746337878, | |
"values": [ | |
0.002330233097076416, | |
0.007305576801300049, | |
0.008930051803588867, | |
0.029582948684692384, | |
0.013769717216491699, | |
0.0022492730617523194, | |
0.011942362785339356, | |
0.012329401016235352, | |
0.002308633089065552, | |
0.0022367930412292483, | |
0.004148306846618652, | |
0.009434370994567872, | |
0.008943653106689453, | |
0.008872293472290039, | |
0.015518991470336915, | |
0.0025353519916534424, | |
0.008663172721862794, | |
0.008606533050537109, | |
0.008599972724914551, | |
0.008503172874450684, | |
0.012382681846618653, | |
0.005279822826385498, | |
0.017308425903320313, | |
0.013436758041381835, | |
0.011740283966064453, | |
0.012074842453002929, | |
0.010900925636291504, | |
0.0022942330837249754, | |
0.0022139129638671876, | |
0.002212472915649414, | |
0.016354028701782226, | |
0.002357273101806641, | |
0.005990060806274414, | |
0.013484758377075195, | |
0.007267656803131103, | |
0.0270095157623291, | |
0.002320152997970581, | |
0.002237592935562134, | |
0.0022159929275512697, | |
0.0049633440971374515, | |
0.00839613437652588, | |
0.008589253425598145, | |
0.008338374137878418, | |
0.01592298984527588, | |
0.002286552906036377, | |
0.007103178024291992, | |
0.00864205265045166, | |
0.03391141510009766, | |
0.0022713530063629152, | |
0.00221647310256958, | |
0.002210072994232178, | |
0.002201112985610962, | |
0.008167975425720215, | |
0.008337894439697265, | |
0.008351814270019532, | |
0.008343013763427734, | |
0.00833005428314209, | |
0.008346054077148437, | |
0.008343974113464355, | |
0.008364933967590332, | |
0.008476452827453613, | |
0.008471653938293458, | |
0.008467493057250976, | |
0.008487813949584961, | |
0.008425732612609864, | |
0.008422213554382324, | |
0.008394054412841797, | |
0.008337254524230958, | |
0.008351014137268067, | |
0.008339333534240722, | |
0.008369573593139648, | |
0.008339174270629883, | |
0.008347654342651367, | |
0.008335654258728026, | |
0.008313413619995116, | |
0.008323493957519532, | |
0.008323174476623535, | |
0.008358213424682617, | |
0.008324133872985839, | |
0.008388934135437011, | |
0.00831373405456543, | |
0.008357574462890625, | |
0.008319173812866211, | |
0.008336773872375488, | |
0.008298213958740235, | |
0.008312454223632812, | |
0.00833885383605957, | |
0.008324773788452148, | |
0.008329093933105469, | |
0.008354534149169921, | |
0.008344453811645508, | |
0.008327974319458007, | |
0.008308294296264649, | |
0.00831965446472168, | |
0.008346214294433593, | |
0.008333574295043946, | |
0.008358373641967773, | |
0.008313894271850586, | |
0.008353254318237305, | |
0.008319173812866211, | |
0.008340933799743652, | |
0.008406534194946289, | |
0.008359494209289551, | |
0.00837389373779297, | |
0.008362533569335938, | |
0.008377734184265137, | |
0.00839661407470703, | |
0.00840429401397705, | |
0.008418534278869629, | |
0.008498373985290528, | |
0.008541893005371094, | |
0.008448613166809083, | |
0.008450693130493164, | |
0.00838957405090332, | |
0.008372453689575196, | |
0.008392773628234863 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 117.3766352303606 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |