
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
60150eb
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.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 787.84512, | |
"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.45211083984375, | |
"mean": 7.45211083984375, | |
"stdev": 0.0, | |
"p50": 7.45211083984375, | |
"p90": 7.45211083984375, | |
"p95": 7.45211083984375, | |
"p99": 7.45211083984375, | |
"values": [ | |
7.45211083984375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0526223034720457e-06, | |
"ram": 5.613118199795691e-07, | |
"gpu": 1.679445788000354e-06, | |
"total": 3.2933799114519685e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1077.813248, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 1.0007191061973575, | |
"mean": 0.007097298625513172, | |
"stdev": 0.00025940737625541036, | |
"p50": 0.007157760143280029, | |
"p90": 0.007343039989471435, | |
"p95": 0.0074711041450500485, | |
"p99": 0.007931699371337888, | |
"values": [ | |
0.007516160011291504, | |
0.007536640167236328, | |
0.0074711041450500485, | |
0.007434239864349365, | |
0.0074926080703735356, | |
0.007406559944152832, | |
0.007400447845458984, | |
0.0073134078979492185, | |
0.0072468481063842774, | |
0.00727347183227539, | |
0.007327744007110596, | |
0.007265279769897461, | |
0.007222271919250488, | |
0.007274496078491211, | |
0.007219168186187744, | |
0.007264256000518799, | |
0.0072837119102478025, | |
0.007259136199951172, | |
0.007344128131866455, | |
0.007314432144165039, | |
0.007204864025115967, | |
0.00725600004196167, | |
0.0073062400817871095, | |
0.007208960056304932, | |
0.007337984085083008, | |
0.007311359882354736, | |
0.007286784172058106, | |
0.007256063938140869, | |
0.007270400047302246, | |
0.007304192066192627, | |
0.007299071788787842, | |
0.007535615921020508, | |
0.008235008239746093, | |
0.008147968292236327, | |
0.007247871875762939, | |
0.007233535766601563, | |
0.0071792640686035155, | |
0.007236608028411865, | |
0.007207903861999512, | |
0.007258111953735351, | |
0.007294976234436036, | |
0.0070266880989074704, | |
0.007012351989746094, | |
0.007015423774719238, | |
0.006968319892883301, | |
0.006890495777130127, | |
0.006912000179290771, | |
0.006978559970855713, | |
0.0070522880554199216, | |
0.006924287796020508, | |
0.007066656112670899, | |
0.007219200134277344, | |
0.007165952205657959, | |
0.007195648193359375, | |
0.007185408115386963, | |
0.007203872203826904, | |
0.007259136199951172, | |
0.006945792198181152, | |
0.007130112171173096, | |
0.00719049596786499, | |
0.007194623947143554, | |
0.007204864025115967, | |
0.007165952205657959, | |
0.007179296016693116, | |
0.007192575931549072, | |
0.007284736156463623, | |
0.007343039989471435, | |
0.007265279769897461, | |
0.007294976234436036, | |
0.00727347183227539, | |
0.007219200134277344, | |
0.007268352031707764, | |
0.007214079856872559, | |
0.007046144008636474, | |
0.007358463764190673, | |
0.007165952205657959, | |
0.007146495819091797, | |
0.007032800197601319, | |
0.007000063896179199, | |
0.007172095775604248, | |
0.007057439804077148, | |
0.006905856132507324, | |
0.006862847805023193, | |
0.006924287796020508, | |
0.0070553598403930665, | |
0.007437312126159668, | |
0.007202816009521484, | |
0.007189472198486328, | |
0.007157760143280029, | |
0.007203839778900147, | |
0.00729804801940918, | |
0.007607295989990235, | |
0.006915071964263916, | |
0.006628352165222168, | |
0.0065812478065490725, | |
0.006614016056060791, | |
0.006626304149627686, | |
0.006563839912414551, | |
0.006598656177520752, | |
0.0069550080299377445, | |
0.00687820816040039, | |
0.0068689918518066405, | |
0.006862847805023193, | |
0.0068884482383728025, | |
0.00684441614151001, | |
0.00687718391418457, | |
0.006866943836212158, | |
0.006834176063537598, | |
0.006862847805023193, | |
0.006871039867401123, | |
0.0068915200233459475, | |
0.006838272094726563, | |
0.00687820816040039, | |
0.006900735855102539, | |
0.006849535942077637, | |
0.006856704235076904, | |
0.006855679988861084, | |
0.006852575778961182, | |
0.006850560188293457, | |
0.006858687877655029, | |
0.00687820816040039, | |
0.006872064113616944, | |
0.006863872051239014, | |
0.00683622407913208, | |
0.006879231929779053, | |
0.006851583957672119, | |
0.00690176010131836, | |
0.006879231929779053, | |
0.0068577280044555666, | |
0.006867968082427979, | |
0.006874048233032227, | |
0.006874112129211426, | |
0.006884352207183838, | |
0.006870016098022461, | |
0.006860799789428711, | |
0.006860832214355469, | |
0.006834176063537598, | |
0.006887423992156983, | |
0.006851647853851318, | |
0.006866943836212158, | |
0.00684441614151001 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.89867888681306 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.102306057256047e-08, | |
"ram": 4.4295128528655896e-08, | |
"gpu": 1.4007758749660136e-07, | |
"total": 2.6539577659781776e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3767957.4740008223 | |
} | |
} | |
} | |
} |