
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e900918
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": "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", | |
"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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 903.745536, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.998254143714905, | |
"mean": 0.007505670253495525, | |
"stdev": 0.0002626553010592982, | |
"p50": 0.007400447845458984, | |
"p90": 0.007787110328674316, | |
"p95": 0.007942758560180665, | |
"p99": 0.00818270175933838, | |
"values": [ | |
0.00818892765045166, | |
0.007967743873596191, | |
0.008032256126403809, | |
0.007998464107513427, | |
0.007945216178894043, | |
0.007939072132110595, | |
0.007633920192718506, | |
0.00758784008026123, | |
0.007817215919494629, | |
0.007678976058959961, | |
0.007639039993286132, | |
0.007599103927612305, | |
0.007825407981872558, | |
0.008169471740722656, | |
0.00778547191619873, | |
0.00881766414642334, | |
0.00771065616607666, | |
0.0076912641525268555, | |
0.007762944221496582, | |
0.007737343788146973, | |
0.00773632001876831, | |
0.007933887958526611, | |
0.007787519931793213, | |
0.007680031776428222, | |
0.007708672046661377, | |
0.007656447887420655, | |
0.007579648017883301, | |
0.007642079830169677, | |
0.007648255825042725, | |
0.00774348783493042, | |
0.007678976058959961, | |
0.007941120147705078, | |
0.007822336196899414, | |
0.007714816093444824, | |
0.007682047843933106, | |
0.007697408199310303, | |
0.007738368034362793, | |
0.007768064022064209, | |
0.007668672084808349, | |
0.007364607810974121, | |
0.00759500789642334, | |
0.007762879848480225, | |
0.00775270414352417, | |
0.007350272178649903, | |
0.007387135982513428, | |
0.007353343963623047, | |
0.007423999786376953, | |
0.007674880027770996, | |
0.007673823833465576, | |
0.007528448104858398, | |
0.007393280029296875, | |
0.00740556812286377, | |
0.007398399829864502, | |
0.007549952030181885, | |
0.007636991977691651, | |
0.00745472002029419, | |
0.007316480159759522, | |
0.007218175888061523, | |
0.007128064155578613, | |
0.007329760074615478, | |
0.007590911865234375, | |
0.007675903797149658, | |
0.007400447845458984, | |
0.007350272178649903, | |
0.007302144050598145, | |
0.0075038719177246095, | |
0.007658495903015137, | |
0.007693312168121338, | |
0.007669760227203369, | |
0.0077281279563903805, | |
0.007542784214019775, | |
0.007426047801971435, | |
0.007342080116271973, | |
0.007482367992401123, | |
0.007345151901245117, | |
0.0073134078979492185, | |
0.007328767776489258, | |
0.007321599960327148, | |
0.007331840038299561, | |
0.007293951988220215, | |
0.007264256000518799, | |
0.007036928176879883, | |
0.007106560230255127, | |
0.007278592109680176, | |
0.007279615879058838, | |
0.0076943359375, | |
0.007322624206542969, | |
0.007333888053894043, | |
0.007288832187652588, | |
0.0072765440940856935, | |
0.007602176189422607, | |
0.007334911823272705, | |
0.00773529577255249, | |
0.007328767776489258, | |
0.007054336071014404, | |
0.0072642240524291996, | |
0.00733081579208374, | |
0.0073062400817871095, | |
0.0073021121025085445, | |
0.007342080116271973, | |
0.00727347183227539, | |
0.007282688140869141, | |
0.007314400196075439, | |
0.007305215835571289, | |
0.007237631797790528, | |
0.0073062400817871095, | |
0.007271423816680909, | |
0.007300096035003662, | |
0.007585792064666748, | |
0.007602176189422607, | |
0.007308288097381592, | |
0.007364607810974121, | |
0.007308288097381592, | |
0.007273407936096191, | |
0.007300096035003662, | |
0.007299071788787842, | |
0.007390207767486572, | |
0.007247871875762939, | |
0.0072540159225463864, | |
0.007328767776489258, | |
0.007311295986175537, | |
0.007271423816680909, | |
0.007309311866760254, | |
0.007237631797790528, | |
0.007280640125274658, | |
0.007263232231140137, | |
0.007294976234436036, | |
0.007287871837615967, | |
0.007375904083251953, | |
0.00725708818435669, | |
0.007280640125274658, | |
0.0072765440940856935, | |
0.007414783954620361 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.2326049807853 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.313119318842796e-08, | |
"ram": 4.5452705357070126e-08, | |
"gpu": 1.4877440029370648e-07, | |
"total": 2.7735829883920457e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3605444.669170469 | |
} | |
} | |
} | |
} |