
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
59511d5
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.285632, | |
"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": 718.995456, | |
"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.16002392578125, | |
"mean": 7.16002392578125, | |
"stdev": 0.0, | |
"p50": 7.16002392578125, | |
"p90": 7.16002392578125, | |
"p95": 7.16002392578125, | |
"p99": 7.16002392578125, | |
"values": [ | |
7.16002392578125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.070562998453776e-06, | |
"ram": 5.54434684898979e-07, | |
"gpu": 1.8550014839998144e-06, | |
"total": 3.4799991673525696e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 912.535552, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 154, | |
"total": 1.0013208308219907, | |
"mean": 0.006502083317025916, | |
"stdev": 0.0004927186358529681, | |
"p50": 0.006449151992797851, | |
"p90": 0.006877491426467896, | |
"p95": 0.007124889636039734, | |
"p99": 0.009030959796905517, | |
"values": [ | |
0.009217023849487305, | |
0.00909823989868164, | |
0.008971296310424804, | |
0.007227392196655274, | |
0.006614016056060791, | |
0.006636544227600098, | |
0.0066416640281677245, | |
0.0065771517753601075, | |
0.006575104236602783, | |
0.006708223819732666, | |
0.006601727962493896, | |
0.006551551818847656, | |
0.00652288007736206, | |
0.006462463855743408, | |
0.006475776195526123, | |
0.006515711784362793, | |
0.006515711784362793, | |
0.006550528049468994, | |
0.006556672096252441, | |
0.006467584133148193, | |
0.00643071985244751, | |
0.006453248023986816, | |
0.00652288007736206, | |
0.006536191940307618, | |
0.0064880638122558594, | |
0.0065157761573791505, | |
0.006524928092956543, | |
0.006499328136444092, | |
0.006463488101959228, | |
0.0064635519981384275, | |
0.0065146880149841305, | |
0.006501376152038574, | |
0.006446080207824707, | |
0.006387712001800537, | |
0.006415359973907471, | |
0.006445055961608887, | |
0.006434815883636475, | |
0.006355967998504639, | |
0.006459392070770263, | |
0.006461440086364746, | |
0.006471680164337158, | |
0.006648831844329834, | |
0.006585440158843994, | |
0.006495264053344727, | |
0.006520832061767578, | |
0.0064737281799316405, | |
0.006419456005096436, | |
0.0064133119583129885, | |
0.006516799926757812, | |
0.006518784046173095, | |
0.006495232105255127, | |
0.006464511871337891, | |
0.006525951862335205, | |
0.006512639999389648, | |
0.006391808032989502, | |
0.006425600051879882, | |
0.0064102401733398436, | |
0.006520832061767578, | |
0.006452223777770996, | |
0.00638976001739502, | |
0.006479872226715088, | |
0.006419456005096436, | |
0.006988800048828125, | |
0.00677785587310791, | |
0.006917119979858399, | |
0.007069695949554444, | |
0.006900767803192139, | |
0.00688640022277832, | |
0.00697654390335083, | |
0.006937600135803222, | |
0.006892543792724609, | |
0.006856704235076904, | |
0.006792191982269287, | |
0.0067645440101623535, | |
0.006708223819732666, | |
0.006818816184997558, | |
0.006696959972381592, | |
0.0066488637924194335, | |
0.006561791896820069, | |
0.006460415840148926, | |
0.006686783790588379, | |
0.0066406397819519045, | |
0.006435840129852295, | |
0.006395904064178467, | |
0.006359039783477783, | |
0.006412288188934326, | |
0.006427648067474365, | |
0.006458367824554443, | |
0.007426047801971435, | |
0.007838719844818116, | |
0.007910399913787843, | |
0.007873536109924317, | |
0.006845439910888672, | |
0.0067348480224609375, | |
0.00674508810043335, | |
0.00659660816192627, | |
0.0064440321922302245, | |
0.00643174409866333, | |
0.006445055961608887, | |
0.0063569917678833006, | |
0.006425600051879882, | |
0.0064204797744750975, | |
0.006341631889343262, | |
0.006370304107666015, | |
0.006242303848266601, | |
0.006116352081298828, | |
0.006135807991027832, | |
0.006119423866271972, | |
0.006105088233947754, | |
0.006095871925354004, | |
0.006138879776000977, | |
0.006091775894165039, | |
0.006200319766998291, | |
0.006091775894165039, | |
0.006172671794891358, | |
0.0060928001403808595, | |
0.006097919940948486, | |
0.006198272228240966, | |
0.006087679862976075, | |
0.006072319984436035, | |
0.00608460807800293, | |
0.006067200183868408, | |
0.006174719810485839, | |
0.006239232063293457, | |
0.006115327835083008, | |
0.006115327835083008, | |
0.006110208034515381, | |
0.0062269439697265625, | |
0.006107135772705078, | |
0.00608358383178711, | |
0.006080512046813965, | |
0.006160384178161621, | |
0.0062873601913452145, | |
0.006330368041992188, | |
0.006131711959838867, | |
0.0061634559631347655, | |
0.006095871925354004, | |
0.006064127922058105, | |
0.006090752124786377, | |
0.0060661759376525876, | |
0.006094848155975342, | |
0.00608358383178711, | |
0.006100992202758789, | |
0.006073344230651856, | |
0.006178815841674804, | |
0.006096896171569824, | |
0.006115327835083008, | |
0.00611737585067749, | |
0.006077407836914062, | |
0.0060702719688415525, | |
0.006089727878570556, | |
0.006108128070831299, | |
0.006096831798553467, | |
0.006124544143676758 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 153.79686036650247 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.438781671226026e-08, | |
"ram": 4.066885961992917e-08, | |
"gpu": 1.4536990796250272e-07, | |
"total": 2.6042658429469214e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3839853.764193387 | |
} | |
} | |
} | |
} |