
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e9c43b5
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 907.943936, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.9963231668472291, | |
"mean": 0.0076640243603633, | |
"stdev": 0.00024408062101342746, | |
"p50": 0.007628799915313721, | |
"p90": 0.007946339130401612, | |
"p95": 0.007980800104141235, | |
"p99": 0.008262922115325928, | |
"values": [ | |
0.008264703750610352, | |
0.007606272220611572, | |
0.007771135807037354, | |
0.007685120105743408, | |
0.007676928043365478, | |
0.007616511821746826, | |
0.007599103927612305, | |
0.0075939841270446775, | |
0.007556096076965332, | |
0.00754585599899292, | |
0.007520256042480469, | |
0.007621632099151611, | |
0.007553023815155029, | |
0.0074967041015625, | |
0.0074967041015625, | |
0.007562240123748779, | |
0.00758681583404541, | |
0.007894015789031983, | |
0.007745535850524903, | |
0.007767039775848389, | |
0.007624703884124756, | |
0.007632895946502686, | |
0.007895040035247802, | |
0.008140800476074218, | |
0.007972864151000977, | |
0.007952383995056152, | |
0.007932928085327149, | |
0.007942143917083741, | |
0.007905280113220215, | |
0.00791756820678711, | |
0.007912447929382324, | |
0.00790937614440918, | |
0.007768064022064209, | |
0.007809023857116699, | |
0.00787660789489746, | |
0.008004575729370118, | |
0.007848959922790527, | |
0.007858176231384278, | |
0.007903232097625732, | |
0.007977983951568603, | |
0.007983104228973388, | |
0.007972864151000977, | |
0.007949312210083008, | |
0.00790015983581543, | |
0.007845888137817383, | |
0.007927807807922363, | |
0.007911424160003662, | |
0.007863296031951903, | |
0.007824384212493896, | |
0.007839744091033935, | |
0.0078089599609375, | |
0.008258560180664062, | |
0.007828479766845703, | |
0.007873536109924317, | |
0.00790937614440918, | |
0.0077916159629821775, | |
0.00778550386428833, | |
0.007849984169006348, | |
0.007862271785736084, | |
0.007833600044250488, | |
0.007881728172302246, | |
0.007864319801330566, | |
0.007947231769561768, | |
0.008014847755432129, | |
0.007946239948272706, | |
0.007937024116516114, | |
0.008454143524169922, | |
0.007904191970825196, | |
0.007817279815673829, | |
0.00786636781692505, | |
0.007814047813415527, | |
0.00779366397857666, | |
0.007725056171417236, | |
0.007772128105163575, | |
0.007788544178009033, | |
0.007554048061370849, | |
0.007414783954620361, | |
0.007445504188537597, | |
0.007491583824157715, | |
0.0076984319686889645, | |
0.00765235185623169, | |
0.007620607852935791, | |
0.007763967990875244, | |
0.007812096118927002, | |
0.007448575973510742, | |
0.007503903865814209, | |
0.007395328044891358, | |
0.007394303798675537, | |
0.0074301438331604, | |
0.007420959949493408, | |
0.007451648235321045, | |
0.007445504188537597, | |
0.0074301438331604, | |
0.007407616138458252, | |
0.007381984233856201, | |
0.0074065918922424315, | |
0.007388160228729248, | |
0.007416831970214844, | |
0.007400447845458984, | |
0.0074106879234313965, | |
0.00739737606048584, | |
0.007478335857391358, | |
0.0074670081138610836, | |
0.007423999786376953, | |
0.007394303798675537, | |
0.0074065918922424315, | |
0.007398399829864502, | |
0.007393280029296875, | |
0.007390207767486572, | |
0.00740556812286377, | |
0.007385087966918945, | |
0.0074065918922424315, | |
0.007420928001403809, | |
0.007428063869476319, | |
0.007415808200836181, | |
0.007392288208007813, | |
0.007392255783081054, | |
0.007421919822692871, | |
0.007400447845458984, | |
0.007392255783081054, | |
0.0074065918922424315, | |
0.0073820161819458, | |
0.007356416225433349, | |
0.007417856216430664, | |
0.0073820161819458, | |
0.007402495861053467, | |
0.007418879985809326, | |
0.007363584041595459, | |
0.007256063938140869, | |
0.00724889612197876 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.47975227894457 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.831378731707977e-08, | |
"ram": 4.827351346547301e-08, | |
"gpu": 1.6375527503703905e-07, | |
"total": 3.0034257581959186e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3329531.2769797733 | |
} | |
} | |
} | |
} |