
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
51c32f9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 720.42496, | |
"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.132708984375, | |
"mean": 7.132708984375, | |
"stdev": 0.0, | |
"p50": 7.132708984375, | |
"p90": 7.132708984375, | |
"p95": 7.132708984375, | |
"p99": 7.132708984375, | |
"values": [ | |
7.132708984375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.077675653828515e-06, | |
"ram": 5.749925708867447e-07, | |
"gpu": 1.780556980000153e-06, | |
"total": 3.433225204715413e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 912.896, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 0.9994370865821842, | |
"mean": 0.006575243990672262, | |
"stdev": 0.0002479463670589506, | |
"p50": 0.00653107213973999, | |
"p90": 0.006770380830764771, | |
"p95": 0.0068909407615661625, | |
"p99": 0.0077316963338851935, | |
"values": [ | |
0.006790143966674805, | |
0.006799359798431396, | |
0.006770688056945801, | |
0.006721504211425781, | |
0.0067010560035705566, | |
0.006711296081542969, | |
0.006708223819732666, | |
0.00662937593460083, | |
0.006597631931304931, | |
0.006586368083953857, | |
0.0065812478065490725, | |
0.006620160102844238, | |
0.00658022403717041, | |
0.006482944011688232, | |
0.006502399921417237, | |
0.006511616230010986, | |
0.006576128005981445, | |
0.006628352165222168, | |
0.006583295822143555, | |
0.006659071922302246, | |
0.006603775978088379, | |
0.006524928092956543, | |
0.006606847763061524, | |
0.006638591766357422, | |
0.006645760059356689, | |
0.006647808074951172, | |
0.00674508810043335, | |
0.006601727962493896, | |
0.006675456047058105, | |
0.006628352165222168, | |
0.0065474557876586915, | |
0.006642687797546387, | |
0.00662224006652832, | |
0.006564864158630371, | |
0.0065064959526062015, | |
0.006491136074066162, | |
0.0064778242111206055, | |
0.006553599834442139, | |
0.00653107213973999, | |
0.00653107213973999, | |
0.006574079990386963, | |
0.006523903846740723, | |
0.006620160102844238, | |
0.00667955207824707, | |
0.006605823993682861, | |
0.006709248065948486, | |
0.006885439872741699, | |
0.0066007041931152345, | |
0.006649856090545654, | |
0.0066119680404663084, | |
0.006618015766143799, | |
0.006553599834442139, | |
0.006608895778656006, | |
0.0066109437942504885, | |
0.006510591983795166, | |
0.006496255874633789, | |
0.0065136637687683106, | |
0.006557695865631104, | |
0.006615039825439453, | |
0.006551551818847656, | |
0.006499328136444092, | |
0.006551551818847656, | |
0.006499328136444092, | |
0.00653110408782959, | |
0.0065443840026855465, | |
0.006526976108551025, | |
0.006561791896820069, | |
0.006717440128326416, | |
0.006659071922302246, | |
0.006653952121734619, | |
0.006626304149627686, | |
0.00695091199874878, | |
0.006882304191589355, | |
0.006897664070129395, | |
0.006818816184997558, | |
0.006493120193481445, | |
0.006592512130737305, | |
0.0065146880149841305, | |
0.006512639999389648, | |
0.006491136074066162, | |
0.006280191898345947, | |
0.006407167911529541, | |
0.006523903846740723, | |
0.006377471923828125, | |
0.0062197761535644535, | |
0.006168575763702393, | |
0.006238207817077636, | |
0.006202367782592774, | |
0.00657203197479248, | |
0.006762495994567871, | |
0.006767615795135498, | |
0.006773791790008545, | |
0.006883327960968018, | |
0.007641088008880615, | |
0.00790835189819336, | |
0.007757791996002197, | |
0.007706624031066894, | |
0.0072130560874938965, | |
0.006500351905822754, | |
0.006456319808959961, | |
0.006396927833557129, | |
0.006597631931304931, | |
0.006473663806915283, | |
0.006386688232421875, | |
0.006437888145446777, | |
0.0066641921997070315, | |
0.006455296039581298, | |
0.006437888145446777, | |
0.006388735771179199, | |
0.0064471039772033695, | |
0.006451200008392334, | |
0.0066344962120056155, | |
0.006497280120849609, | |
0.006407167911529541, | |
0.006445055961608887, | |
0.006445055961608887, | |
0.00638156795501709, | |
0.006456319808959961, | |
0.0064471039772033695, | |
0.006395904064178467, | |
0.006437888145446777, | |
0.006403071880340576, | |
0.006433792114257812, | |
0.00643891191482544, | |
0.006400000095367431, | |
0.006425600051879882, | |
0.006427648067474365, | |
0.006459392070770263, | |
0.006453248023986816, | |
0.006425600051879882, | |
0.0063539199829101565, | |
0.006319104194641113, | |
0.006366208076477051, | |
0.006352896213531494, | |
0.006325215816497803, | |
0.006366208076477051, | |
0.006362112045288086, | |
0.006352896213531494, | |
0.0063610877990722655, | |
0.006305791854858398, | |
0.006429696083068847, | |
0.0063907837867736815, | |
0.006428671836853027, | |
0.006421504020690918, | |
0.006402048110961914, | |
0.006461440086364746, | |
0.006443967819213867, | |
0.006428671836853027, | |
0.0064542717933654785, | |
0.0066078720092773435, | |
0.006504447937011719, | |
0.00693555212020874 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 152.0856110311062 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.513217659439217e-08, | |
"ram": 4.1065195844950434e-08, | |
"gpu": 1.4882923298733984e-07, | |
"total": 2.650266054266825e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3773206.0839327397 | |
} | |
} | |
} | |
} |