
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4f774ab
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.519168, | |
"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.1750595703125, | |
"mean": 7.1750595703125, | |
"stdev": 0.0, | |
"p50": 7.1750595703125, | |
"p90": 7.1750595703125, | |
"p95": 7.1750595703125, | |
"p99": 7.1750595703125, | |
"values": [ | |
7.1750595703125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1015890373124017e-06, | |
"ram": 5.664954629069522e-07, | |
"gpu": 1.7958347699985333e-06, | |
"total": 3.463919270217887e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 912.965632, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 154, | |
"total": 0.9991060476303099, | |
"mean": 0.006487701607989027, | |
"stdev": 0.0002849572193927827, | |
"p50": 0.006486527919769287, | |
"p90": 0.006778060674667358, | |
"p95": 0.0068636159658432006, | |
"p99": 0.007015055398941039, | |
"values": [ | |
0.006961152076721191, | |
0.00707583999633789, | |
0.006866943836212158, | |
0.006867968082427979, | |
0.0069212160110473635, | |
0.0068618240356445315, | |
0.006858751773834228, | |
0.006874112129211426, | |
0.006910975933074951, | |
0.006773759841918945, | |
0.0065413122177124024, | |
0.006589439868927002, | |
0.006650879859924317, | |
0.00669488000869751, | |
0.006631423950195312, | |
0.006621183872222901, | |
0.0066826238632202144, | |
0.006773759841918945, | |
0.00672870397567749, | |
0.0067870721817016606, | |
0.008266752243041992, | |
0.0067010560035705566, | |
0.0066375679969787596, | |
0.006668288230895996, | |
0.006486015796661377, | |
0.006508543968200684, | |
0.006662144184112549, | |
0.006749184131622315, | |
0.00673689603805542, | |
0.0066641921997070315, | |
0.006706111907958985, | |
0.006746111869812011, | |
0.006672351837158203, | |
0.006698847770690918, | |
0.0066078720092773435, | |
0.006716415882110595, | |
0.00658841609954834, | |
0.0066938881874084475, | |
0.006597631931304931, | |
0.006605823993682861, | |
0.0067051520347595215, | |
0.006656000137329102, | |
0.006759424209594727, | |
0.006819839954376221, | |
0.006744063854217529, | |
0.006672383785247803, | |
0.006799359798431396, | |
0.0067420158386230465, | |
0.006590464115142822, | |
0.006684671878814697, | |
0.0067562880516052245, | |
0.006667263984680176, | |
0.006669312000274658, | |
0.006779903888702392, | |
0.0066375679969787596, | |
0.006614016056060791, | |
0.006683775901794434, | |
0.0066641921997070315, | |
0.006707200050354004, | |
0.006809599876403808, | |
0.006555647850036621, | |
0.0066007041931152345, | |
0.006681600093841553, | |
0.006643712043762207, | |
0.006684671878814697, | |
0.006704192161560058, | |
0.006667263984680176, | |
0.006714367866516113, | |
0.0068343358039855955, | |
0.006746111869812011, | |
0.006702079772949219, | |
0.00652288007736206, | |
0.006487040042877197, | |
0.006384640216827392, | |
0.006463488101959228, | |
0.0065309758186340335, | |
0.006598656177520752, | |
0.0067348480224609375, | |
0.0064245758056640625, | |
0.006312960147857666, | |
0.006221824169158936, | |
0.006120448112487793, | |
0.006386688232421875, | |
0.006328320026397705, | |
0.006146048069000244, | |
0.005988383769989013, | |
0.006038527965545654, | |
0.006052864074707031, | |
0.006312960147857666, | |
0.006462463855743408, | |
0.006402048110961914, | |
0.006388735771179199, | |
0.00645136022567749, | |
0.006569983959197998, | |
0.00658841609954834, | |
0.006460415840148926, | |
0.006275072097778321, | |
0.006196224212646485, | |
0.006251520156860352, | |
0.006284287929534912, | |
0.006254591941833496, | |
0.00628326416015625, | |
0.006236159801483154, | |
0.006258687973022461, | |
0.006244351863861084, | |
0.0062259202003479, | |
0.006135744094848633, | |
0.006065023899078369, | |
0.006158271789550781, | |
0.006098944187164307, | |
0.006177792072296143, | |
0.006271999835968017, | |
0.00619212818145752, | |
0.006198272228240966, | |
0.006209504127502441, | |
0.006294528007507324, | |
0.006177792072296143, | |
0.006198272228240966, | |
0.00620851182937622, | |
0.006262784004211426, | |
0.006259552001953125, | |
0.006250495910644531, | |
0.0062791681289672855, | |
0.00620851182937622, | |
0.006287295818328858, | |
0.006246399879455566, | |
0.006281216144561768, | |
0.0062044157981872555, | |
0.0062228479385375976, | |
0.00622489595413208, | |
0.006275072097778321, | |
0.006296576023101807, | |
0.006271999835968017, | |
0.006252543926239014, | |
0.0062197761535644535, | |
0.00622489595413208, | |
0.006260735988616943, | |
0.006251520156860352, | |
0.006250495910644531, | |
0.006173696041107178, | |
0.0063211522102355954, | |
0.006220799922943115, | |
0.006410143852233887, | |
0.006212607860565185, | |
0.006275072097778321, | |
0.006292479991912842, | |
0.006238207817077636, | |
0.006255616188049316, | |
0.00620851182937622, | |
0.006284287929534912, | |
0.0061931519508361815, | |
0.006235136032104492, | |
0.006202367782592774, | |
0.006190080165863037 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 154.13779184427796 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.398081512760507e-08, | |
"ram": 4.039113924726738e-08, | |
"gpu": 1.417340678385087e-07, | |
"total": 2.5610602221338116e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3904632.8991312236 | |
} | |
} | |
} | |
} |