
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f9442c3
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.744448, | |
"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.16699853515625, | |
"mean": 7.16699853515625, | |
"stdev": 0.0, | |
"p50": 7.16699853515625, | |
"p90": 7.16699853515625, | |
"p95": 7.16699853515625, | |
"p99": 7.16699853515625, | |
"values": [ | |
7.16699853515625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.067700485388438e-06, | |
"ram": 5.596336008346725e-07, | |
"gpu": 1.8783348360003685e-06, | |
"total": 3.5056689222234794e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 913.739776, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 158, | |
"total": 0.9972090568542479, | |
"mean": 0.006311449726925621, | |
"stdev": 0.00021138440701416882, | |
"p50": 0.006268415927886963, | |
"p90": 0.006559129476547242, | |
"p95": 0.006849894547462463, | |
"p99": 0.006969497637748718, | |
"values": [ | |
0.006972415924072266, | |
0.006967296123504638, | |
0.006912000179290771, | |
0.006919167995452881, | |
0.006541376113891602, | |
0.006791168212890625, | |
0.006848512172698974, | |
0.006737919807434082, | |
0.006871039867401123, | |
0.006846464157104492, | |
0.006867968082427979, | |
0.007098368167877197, | |
0.006338560104370118, | |
0.006094848155975342, | |
0.006073344230651856, | |
0.006053887844085694, | |
0.006150144100189209, | |
0.00601804780960083, | |
0.006043647766113281, | |
0.006037504196166992, | |
0.005992479801177978, | |
0.006102015972137451, | |
0.006005760192871094, | |
0.006047743797302246, | |
0.0060067839622497555, | |
0.006023104190826416, | |
0.0059996161460876465, | |
0.006033408164978027, | |
0.005993472099304199, | |
0.006038527965545654, | |
0.0065474557876586915, | |
0.006334464073181153, | |
0.006239232063293457, | |
0.00626585578918457, | |
0.006271999835968017, | |
0.0062341117858886715, | |
0.006248447895050049, | |
0.006295551776885986, | |
0.006232096195220947, | |
0.006239232063293457, | |
0.006334464073181153, | |
0.006255616188049316, | |
0.00623308801651001, | |
0.006278143882751465, | |
0.006223872184753418, | |
0.006326272010803223, | |
0.006300672054290772, | |
0.006259712219238281, | |
0.00621670389175415, | |
0.0062044157981872555, | |
0.006237184047698975, | |
0.006213632106781006, | |
0.006247424125671387, | |
0.006223872184753418, | |
0.006254591941833496, | |
0.006242303848266601, | |
0.0062197761535644535, | |
0.006269951820373535, | |
0.006221824169158936, | |
0.00626585578918457, | |
0.006246399879455566, | |
0.006269951820373535, | |
0.006276095867156982, | |
0.006211584091186524, | |
0.006247424125671387, | |
0.006236127853393555, | |
0.0062638077735900875, | |
0.00679423999786377, | |
0.006415359973907471, | |
0.006292479991912842, | |
0.006214655876159668, | |
0.006238207817077636, | |
0.006235136032104492, | |
0.006248447895050049, | |
0.006367231845855713, | |
0.00621670389175415, | |
0.006258656024932861, | |
0.006220799922943115, | |
0.006314943790435791, | |
0.006364160060882569, | |
0.006353951930999756, | |
0.00628326416015625, | |
0.006322175979614258, | |
0.006386688232421875, | |
0.006223872184753418, | |
0.006253568172454834, | |
0.006214655876159668, | |
0.0062341117858886715, | |
0.006268928050994873, | |
0.006264832019805908, | |
0.006412288188934326, | |
0.006214655876159668, | |
0.006290400028228759, | |
0.0062679038047790524, | |
0.006304768085479737, | |
0.0062494721412658695, | |
0.00636518383026123, | |
0.006264832019805908, | |
0.006212607860565185, | |
0.006345727920532227, | |
0.006221824169158936, | |
0.006209536075592041, | |
0.006463488101959228, | |
0.00632422399520874, | |
0.006421504020690918, | |
0.0065075201988220215, | |
0.006388735771179199, | |
0.0064655041694641115, | |
0.006378496170043945, | |
0.006459392070770263, | |
0.006391808032989502, | |
0.006237184047698975, | |
0.006367231845855713, | |
0.00626691198348999, | |
0.00628326416015625, | |
0.006280191898345947, | |
0.006203392028808594, | |
0.006280191898345947, | |
0.00622489595413208, | |
0.006278143882751465, | |
0.00622489595413208, | |
0.006273024082183838, | |
0.0063508481979370115, | |
0.006337535858154297, | |
0.0062873601913452145, | |
0.006315008163452148, | |
0.0062791681289672855, | |
0.006303743839263916, | |
0.006586368083953857, | |
0.006277120113372803, | |
0.006223872184753418, | |
0.006269951820373535, | |
0.0062269439697265625, | |
0.006258687973022461, | |
0.0062863359451293946, | |
0.006294528007507324, | |
0.006363103866577149, | |
0.006335487842559814, | |
0.006333439826965332, | |
0.006231040000915527, | |
0.006393856048583985, | |
0.006297664165496826, | |
0.006220799922943115, | |
0.006246399879455566, | |
0.00623308801651001, | |
0.006384640216827392, | |
0.006060031890869141, | |
0.006050816059112549, | |
0.005984255790710449, | |
0.006039552211761475, | |
0.005986303806304932, | |
0.006689792156219483, | |
0.006307839870452881, | |
0.006318079948425293, | |
0.006346752166748047, | |
0.006662144184112549, | |
0.0068577280044555666, | |
0.006386688232421875 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 158.44220318096575 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.251219213170411e-08, | |
"ram": 3.964221186618507e-08, | |
"gpu": 1.4261359647560545e-07, | |
"total": 2.5476800047349464e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3925139.7276795646 | |
} | |
} | |
} | |
} |