
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a17e620
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": 787.636224, | |
"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.37606884765625, | |
"mean": 7.37606884765625, | |
"stdev": 0.0, | |
"p50": 7.37606884765625, | |
"p90": 7.37606884765625, | |
"p95": 7.37606884765625, | |
"p99": 7.37606884765625, | |
"values": [ | |
7.37606884765625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.083747402778812e-06, | |
"ram": 5.784680545923053e-07, | |
"gpu": 0.0, | |
"total": 1.6622154573711173e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1077.8624, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 0.999137119293213, | |
"mean": 0.006938452217313978, | |
"stdev": 0.00022406317055369496, | |
"p50": 0.006966784000396728, | |
"p90": 0.007176908779144287, | |
"p95": 0.007228593611717224, | |
"p99": 0.007543644108772278, | |
"values": [ | |
0.007260159969329834, | |
0.007195648193359375, | |
0.007144447803497315, | |
0.006870016098022461, | |
0.006856704235076904, | |
0.006813695907592773, | |
0.007174143791198731, | |
0.007218175888061523, | |
0.007105535984039306, | |
0.007143424034118652, | |
0.007112703800201416, | |
0.007098336219787598, | |
0.007069695949554444, | |
0.007039999961853028, | |
0.0071157760620117185, | |
0.007076863765716553, | |
0.006872064113616944, | |
0.007137279987335205, | |
0.007274496078491211, | |
0.007154687881469727, | |
0.006871039867401123, | |
0.006821887969970703, | |
0.006770688056945801, | |
0.0068280320167541505, | |
0.006845439910888672, | |
0.00688640022277832, | |
0.007207935810089112, | |
0.007415808200836181, | |
0.007127103805541993, | |
0.007063551902770996, | |
0.007108607769012451, | |
0.0070860800743103025, | |
0.007102464199066162, | |
0.007028672218322754, | |
0.0070225920677185055, | |
0.007010303974151612, | |
0.0070256638526916505, | |
0.006739967823028564, | |
0.006802432060241699, | |
0.0067717118263244626, | |
0.006766528129577637, | |
0.006802432060241699, | |
0.006838272094726563, | |
0.006796288013458252, | |
0.007536640167236328, | |
0.007201791763305664, | |
0.007110655784606934, | |
0.007031839847564697, | |
0.007085055828094483, | |
0.007158783912658692, | |
0.0071495680809020995, | |
0.007079936027526855, | |
0.007085055828094483, | |
0.007098368167877197, | |
0.007116799831390381, | |
0.007054336071014404, | |
0.0072325119972229, | |
0.007113728046417236, | |
0.007176191806793213, | |
0.007090176105499267, | |
0.007067647933959961, | |
0.007076863765716553, | |
0.007053311824798584, | |
0.007073791980743408, | |
0.007072768211364746, | |
0.0070891518592834475, | |
0.007102464199066162, | |
0.007165952205657959, | |
0.007196671962738037, | |
0.007177216053009033, | |
0.0071792640686035155, | |
0.007121920108795166, | |
0.00707583999633789, | |
0.007096352100372315, | |
0.007107583999633789, | |
0.007001088142395019, | |
0.0070522880554199216, | |
0.006987775802612305, | |
0.006989823818206787, | |
0.007919616222381591, | |
0.007548927783966064, | |
0.0070563840866088865, | |
0.007077888011932373, | |
0.006894591808319092, | |
0.00675328016281128, | |
0.006700032234191895, | |
0.006945792198181152, | |
0.007020576000213623, | |
0.007067647933959961, | |
0.007015423774719238, | |
0.007063551902770996, | |
0.007094272136688232, | |
0.007230432033538819, | |
0.00694374418258667, | |
0.006780928134918213, | |
0.006800384044647217, | |
0.006810624122619629, | |
0.00677785587310791, | |
0.006692863941192627, | |
0.006722559928894043, | |
0.006681600093841553, | |
0.0067051520347595215, | |
0.006774784088134766, | |
0.006690815925598144, | |
0.006699007987976074, | |
0.0066856322288513185, | |
0.006680511951446534, | |
0.006663167953491211, | |
0.006710271835327148, | |
0.006706175804138184, | |
0.006675456047058105, | |
0.006721536159515381, | |
0.006748159885406494, | |
0.006706175804138184, | |
0.006715392112731934, | |
0.0067051520347595215, | |
0.0066826238632202144, | |
0.006689792156219483, | |
0.006711296081542969, | |
0.006661119937896728, | |
0.0067348480224609375, | |
0.006700032234191895, | |
0.006681600093841553, | |
0.006673408031463623, | |
0.00667852783203125, | |
0.0066826238632202144, | |
0.006672383785247803, | |
0.006688767910003662, | |
0.006677504062652588, | |
0.006659071922302246, | |
0.0066826238632202144, | |
0.0066641921997070315, | |
0.006666240215301514, | |
0.006726655960083008, | |
0.006737919807434082, | |
0.00667955207824707, | |
0.0067051520347595215, | |
0.006719488143920899, | |
0.0067041277885437015, | |
0.006702079772949219, | |
0.006743040084838867, | |
0.006689792156219483, | |
0.006696959972381592, | |
0.006756351947784424 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 144.12436213146125 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.839511096394667e-08, | |
"ram": 4.286249630923323e-08, | |
"gpu": 1.388135768344404e-07, | |
"total": 2.6007118410762033e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3845101.115032371 | |
} | |
} | |
} | |
} |