
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2861ce2
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": "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.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": 903.217152, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 148, | |
"total": 0.9973092460632328, | |
"mean": 0.006738575986913733, | |
"stdev": 0.00022556021125560503, | |
"p50": 0.0066472959518432614, | |
"p90": 0.007016755151748657, | |
"p95": 0.007117772722244263, | |
"p99": 0.007371059031486511, | |
"values": [ | |
0.007482367992401123, | |
0.007106560230255127, | |
0.0071188478469848635, | |
0.007250944137573242, | |
0.0071157760620117185, | |
0.007048192024230957, | |
0.007139296054840088, | |
0.007010303974151612, | |
0.007041024208068848, | |
0.007311359882354736, | |
0.007151616096496582, | |
0.007010240077972412, | |
0.007095263957977295, | |
0.006990848064422607, | |
0.006946815967559815, | |
0.006940671920776367, | |
0.007002111911773682, | |
0.006944767951965332, | |
0.006953983783721924, | |
0.006929408073425293, | |
0.007008255958557129, | |
0.006986752033233643, | |
0.0069918718338012695, | |
0.006930431842803955, | |
0.006966271877288818, | |
0.007001088142395019, | |
0.006985727787017822, | |
0.006638591766357422, | |
0.006661119937896728, | |
0.007205855846405029, | |
0.006662144184112549, | |
0.006603775978088379, | |
0.006717440128326416, | |
0.0066641921997070315, | |
0.0066744318008422855, | |
0.006762495994567871, | |
0.006651904106140137, | |
0.0069324798583984375, | |
0.006993919849395752, | |
0.006854656219482422, | |
0.006918144226074219, | |
0.006985727787017822, | |
0.006922239780426025, | |
0.006933504104614257, | |
0.006814688205718994, | |
0.006923264026641846, | |
0.006906879901885986, | |
0.006956031799316406, | |
0.006715392112731934, | |
0.006837247848510742, | |
0.006917119979858399, | |
0.006853631973266602, | |
0.006713344097137451, | |
0.006918144226074219, | |
0.007031807899475098, | |
0.006956031799316406, | |
0.006783999919891357, | |
0.006725632190704346, | |
0.006667263984680176, | |
0.006721536159515381, | |
0.006605823993682861, | |
0.00676966381072998, | |
0.006918144226074219, | |
0.006897664070129395, | |
0.006773759841918945, | |
0.006614016056060791, | |
0.006864831924438476, | |
0.006845439910888672, | |
0.006609983921051025, | |
0.006533120155334473, | |
0.006549503803253174, | |
0.006606847763061524, | |
0.0068321280479431154, | |
0.007423999786376953, | |
0.006982656002044678, | |
0.006894591808319092, | |
0.00694374418258667, | |
0.0070696320533752445, | |
0.006761472225189209, | |
0.00657919979095459, | |
0.006736959934234619, | |
0.006648831844329834, | |
0.006676447868347168, | |
0.006632448196411133, | |
0.006573056221008301, | |
0.006509568214416504, | |
0.006561791896820069, | |
0.006567935943603515, | |
0.006574079990386963, | |
0.006631455898284912, | |
0.006533120155334473, | |
0.006570015907287598, | |
0.0065812478065490725, | |
0.006512639999389648, | |
0.006523903846740723, | |
0.006559743881225586, | |
0.006511616230010986, | |
0.006511583805084229, | |
0.006510591983795166, | |
0.006549503803253174, | |
0.006502399921417237, | |
0.0065484800338745115, | |
0.006568960189819336, | |
0.0065771517753601075, | |
0.006645760059356689, | |
0.006626304149627686, | |
0.006624256134033203, | |
0.006542304039001465, | |
0.006564864158630371, | |
0.0065586881637573246, | |
0.006490111827850342, | |
0.006527999877929688, | |
0.006583295822143555, | |
0.006499328136444092, | |
0.006546432018280029, | |
0.00653004789352417, | |
0.006486015796661377, | |
0.006523903846740723, | |
0.0065484800338745115, | |
0.0064737281799316405, | |
0.006545407772064209, | |
0.006542335987091064, | |
0.0065064959526062015, | |
0.00653004789352417, | |
0.006466559886932373, | |
0.006536191940307618, | |
0.006594560146331787, | |
0.006542335987091064, | |
0.00653004789352417, | |
0.006520832061767578, | |
0.006627327919006347, | |
0.0065484800338745115, | |
0.006563839912414551, | |
0.006534143924713135, | |
0.006523903846740723, | |
0.006600736141204834, | |
0.006525951862335205, | |
0.006604800224304199, | |
0.00652288007736206, | |
0.006491136074066162, | |
0.006576128005981445, | |
0.006473760128021241, | |
0.006553599834442139, | |
0.006536191940307618, | |
0.006470655918121338, | |
0.006573056221008301, | |
0.00653926420211792, | |
0.00652185583114624 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 148.39930601687848 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.773400456817062e-08, | |
"ram": 4.249739739795848e-08, | |
"gpu": 1.425019295424844e-07, | |
"total": 2.6273333150861346e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3806140.5998926936 | |
} | |
} | |
} | |
} |