
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6ec8198
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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.2.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": 909.082624, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 0.9980414714813234, | |
"mean": 0.007078308308378177, | |
"stdev": 0.0004735096370621319, | |
"p50": 0.006974463939666748, | |
"p90": 0.007111680030822754, | |
"p95": 0.007262239933013916, | |
"p99": 0.009712435340881337, | |
"values": [ | |
0.010886143684387208, | |
0.010373120307922363, | |
0.008721407890319824, | |
0.0076574721336364745, | |
0.007635968208312988, | |
0.007587776184082031, | |
0.008150015830993652, | |
0.007262239933013916, | |
0.007031744003295899, | |
0.007020544052124023, | |
0.006985727787017822, | |
0.006953983783721924, | |
0.006989823818206787, | |
0.007001088142395019, | |
0.007066624164581299, | |
0.006998015880584717, | |
0.007008255958557129, | |
0.00709222412109375, | |
0.0069928960800170895, | |
0.007077888011932373, | |
0.006964223861694336, | |
0.006977536201477051, | |
0.006993919849395752, | |
0.006960127830505371, | |
0.006975488185882568, | |
0.00698367977142334, | |
0.007180287837982178, | |
0.0070348801612854, | |
0.006956031799316406, | |
0.006966271877288818, | |
0.006990848064422607, | |
0.006971392154693603, | |
0.006957056045532227, | |
0.007037951946258545, | |
0.007004159927368164, | |
0.006958079814910889, | |
0.006988800048828125, | |
0.006960127830505371, | |
0.006975488185882568, | |
0.007002111911773682, | |
0.006945792198181152, | |
0.007021567821502686, | |
0.006975488185882568, | |
0.006987775802612305, | |
0.006959104061126709, | |
0.006970367908477783, | |
0.006979584217071533, | |
0.006987711906433105, | |
0.006967296123504638, | |
0.006966271877288818, | |
0.007009280204772949, | |
0.0069632000923156735, | |
0.006940671920776367, | |
0.006981696128845215, | |
0.0069621758460998535, | |
0.006982656002044678, | |
0.006966271877288818, | |
0.007071743965148926, | |
0.007000063896179199, | |
0.007018496036529541, | |
0.006959104061126709, | |
0.006961152076721191, | |
0.007058432102203369, | |
0.006972415924072266, | |
0.006945792198181152, | |
0.006948863983154297, | |
0.006965248107910156, | |
0.006966271877288818, | |
0.0069324798583984375, | |
0.0069847040176391605, | |
0.0070553598403930665, | |
0.006959104061126709, | |
0.006944767951965332, | |
0.007003136157989502, | |
0.006973440170288086, | |
0.006956031799316406, | |
0.006929408073425293, | |
0.006956031799316406, | |
0.007105535984039306, | |
0.007137248039245606, | |
0.007143424034118652, | |
0.00710041618347168, | |
0.007195648193359375, | |
0.007176191806793213, | |
0.007111680030822754, | |
0.007105535984039306, | |
0.007106527805328369, | |
0.007091231822967529, | |
0.006974463939666748, | |
0.006938623905181885, | |
0.006931456089019775, | |
0.006989823818206787, | |
0.006986752033233643, | |
0.0069632000923156735, | |
0.006930463790893555, | |
0.006965248107910156, | |
0.006974463939666748, | |
0.006971392154693603, | |
0.006958111763000489, | |
0.006970367908477783, | |
0.007023615837097168, | |
0.006959104061126709, | |
0.006959104061126709, | |
0.006980607986450196, | |
0.006965248107910156, | |
0.006936575889587402, | |
0.00693555212020874, | |
0.006959104061126709, | |
0.006966271877288818, | |
0.006961152076721191, | |
0.006946815967559815, | |
0.006956031799316406, | |
0.006957056045532227, | |
0.006938623905181885, | |
0.006949888229370117, | |
0.006966271877288818, | |
0.006949888229370117, | |
0.0069549760818481444, | |
0.006959104061126709, | |
0.006977536201477051, | |
0.006964223861694336, | |
0.0069847040176391605, | |
0.006927360057830811, | |
0.006944767951965332, | |
0.006958015918731689, | |
0.006927360057830811, | |
0.006948863983154297, | |
0.006987840175628662, | |
0.007050240039825439, | |
0.006933504104614257, | |
0.007037951946258545, | |
0.006976511955261231, | |
0.006982656002044678, | |
0.0069283838272094726, | |
0.006965216159820557, | |
0.006972415924072266, | |
0.006975488185882568, | |
0.0069324798583984375, | |
0.00695091199874878, | |
0.007227392196655274, | |
0.006974463939666748 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.2766944350755 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.289911956698807e-08, | |
"ram": 4.5243196142756934e-08, | |
"gpu": 1.629920285416788e-07, | |
"total": 2.911343442514238e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3434840.374368197 | |
} | |
} | |
} | |
} |