IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3da25f8
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": {}, | |
"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": "3b109cf557e2496fe3c954817385781e6dc5cad1", | |
"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, | |
"llama_cpp_version": null, | |
"llama_cpp_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.5536, | |
"max_global_vram": 2547.265536, | |
"max_process_vram": 45557.714944, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.1499755859375, | |
"mean": 7.1499755859375, | |
"stdev": 0.0, | |
"p50": 7.1499755859375, | |
"p90": 7.1499755859375, | |
"p95": 7.1499755859375, | |
"p99": 7.1499755859375, | |
"values": [ | |
7.1499755859375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.713216, | |
"max_global_vram": 3151.07328, | |
"max_process_vram": 227374.084096, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 1.0005573558807377, | |
"mean": 0.007357039381476011, | |
"stdev": 0.0004587417353603436, | |
"p50": 0.007286239385604859, | |
"p90": 0.007845672369003296, | |
"p95": 0.007937951922416687, | |
"p99": 0.008067422342300415, | |
"values": [ | |
0.00800791072845459, | |
0.0078923921585083, | |
0.00794263219833374, | |
0.00794599199295044, | |
0.007936391830444336, | |
0.00788647222518921, | |
0.007854473114013672, | |
0.007849671840667725, | |
0.008017190933227539, | |
0.007811432838439942, | |
0.007836712837219238, | |
0.007823273181915284, | |
0.007794952869415283, | |
0.00779735279083252, | |
0.00779735279083252, | |
0.007774153232574463, | |
0.007851431846618653, | |
0.007768554210662842, | |
0.007807592868804932, | |
0.007765354156494141, | |
0.007789194107055664, | |
0.007751594066619873, | |
0.007808234214782715, | |
0.007841672897338867, | |
0.008094470024108886, | |
0.00794599199295044, | |
0.007921192169189453, | |
0.007833673000335693, | |
0.007803593158721924, | |
0.007798954010009766, | |
0.007253039836883545, | |
0.007302319049835205, | |
0.007405517101287842, | |
0.007549675941467285, | |
0.007541356086730957, | |
0.0072450399398803714, | |
0.007738314151763916, | |
0.007771433830261231, | |
0.007653193950653076, | |
0.007491756916046142, | |
0.007722633838653565, | |
0.007349197864532471, | |
0.007243118762969971, | |
0.007363277912139893, | |
0.007271120071411133, | |
0.007054001808166504, | |
0.007399117946624756, | |
0.007516396999359131, | |
0.007322958946228027, | |
0.007595116138458252, | |
0.007744554042816162, | |
0.007741034030914307, | |
0.007743914127349854, | |
0.00768119478225708, | |
0.007305038928985596, | |
0.01010804843902588, | |
0.007414477825164795, | |
0.0072752790451049805, | |
0.007185521125793457, | |
0.007169680118560791, | |
0.007128561019897461, | |
0.007395118236541748, | |
0.007184879779815674, | |
0.007132880210876465, | |
0.007182159900665283, | |
0.006976881980895996, | |
0.007340719223022461, | |
0.007283279895782471, | |
0.007016401767730713, | |
0.007475916862487793, | |
0.006931443214416504, | |
0.007262319087982178, | |
0.0071852002143859865, | |
0.007651915073394775, | |
0.0076723952293396, | |
0.007182799816131592, | |
0.007100080966949463, | |
0.007257039070129394, | |
0.006974483013153076, | |
0.007146639823913574, | |
0.006949041843414307, | |
0.006743444919586182, | |
0.0069760818481445315, | |
0.006762323856353759, | |
0.007005362033843994, | |
0.006732564926147461, | |
0.006744725227355957, | |
0.006760244846343994, | |
0.006727924823760986, | |
0.006727765083312989, | |
0.0067613649368286136, | |
0.006741525173187256, | |
0.007306478023529053, | |
0.007638794898986816, | |
0.007663753986358643, | |
0.007676714897155761, | |
0.007486317157745361, | |
0.007096721172332764, | |
0.007057682037353515, | |
0.00725544023513794, | |
0.007348238945007324, | |
0.007209839820861816, | |
0.006960402011871338, | |
0.006734805107116699, | |
0.006969202041625977, | |
0.00678232479095459, | |
0.00677464485168457, | |
0.00676040506362915, | |
0.006731285095214844, | |
0.006944242000579834, | |
0.006727445125579834, | |
0.0074450368881225585, | |
0.007679753780364991, | |
0.007658315181732178, | |
0.007721514225006104, | |
0.0072891988754272465, | |
0.0071340007781982425, | |
0.007053201198577881, | |
0.007176239967346191, | |
0.007157680034637451, | |
0.007146639823913574, | |
0.007019921779632569, | |
0.007198480129241944, | |
0.007019601821899414, | |
0.006843924045562744, | |
0.006788885116577149, | |
0.006802645206451416, | |
0.006813684940338135, | |
0.006804884910583496, | |
0.007114321231842041, | |
0.006777684211730957, | |
0.007275438785552978, | |
0.00698216199874878, | |
0.00686024284362793, | |
0.006840884208679199, | |
0.006807602882385254 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.92424182448434 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |