
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5eec698
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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 907.911168, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 157, | |
"total": 0.9961976943016051, | |
"mean": 0.006345208243959268, | |
"stdev": 0.0002391554601246473, | |
"p50": 0.0063294081687927245, | |
"p90": 0.006604390525817871, | |
"p95": 0.006780518245697021, | |
"p99": 0.007091404838562011, | |
"values": [ | |
0.006871071815490723, | |
0.006575104236602783, | |
0.006626304149627686, | |
0.0065669121742248536, | |
0.006689792156219483, | |
0.0065781760215759275, | |
0.006750207901000976, | |
0.006799359798431396, | |
0.006964223861694336, | |
0.0067758078575134275, | |
0.006866943836212158, | |
0.007044095993041993, | |
0.006184991836547852, | |
0.006486015796661377, | |
0.0069253120422363285, | |
0.007151616096496582, | |
0.007839744091033935, | |
0.00659660816192627, | |
0.0063498239517211915, | |
0.0064133119583129885, | |
0.006339583873748779, | |
0.0064471039772033695, | |
0.006363135814666748, | |
0.0064133119583129885, | |
0.006428671836853027, | |
0.006532095909118653, | |
0.006407167911529541, | |
0.006448128223419189, | |
0.006325247764587402, | |
0.0062904319763183595, | |
0.00624128007888794, | |
0.006280191898345947, | |
0.00618393611907959, | |
0.006277120113372803, | |
0.006189119815826416, | |
0.00628326416015625, | |
0.006307839870452881, | |
0.006369279861450195, | |
0.006449151992797852, | |
0.006269951820373535, | |
0.006407167911529541, | |
0.006323200225830078, | |
0.0064102401733398436, | |
0.00667852783203125, | |
0.00637337589263916, | |
0.006386688232421875, | |
0.006341631889343262, | |
0.006378496170043945, | |
0.0063272957801818845, | |
0.006379519939422608, | |
0.0063201279640197755, | |
0.006333439826965332, | |
0.006359039783477783, | |
0.006311935901641846, | |
0.006360064029693604, | |
0.0063294081687927245, | |
0.006426623821258545, | |
0.00633241605758667, | |
0.006393856048583985, | |
0.006691840171813965, | |
0.006304768085479737, | |
0.006440959930419922, | |
0.006304768085479737, | |
0.006379519939422608, | |
0.006331391811370849, | |
0.006354944229125976, | |
0.006398975849151611, | |
0.006337535858154297, | |
0.006418432235717773, | |
0.006396927833557129, | |
0.006396927833557129, | |
0.006398975849151611, | |
0.006354944229125976, | |
0.006408192157745361, | |
0.006313983917236328, | |
0.006478879928588867, | |
0.006464511871337891, | |
0.0063201279640197755, | |
0.006354944229125976, | |
0.0063498239517211915, | |
0.006339583873748779, | |
0.006354944229125976, | |
0.00632422399520874, | |
0.006341631889343262, | |
0.006359039783477783, | |
0.006301695823669433, | |
0.006341631889343262, | |
0.006319104194641113, | |
0.006368256092071533, | |
0.006330368041992188, | |
0.00622489595413208, | |
0.006218751907348633, | |
0.006475776195526123, | |
0.00623308801651001, | |
0.006191103935241699, | |
0.006220799922943115, | |
0.006184959888458252, | |
0.006194176197052002, | |
0.00623308801651001, | |
0.0062044157981872555, | |
0.006200319766998291, | |
0.006164480209350586, | |
0.006275072097778321, | |
0.006302783966064453, | |
0.006307839870452881, | |
0.006322175979614258, | |
0.006277120113372803, | |
0.006616064071655273, | |
0.0066304001808166506, | |
0.006339583873748779, | |
0.006325247764587402, | |
0.0062638077735900875, | |
0.006272064208984375, | |
0.006196224212646485, | |
0.006278143882751465, | |
0.006169600009918213, | |
0.00624128007888794, | |
0.0062494721412658695, | |
0.006173696041107178, | |
0.006218751907348633, | |
0.005972991943359375, | |
0.00601907205581665, | |
0.005957632064819336, | |
0.006020095825195313, | |
0.0061224961280822755, | |
0.006209536075592041, | |
0.006043647766113281, | |
0.006054912090301514, | |
0.0060200319290161135, | |
0.00602726411819458, | |
0.006020095825195313, | |
0.0060293121337890625, | |
0.006038527965545654, | |
0.0060620479583740235, | |
0.006044672012329101, | |
0.006049791812896729, | |
0.006041600227355957, | |
0.006017024040222168, | |
0.006024191856384278, | |
0.006049791812896729, | |
0.006041600227355957, | |
0.006023168087005615, | |
0.006311935901641846, | |
0.0060631041526794435, | |
0.006062079906463623, | |
0.006223872184753418, | |
0.006419456005096436, | |
0.006312960147857666, | |
0.006377471923828125, | |
0.006352896213531494, | |
0.006342656135559082, | |
0.006331391811370849, | |
0.0062975997924804685, | |
0.0063508481979370115, | |
0.006367231845855713, | |
0.006315040111541748, | |
0.006318111896514892 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 157.59924049017852 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.40900252842241e-08, | |
"ram": 4.050874357265381e-08, | |
"gpu": 1.351112191999961e-07, | |
"total": 2.49709988056874e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4004645.580184961 | |
} | |
} | |
} | |
} |