
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9db640a
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.43.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 719.54432, | |
"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.21788818359375, | |
"mean": 7.21788818359375, | |
"stdev": 0.0, | |
"p50": 7.21788818359375, | |
"p90": 7.21788818359375, | |
"p95": 7.21788818359375, | |
"p99": 7.21788818359375, | |
"values": [ | |
7.21788818359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0817231403456795e-06, | |
"ram": 5.598140949584263e-07, | |
"gpu": 1.8455570319972359e-06, | |
"total": 3.4870942673013414e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 912.531456, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 0.9993786549568179, | |
"mean": 0.006798494251406922, | |
"stdev": 0.00023571579898389475, | |
"p50": 0.0068915200233459475, | |
"p90": 0.007034675121307374, | |
"p95": 0.007116140842437744, | |
"p99": 0.007253995313644409, | |
"values": [ | |
0.007322624206542969, | |
0.007233535766601563, | |
0.007271423816680909, | |
0.007221248149871826, | |
0.007129024028778077, | |
0.007153664112091064, | |
0.007002079963684082, | |
0.00694271993637085, | |
0.0069621758460998535, | |
0.007035903930664063, | |
0.006986752033233643, | |
0.007024672031402588, | |
0.006909952163696289, | |
0.0068853759765625, | |
0.006990848064422607, | |
0.006958079814910889, | |
0.006941664218902588, | |
0.0070225920677185055, | |
0.00703385591506958, | |
0.00694374418258667, | |
0.006931456089019775, | |
0.007027711868286133, | |
0.007029759883880615, | |
0.0070522880554199216, | |
0.00698367977142334, | |
0.007023615837097168, | |
0.0070860800743103025, | |
0.006989823818206787, | |
0.0069550080299377445, | |
0.0069621758460998535, | |
0.007003136157989502, | |
0.006960159778594971, | |
0.006842368125915528, | |
0.006896639823913574, | |
0.006927360057830811, | |
0.006959104061126709, | |
0.006834176063537598, | |
0.006949888229370117, | |
0.006945792198181152, | |
0.006961152076721191, | |
0.007028736114501953, | |
0.007046144008636474, | |
0.006976511955261231, | |
0.0069928960800170895, | |
0.0069621758460998535, | |
0.006897664070129395, | |
0.006956031799316406, | |
0.0070225920677185055, | |
0.00687820816040039, | |
0.006960127830505371, | |
0.007011328220367432, | |
0.0068577280044555666, | |
0.0068618240356445315, | |
0.006971392154693603, | |
0.0068915200233459475, | |
0.007001088142395019, | |
0.006971424102783203, | |
0.006907904148101806, | |
0.00694271993637085, | |
0.006958079814910889, | |
0.006642687797546387, | |
0.006890495777130127, | |
0.0069928960800170895, | |
0.00693555212020874, | |
0.007024640083312988, | |
0.007058432102203369, | |
0.007019519805908203, | |
0.007015423774719238, | |
0.007021567821502686, | |
0.006953983783721924, | |
0.006970367908477783, | |
0.0069283838272094726, | |
0.006909952163696289, | |
0.006953983783721924, | |
0.006924287796020508, | |
0.006834176063537598, | |
0.006700032234191895, | |
0.006787007808685303, | |
0.006899712085723877, | |
0.006766592025756836, | |
0.006601727962493896, | |
0.006569983959197998, | |
0.006633471965789795, | |
0.007230463981628418, | |
0.007061503887176514, | |
0.006977471828460693, | |
0.006867968082427979, | |
0.007044095993041993, | |
0.007161791801452637, | |
0.0069621758460998535, | |
0.006762495994567871, | |
0.006706175804138184, | |
0.006636544227600098, | |
0.00657203197479248, | |
0.006615039825439453, | |
0.006556672096252441, | |
0.006562816143035889, | |
0.0065392317771911625, | |
0.0066375679969787596, | |
0.0065474557876586915, | |
0.00653926420211792, | |
0.006532095909118653, | |
0.006509568214416504, | |
0.006556672096252441, | |
0.006516736030578613, | |
0.006501376152038574, | |
0.006573023796081543, | |
0.006549503803253174, | |
0.006545407772064209, | |
0.006564864158630371, | |
0.006501376152038574, | |
0.006543360233306885, | |
0.00657919979095459, | |
0.006523903846740723, | |
0.006612959861755371, | |
0.0065781760215759275, | |
0.006504447937011719, | |
0.006498367786407471, | |
0.00643891191482544, | |
0.006658048152923584, | |
0.006509568214416504, | |
0.006428671836853027, | |
0.006495232105255127, | |
0.006446080207824707, | |
0.006703104019165039, | |
0.006567903995513916, | |
0.0065146880149841305, | |
0.006545407772064209, | |
0.0065710082054138185, | |
0.006516736030578613, | |
0.006670335769653321, | |
0.006461440086364746, | |
0.006445055961608887, | |
0.0064778242111206055, | |
0.006440959930419922, | |
0.00643891191482544, | |
0.006458367824554443, | |
0.00638976001739502, | |
0.006456319808959961, | |
0.006441984176635742, | |
0.006407167911529541, | |
0.0064778242111206055, | |
0.006408192157745361, | |
0.0065372161865234375, | |
0.006554624080657959, | |
0.006806528091430664, | |
0.0065146880149841305 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.0913945088729 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.548110753361082e-08, | |
"ram": 4.126727088924537e-08, | |
"gpu": 1.468702519617764e-07, | |
"total": 2.6361863038463256e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3793358.6049701828 | |
} | |
} | |
} | |
} |