IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
aab8492 verified
raw
history blame
12.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 800.571392,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.92993701171875,
"mean": 7.92993701171875,
"stdev": 0.0,
"p50": 7.92993701171875,
"p90": 7.92993701171875,
"p95": 7.92993701171875,
"p99": 7.92993701171875,
"values": [
7.92993701171875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.939578652777295e-07,
"ram": 5.289068435349749e-07,
"gpu": 1.7272236040003115e-06,
"total": 3.2500883128130157e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1091.104768,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 150,
"total": 0.996254400253296,
"mean": 0.00664169600168864,
"stdev": 0.0003053719474670528,
"p50": 0.006621183872222901,
"p90": 0.0068927490234374994,
"p95": 0.007260364747047424,
"p99": 0.007843844709396362,
"values": [
0.007356383800506592,
0.007294911861419678,
0.007271423816680909,
0.006931456089019775,
0.006864895820617676,
0.00756115198135376,
0.006876287937164306,
0.006672383785247803,
0.0066713600158691405,
0.006692863941192627,
0.006739967823028564,
0.006676479816436768,
0.006656000137329102,
0.006673503875732422,
0.006642687797546387,
0.006672383785247803,
0.006724607944488525,
0.006633535861968994,
0.006560768127441406,
0.0066007041931152345,
0.006654943943023682,
0.006567935943603515,
0.006632448196411133,
0.0066119680404663084,
0.006668288230895996,
0.006683743953704834,
0.0066304001808166506,
0.006623231887817383,
0.006652927875518798,
0.00666921615600586,
0.006650879859924317,
0.006729728221893311,
0.006681600093841553,
0.006642687797546387,
0.006618239879608154,
0.0066119680404663084,
0.0065792322158813475,
0.006573056221008301,
0.006582272052764892,
0.006560768127441406,
0.006665215969085693,
0.006638591766357422,
0.006500383853912353,
0.006455296039581298,
0.0064849920272827145,
0.006498144149780273,
0.0064737281799316405,
0.006464511871337891,
0.006466495990753174,
0.006527999877929688,
0.0065146880149841305,
0.006319104194641113,
0.006310912132263183,
0.006292479991912842,
0.0063569917678833006,
0.006334464073181153,
0.006345727920532227,
0.0063201279640197755,
0.0062863359451293946,
0.006308864116668702,
0.0062679038047790524,
0.00626585578918457,
0.006259712219238281,
0.0063211522102355954,
0.0063201279640197755,
0.006297567844390869,
0.006342656135559082,
0.00636521577835083,
0.0062904319763183595,
0.00621670389175415,
0.006325247764587402,
0.006315008163452148,
0.006451200008392334,
0.006649824142456054,
0.006619135856628418,
0.006884352207183838,
0.006967296123504638,
0.006767615795135498,
0.0066007041931152345,
0.00649126386642456,
0.006470655918121338,
0.0065669121742248536,
0.006609920024871826,
0.006801407814025879,
0.0066119680404663084,
0.006639616012573242,
0.006604800224304199,
0.006554624080657959,
0.006667263984680176,
0.006573056221008301,
0.006681600093841553,
0.006666304111480713,
0.006635519981384277,
0.006635519981384277,
0.006624095916748047,
0.006661119937896728,
0.006658048152923584,
0.006618112087249756,
0.006635488033294678,
0.006617087841033936,
0.0066744318008422855,
0.0065771517753601075,
0.006584320068359375,
0.006684671878814697,
0.006822751998901367,
0.006599679946899414,
0.00684227180480957,
0.006626304149627686,
0.006590464115142822,
0.006605631828308105,
0.006699007987976074,
0.006732800006866455,
0.006654143810272217,
0.0072468481063842774,
0.00784278392791748,
0.007844863891601562,
0.008346624374389648,
0.007147520065307617,
0.00694985580444336,
0.007178239822387696,
0.007030784130096435,
0.0068884482383728025,
0.00734822416305542,
0.006568960189819336,
0.006322175979614258,
0.006337535858154297,
0.0063498239517211915,
0.006304768085479737,
0.006338560104370118,
0.006303616046905517,
0.0063632001876831054,
0.0063640961647033695,
0.006542399883270263,
0.006372352123260498,
0.006415552139282227,
0.006407167911529541,
0.006646751880645752,
0.0066713600158691405,
0.0065710082054138185,
0.0065710082054138185,
0.006633408069610595,
0.006616928100585937,
0.0066119680404663084,
0.006665311813354492,
0.006646783828735352,
0.0066416640281677245,
0.006646783828735352,
0.0068577280044555666,
0.006749184131622315,
0.006700032234191895
]
},
"throughput": {
"unit": "samples/s",
"value": 150.56395230160362
},
"energy": {
"unit": "kWh",
"cpu": 8.061855188491536e-08,
"ram": 4.407453799896487e-08,
"gpu": 1.4557645810884662e-07,
"total": 2.7026954799272684e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3700009.8880059943
}
}
}
}