
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d3ee454
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_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.43.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 718.880768, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.19344970703125, | |
"mean": 7.19344970703125, | |
"stdev": 0.0, | |
"p50": 7.19344970703125, | |
"p90": 7.19344970703125, | |
"p95": 7.19344970703125, | |
"p99": 7.19344970703125, | |
"values": [ | |
7.19344970703125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.252953860494827e-07, | |
"ram": 4.6638293161635153e-07, | |
"gpu": 1.7013902500000698e-06, | |
"total": 3.093068567665904e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 918.54848, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9962400646209718, | |
"mean": 0.0073252945928012625, | |
"stdev": 0.000316504962144963, | |
"p50": 0.007422463893890381, | |
"p90": 0.007647232055664062, | |
"p95": 0.00776857590675354, | |
"p99": 0.007942400002479554, | |
"values": [ | |
0.007939072132110595, | |
0.007831552028656007, | |
0.007702527999877929, | |
0.007680992126464844, | |
0.007659520149230957, | |
0.007543807983398438, | |
0.007435264110565186, | |
0.007463935852050781, | |
0.007459839820861816, | |
0.007413760185241699, | |
0.007477248191833496, | |
0.007448575973510742, | |
0.007390207767486572, | |
0.007615488052368164, | |
0.007449600219726562, | |
0.007479231834411621, | |
0.007505919933319092, | |
0.007456768035888672, | |
0.007515135765075683, | |
0.007416831970214844, | |
0.008734720230102539, | |
0.0076277761459350585, | |
0.007417856216430664, | |
0.007527423858642578, | |
0.007500768184661865, | |
0.007465983867645264, | |
0.007459839820861816, | |
0.007461887836456299, | |
0.007473152160644531, | |
0.007525375843048096, | |
0.00748748779296875, | |
0.007434239864349365, | |
0.007321599960327148, | |
0.007357439994812012, | |
0.007422976016998291, | |
0.0074291200637817386, | |
0.007422976016998291, | |
0.007944191932678223, | |
0.0074967041015625, | |
0.007536640167236328, | |
0.007486464023590088, | |
0.007377920150756836, | |
0.00742195177078247, | |
0.00738918399810791, | |
0.007411712169647216, | |
0.0074802241325378415, | |
0.007486432075500488, | |
0.007448575973510742, | |
0.00789299201965332, | |
0.007411712169647216, | |
0.007375872135162354, | |
0.007493631839752197, | |
0.007529471874237061, | |
0.0075673599243164065, | |
0.007457791805267334, | |
0.00745472002029419, | |
0.007482367992401123, | |
0.007427072048187256, | |
0.007423999786376953, | |
0.007582719802856445, | |
0.007523327827453613, | |
0.007753727912902832, | |
0.007673855781555176, | |
0.007600128173828125, | |
0.007609344005584716, | |
0.007611423969268799, | |
0.007493631839752197, | |
0.007634943962097168, | |
0.007385087966918945, | |
0.0074414081573486324, | |
0.007584767818450928, | |
0.007436287879943848, | |
0.007363584041595459, | |
0.007216127872467041, | |
0.007498752117156982, | |
0.007391232013702393, | |
0.007186431884765625, | |
0.0070348801612854, | |
0.007066624164581299, | |
0.0075222721099853515, | |
0.007585792064666748, | |
0.007634943962097168, | |
0.007813119888305664, | |
0.007684095859527588, | |
0.007814144134521485, | |
0.007520256042480469, | |
0.007325695991516113, | |
0.007309311866760254, | |
0.007106560230255127, | |
0.007302144050598145, | |
0.007726079940795898, | |
0.007032832145690918, | |
0.006980607986450196, | |
0.006916096210479736, | |
0.00693555212020874, | |
0.007068672180175781, | |
0.006867968082427979, | |
0.006965248107910156, | |
0.006896607875823975, | |
0.006936575889587402, | |
0.006875135898590088, | |
0.006976511955261231, | |
0.006930431842803955, | |
0.007109600067138672, | |
0.0069008002281188965, | |
0.007085055828094483, | |
0.006910975933074951, | |
0.006963168144226074, | |
0.00693452787399292, | |
0.007001120090484619, | |
0.006900735855102539, | |
0.00687718391418457, | |
0.006988800048828125, | |
0.006969344139099121, | |
0.00688640022277832, | |
0.00687820816040039, | |
0.006938623905181885, | |
0.007120895862579346, | |
0.006809567928314209, | |
0.006975488185882568, | |
0.007371744155883789, | |
0.007058432102203369, | |
0.006887423992156983, | |
0.006959104061126709, | |
0.006937535762786865, | |
0.0069027838706970214, | |
0.006876224040985107, | |
0.006887423992156983, | |
0.006876160144805908, | |
0.006979584217071533, | |
0.006904831886291504, | |
0.006969344139099121, | |
0.0068853759765625, | |
0.00693555212020874, | |
0.006915071964263916, | |
0.006875135898590088 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.51328111537293 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.582802866097929e-08, | |
"ram": 4.6794968897699804e-08, | |
"gpu": 1.6087742686330673e-07, | |
"total": 2.9350042442198586e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3407150.098571002 | |
} | |
} | |
} | |
} |