
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6e4da33
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.819392, | |
"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.41439697265625, | |
"mean": 7.41439697265625, | |
"stdev": 0.0, | |
"p50": 7.41439697265625, | |
"p90": 7.41439697265625, | |
"p95": 7.41439697265625, | |
"p99": 7.41439697265625, | |
"values": [ | |
7.41439697265625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1148635888887605e-06, | |
"ram": 5.956483400006654e-07, | |
"gpu": 1.871112608000259e-06, | |
"total": 3.5816245368896847e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1079.779328, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 0.9975632338523858, | |
"mean": 0.007025093196143565, | |
"stdev": 0.00020766984029176535, | |
"p50": 0.007113728046417236, | |
"p90": 0.007255728006362915, | |
"p95": 0.007295641613006592, | |
"p99": 0.007443722414970398, | |
"values": [ | |
0.007177216053009033, | |
0.006973440170288086, | |
0.0069110078811645504, | |
0.006874112129211426, | |
0.006896639823913574, | |
0.007113728046417236, | |
0.006894591808319092, | |
0.006845439910888672, | |
0.006862847805023193, | |
0.0068618240356445315, | |
0.00684441614151001, | |
0.006876160144805908, | |
0.006855679988861084, | |
0.007243775844573975, | |
0.007143424034118652, | |
0.007159808158874512, | |
0.007189504146575928, | |
0.007244800090789795, | |
0.007449600219726562, | |
0.007333856105804443, | |
0.007206912040710449, | |
0.007153664112091064, | |
0.007154623985290528, | |
0.007261184215545655, | |
0.007260159969329834, | |
0.0072468481063842774, | |
0.007208960056304932, | |
0.007252992153167725, | |
0.0071905279159545895, | |
0.007194623947143554, | |
0.007197696208953858, | |
0.007379968166351319, | |
0.00729804801940918, | |
0.007145472049713135, | |
0.007161856174468994, | |
0.00714035177230835, | |
0.007131135940551757, | |
0.007160831928253173, | |
0.007156735897064209, | |
0.007296000003814697, | |
0.007189504146575928, | |
0.007176159858703613, | |
0.007250944137573242, | |
0.007193600177764893, | |
0.007258111953735351, | |
0.007244800090789795, | |
0.007164927959442138, | |
0.007117824077606201, | |
0.0072427520751953125, | |
0.007223296165466309, | |
0.0072130560874938965, | |
0.007177216053009033, | |
0.007230463981628418, | |
0.007154687881469727, | |
0.007159808158874512, | |
0.007435264110565186, | |
0.0071823358535766605, | |
0.007250944137573242, | |
0.0071198720932006835, | |
0.007093247890472412, | |
0.007159808158874512, | |
0.007157760143280029, | |
0.00714035177230835, | |
0.0071157760620117185, | |
0.0071495680809020995, | |
0.007188479900360107, | |
0.007296000003814697, | |
0.007288832187652588, | |
0.007188479900360107, | |
0.007284736156463623, | |
0.00725603199005127, | |
0.007153664112091064, | |
0.007186431884765625, | |
0.007120895862579346, | |
0.0071198720932006835, | |
0.0072325119972229, | |
0.007110655784606934, | |
0.007122943878173828, | |
0.0069632000923156735, | |
0.0069212160110473635, | |
0.007113728046417236, | |
0.0070266880989074704, | |
0.006827040195465088, | |
0.006840320110321045, | |
0.006823935985565186, | |
0.007020544052124023, | |
0.007048192024230957, | |
0.00727347183227539, | |
0.007126016139984131, | |
0.007159808158874512, | |
0.007196671962738037, | |
0.007241727828979493, | |
0.006920191764831543, | |
0.00682700777053833, | |
0.0067645440101623535, | |
0.006838272094726563, | |
0.006817791938781738, | |
0.006800384044647217, | |
0.006796288013458252, | |
0.006849535942077637, | |
0.006873087882995605, | |
0.0068055038452148435, | |
0.006867968082427979, | |
0.00683622407913208, | |
0.006830080032348633, | |
0.006761472225189209, | |
0.006804480075836182, | |
0.006776832103729248, | |
0.006758399963378906, | |
0.0067686400413513184, | |
0.006776800155639648, | |
0.006780928134918213, | |
0.006737919807434082, | |
0.006756351947784424, | |
0.006772736072540283, | |
0.006763519763946534, | |
0.006790143966674805, | |
0.006779903888702392, | |
0.007697408199310303, | |
0.006868927955627441, | |
0.006780992031097412, | |
0.006811647891998291, | |
0.00679423999786377, | |
0.00684441614151001, | |
0.006797311782836914, | |
0.006772736072540283, | |
0.006834176063537598, | |
0.0067717118263244626, | |
0.00678604793548584, | |
0.006758399963378906, | |
0.006760447978973389, | |
0.0067573761940002445, | |
0.006778880119323731, | |
0.00675328016281128, | |
0.006778880119323731, | |
0.00677785587310791, | |
0.006763519763946534, | |
0.0067675838470458985, | |
0.006807551860809326, | |
0.00676966381072998, | |
0.006793216228485107, | |
0.006797311782836914 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.34686602434704 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.051344330893173e-08, | |
"ram": 4.401983838167074e-08, | |
"gpu": 1.4952151601351515e-07, | |
"total": 2.740547977041176e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3648905.2860138095 | |
} | |
} | |
} | |
} |