IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0767fe4 verified
raw
history blame
10.1 kB
{
"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": "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.2.1",
"optimum_benchmark_commit": "079be6729111d58c45eb7f4a60e984bbf86c5a81",
"transformers_version": "4.41.0",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1008.758784,
"max_global_vram": 1877.52448,
"max_process_vram": 203375.02208,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 130,
"total": 0.9996656951904298,
"mean": 0.007689736116849459,
"stdev": 0.00020894986291514772,
"p50": 0.007710804462432861,
"p90": 0.007876068305969238,
"p95": 0.007921212530136107,
"p99": 0.007991460938453675,
"values": [
0.007683845043182373,
0.007672964096069336,
0.007862084865570069,
0.00789552402496338,
0.007923365116119385,
0.007921284198760986,
0.007876004219055176,
0.007876645088195801,
0.007854564189910889,
0.007826885223388673,
0.007803524017333984,
0.007717605113983154,
0.007758083820343017,
0.007754564762115479,
0.007769604206085205,
0.0076960048675537105,
0.007743363857269287,
0.007689125061035156,
0.007686563968658447,
0.007704644203186035,
0.00772960376739502,
0.00770336389541626,
0.007738564968109131,
0.007686724185943603,
0.007751524925231934,
0.007734724044799805,
0.007740805149078369,
0.007694724082946777,
0.007756484985351563,
0.007701923847198486,
0.007670245170593262,
0.007651683807373047,
0.0076795248985290524,
0.007661764144897461,
0.007687203884124756,
0.00773920488357544,
0.007738724231719971,
0.007711044788360596,
0.007761764049530029,
0.0077075247764587405,
0.007739523887634278,
0.007714725017547607,
0.007865283966064453,
0.00788864517211914,
0.007917924880981446,
0.007949284076690674,
0.007914245128631592,
0.007950563907623292,
0.007926885128021241,
0.007832164764404298,
0.007790244102478027,
0.007773924827575684,
0.007830083847045899,
0.007778725147247314,
0.00779120397567749,
0.00772336483001709,
0.0077163238525390625,
0.007688323974609375,
0.007624645233154297,
0.00764704418182373,
0.007679844856262207,
0.007656643867492676,
0.007689605236053467,
0.007691524028778076,
0.0076600050926208495,
0.007754404067993164,
0.00800816535949707,
0.008014883995056152,
0.007921124935150146,
0.007816803932189942,
0.007798244953155517,
0.0077780838012695315,
0.007776965141296386,
0.00773392391204834,
0.007760805130004883,
0.007711204051971435,
0.007724804878234863,
0.007683043956756592,
0.007727525234222412,
0.007700163841247559,
0.0077096052169799804,
0.007724644184112549,
0.0077216048240661625,
0.007701923847198486,
0.00776368522644043,
0.007783363819122315,
0.007759044170379639,
0.007727044105529785,
0.007661764144897461,
0.007634725093841553,
0.007744003772735595,
0.0077238450050354,
0.007705123901367188,
0.007673445224761963,
0.007688804149627686,
0.0076080050468444824,
0.007716003894805908,
0.007657283782958984,
0.007724005222320557,
0.007710564136505127,
0.007712484836578369,
0.007660483837127686,
0.007664165019989014,
0.007634883880615235,
0.007644324779510498,
0.007655364036560058,
0.007660325050354004,
0.0076662440299987795,
0.007660324096679687,
0.0076337652206420895,
0.007641283988952636,
0.007638245105743408,
0.007619043827056885,
0.007616644859313965,
0.007652644157409668,
0.007633123874664307,
0.007670724868774414,
0.007619043827056885,
0.0076524848937988285,
0.00763840389251709,
0.007656805038452149,
0.00764928388595581,
0.007648004055023193,
0.006851684093475341,
0.006787522792816162,
0.006983843803405762,
0.006986083984375,
0.006894884109497071,
0.007026083946228027,
0.006754724025726319
]
},
"throughput": {
"unit": "samples/s",
"value": 130.04347415886454
},
"energy": null,
"efficiency": null
}
}
}