
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
85c309b
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-211.872.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.663744, | |
"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.3957509765625, | |
"mean": 7.3957509765625, | |
"stdev": 0.0, | |
"p50": 7.3957509765625, | |
"p90": 7.3957509765625, | |
"p95": 7.3957509765625, | |
"p99": 7.3957509765625, | |
"values": [ | |
7.3957509765625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0690175520833931e-06, | |
"ram": 5.696924257030581e-07, | |
"gpu": 1.756390293999703e-06, | |
"total": 3.3951002717861547e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1078.960128, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 1.0002069454193117, | |
"mean": 0.007195733420282816, | |
"stdev": 0.00038752265924665277, | |
"p50": 0.0072120318412780765, | |
"p90": 0.007533772659301758, | |
"p95": 0.007899235248565672, | |
"p99": 0.008409026908874512, | |
"values": [ | |
0.009684991836547852, | |
0.00829030418395996, | |
0.008481792449951172, | |
0.007508992195129394, | |
0.007442431926727295, | |
0.007681024074554443, | |
0.008075263977050781, | |
0.007294976234436036, | |
0.007243711948394776, | |
0.00790012788772583, | |
0.007633920192718506, | |
0.007425024032592774, | |
0.008051712036132813, | |
0.0072427520751953125, | |
0.006959104061126709, | |
0.0078919677734375, | |
0.007899136066436767, | |
0.007414783954620361, | |
0.007422976016998291, | |
0.007290880203247071, | |
0.007217152118682861, | |
0.007229440212249756, | |
0.0073359360694885255, | |
0.007321599960327148, | |
0.0073400321006774905, | |
0.007362559795379638, | |
0.007256063938140869, | |
0.007208960056304932, | |
0.007276480197906494, | |
0.00729804801940918, | |
0.007277567863464355, | |
0.007234560012817383, | |
0.0071577920913696285, | |
0.007168000221252442, | |
0.0072325119972229, | |
0.007209983825683594, | |
0.007279583930969238, | |
0.007214079856872559, | |
0.007267327785491944, | |
0.007292928218841553, | |
0.007333888053894043, | |
0.007264256000518799, | |
0.007271423816680909, | |
0.007218175888061523, | |
0.007216127872467041, | |
0.007227392196655274, | |
0.007319551944732666, | |
0.007287807941436767, | |
0.007284736156463623, | |
0.007227392196655274, | |
0.007270431995391845, | |
0.007139328002929687, | |
0.007208960056304932, | |
0.007235583782196045, | |
0.00727347183227539, | |
0.007328767776489258, | |
0.00723967981338501, | |
0.007216127872467041, | |
0.00725708818435669, | |
0.007289824008941651, | |
0.0072120318412780765, | |
0.0071792640686035155, | |
0.007523327827453613, | |
0.007390207767486572, | |
0.00742195177078247, | |
0.007363552093505859, | |
0.007350272178649903, | |
0.007332863807678222, | |
0.007220160007476806, | |
0.007575551986694336, | |
0.0073175039291381834, | |
0.007217152118682861, | |
0.007362559795379638, | |
0.007357439994812012, | |
0.007126016139984131, | |
0.0072130560874938965, | |
0.006966271877288818, | |
0.008246272087097169, | |
0.007576576232910156, | |
0.007781375885009765, | |
0.007139328002929687, | |
0.006936575889587402, | |
0.006975520133972168, | |
0.007156735897064209, | |
0.007106560230255127, | |
0.007023615837097168, | |
0.0071075201034545895, | |
0.007195648193359375, | |
0.007205887794494629, | |
0.006917119979858399, | |
0.00684441614151001, | |
0.006876160144805908, | |
0.006916096210479736, | |
0.00687718391418457, | |
0.006821824073791504, | |
0.006960127830505371, | |
0.006765567779541016, | |
0.006690752029418945, | |
0.006721536159515381, | |
0.006758399963378906, | |
0.006821887969970703, | |
0.006818816184997558, | |
0.006897664070129395, | |
0.00687718391418457, | |
0.006872064113616944, | |
0.006873087882995605, | |
0.006949888229370117, | |
0.0068853759765625, | |
0.006892543792724609, | |
0.006899712085723877, | |
0.006915071964263916, | |
0.006856704235076904, | |
0.00683523178100586, | |
0.00688640022277832, | |
0.0068986878395080565, | |
0.006815743923187256, | |
0.006918144226074219, | |
0.006875135898590088, | |
0.006878176212310791, | |
0.006829055786132812, | |
0.006918144226074219, | |
0.006899712085723877, | |
0.006895616054534912, | |
0.0068689918518066405, | |
0.0068853759765625, | |
0.006856704235076904, | |
0.0068577280044555666, | |
0.006879231929779053, | |
0.00693555212020874, | |
0.00683622407913208, | |
0.007045119762420654, | |
0.00689356803894043, | |
0.006826015949249267, | |
0.006861792087554931, | |
0.006831103801727295, | |
0.0069253120422363285, | |
0.006842368125915528, | |
0.006919167995452881, | |
0.006876160144805908 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.97124053835458 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.07320243953162e-08, | |
"ram": 4.410659305034781e-08, | |
"gpu": 1.5537616360544323e-07, | |
"total": 2.8021478105110724e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3568691.117038591 | |
} | |
} | |
} | |
} |