
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e26a12a
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_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": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"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": 902.115328, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 1.001573279380798, | |
"mean": 0.006589297890663147, | |
"stdev": 0.00022843924268888433, | |
"p50": 0.006553599834442139, | |
"p90": 0.006811033535003662, | |
"p95": 0.007023871970176697, | |
"p99": 0.0076116683959960955, | |
"values": [ | |
0.007549952030181885, | |
0.007012351989746094, | |
0.007113728046417236, | |
0.006969312191009522, | |
0.006897664070129395, | |
0.0067870721817016606, | |
0.007002111911773682, | |
0.007037951946258545, | |
0.007675903797149658, | |
0.006536255836486817, | |
0.006401023864746094, | |
0.006407167911529541, | |
0.006329343795776367, | |
0.006363135814666748, | |
0.006311935901641846, | |
0.006355967998504639, | |
0.006354911804199219, | |
0.006336512088775635, | |
0.006375423908233643, | |
0.006351967811584472, | |
0.006364160060882569, | |
0.0063569917678833006, | |
0.006323200225830078, | |
0.0064767999649047855, | |
0.006331391811370849, | |
0.0063508481979370115, | |
0.006351871967315674, | |
0.006331391811370849, | |
0.006359039783477783, | |
0.0063211522102355954, | |
0.006336512088775635, | |
0.00636518383026123, | |
0.006425600051879882, | |
0.006599679946899414, | |
0.0065474557876586915, | |
0.006662144184112549, | |
0.006601727962493896, | |
0.006560768127441406, | |
0.006624288082122802, | |
0.006586304187774658, | |
0.0065413122177124024, | |
0.006584320068359375, | |
0.006576128005981445, | |
0.006542335987091064, | |
0.006605855941772461, | |
0.006552576065063476, | |
0.006553599834442139, | |
0.006552512168884277, | |
0.006567903995513916, | |
0.006550528049468994, | |
0.006560768127441406, | |
0.006874112129211426, | |
0.006550528049468994, | |
0.006586368083953857, | |
0.00652185583114624, | |
0.006575039863586426, | |
0.006586368083953857, | |
0.006515711784362793, | |
0.006577087879180908, | |
0.0065792641639709475, | |
0.006536191940307618, | |
0.006560768127441406, | |
0.006555647850036621, | |
0.006533120155334473, | |
0.006554624080657959, | |
0.006621183872222901, | |
0.006549503803253174, | |
0.006576128005981445, | |
0.006553599834442139, | |
0.006550528049468994, | |
0.006594560146331787, | |
0.006563839912414551, | |
0.006545407772064209, | |
0.006560768127441406, | |
0.006521920204162598, | |
0.006527999877929688, | |
0.006557695865631104, | |
0.006525951862335205, | |
0.006563839912414551, | |
0.00658841609954834, | |
0.006512639999389648, | |
0.0065443840026855465, | |
0.006546432018280029, | |
0.006551583766937256, | |
0.0065669121742248536, | |
0.006818816184997558, | |
0.006546432018280029, | |
0.006582272052764892, | |
0.006553599834442139, | |
0.00653004789352417, | |
0.006558720111846924, | |
0.006504447937011719, | |
0.006559711933135986, | |
0.006559743881225586, | |
0.006520832061767578, | |
0.007136256217956543, | |
0.007790592193603516, | |
0.007093183994293213, | |
0.007525375843048096, | |
0.006603775978088379, | |
0.00658022403717041, | |
0.006584320068359375, | |
0.006603775978088379, | |
0.006813695907592773, | |
0.006600639820098877, | |
0.006502399921417237, | |
0.006582272052764892, | |
0.006584320068359375, | |
0.006524928092956543, | |
0.006555647850036621, | |
0.006639616012573242, | |
0.006553599834442139, | |
0.006602752208709717, | |
0.006549503803253174, | |
0.006565887928009034, | |
0.006563839912414551, | |
0.0065443840026855465, | |
0.006501376152038574, | |
0.006604800224304199, | |
0.006452223777770996, | |
0.006554624080657959, | |
0.006582272052764892, | |
0.006543360233306885, | |
0.006536191940307618, | |
0.006532063961029053, | |
0.006540287971496582, | |
0.0065413122177124024, | |
0.006552639961242676, | |
0.006552576065063476, | |
0.006561791896820069, | |
0.006552576065063476, | |
0.006533120155334473, | |
0.006648831844329834, | |
0.006490111827850342, | |
0.006635519981384277, | |
0.0065669121742248536, | |
0.0065146880149841305, | |
0.006562816143035889, | |
0.006591487884521485, | |
0.006535168170928955, | |
0.006567935943603515, | |
0.006554624080657959, | |
0.00653107213973999, | |
0.006568960189819336, | |
0.006964223861694336, | |
0.006465536117553711, | |
0.006472703933715821, | |
0.006445055961608887, | |
0.00643891191482544, | |
0.006520832061767578, | |
0.00652288007736206, | |
0.006534143924713135 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 151.76123717474854 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.842443636711072e-08, | |
"ram": 4.287034533756965e-08, | |
"gpu": 1.4525581892715106e-07, | |
"total": 2.6655060063183144e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3751632.8893260807 | |
} | |
} | |
} | |
} |