
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
75c3583
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.1", | |
"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": 906.993664, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 1.0005844469070433, | |
"mean": 0.007357238580198848, | |
"stdev": 0.0002427198433869874, | |
"p50": 0.007365632057189942, | |
"p90": 0.007583744049072265, | |
"p95": 0.007923455953598023, | |
"p99": 0.008180039644241334, | |
"values": [ | |
0.00823094367980957, | |
0.007914495944976807, | |
0.008085503578186035, | |
0.008030240058898925, | |
0.007958528041839599, | |
0.00796569585800171, | |
0.007860159873962403, | |
0.008266752243041992, | |
0.007274496078491211, | |
0.007044095993041993, | |
0.007064576148986816, | |
0.007068672180175781, | |
0.007039999961853028, | |
0.007037951946258545, | |
0.007041024208068848, | |
0.007063551902770996, | |
0.007036928176879883, | |
0.007046144008636474, | |
0.007027711868286133, | |
0.007037951946258545, | |
0.0070256638526916505, | |
0.007035903930664063, | |
0.007012351989746094, | |
0.007038976192474365, | |
0.007081984043121338, | |
0.00704204797744751, | |
0.007023615837097168, | |
0.007044159889221192, | |
0.007048192024230957, | |
0.007039999961853028, | |
0.00704307222366333, | |
0.007051263809204102, | |
0.00707583999633789, | |
0.007066624164581299, | |
0.0070266880989074704, | |
0.007007232189178467, | |
0.007049215793609619, | |
0.007058464050292969, | |
0.0070522880554199216, | |
0.007010303974151612, | |
0.007035903930664063, | |
0.007393311977386474, | |
0.007392255783081054, | |
0.007363584041595459, | |
0.007366655826568603, | |
0.007373824119567871, | |
0.0074106879234313965, | |
0.0074414081573486324, | |
0.007414783954620361, | |
0.00734822416305542, | |
0.007365632057189942, | |
0.007363584041595459, | |
0.007325695991516113, | |
0.007361536026000977, | |
0.007379007816314697, | |
0.007357439994812012, | |
0.007357439994812012, | |
0.007365632057189942, | |
0.007356416225433349, | |
0.007363584041595459, | |
0.007361536026000977, | |
0.00738099193572998, | |
0.007372799873352051, | |
0.007377920150756836, | |
0.007365632057189942, | |
0.007345183849334717, | |
0.007950335979461669, | |
0.007396351814270019, | |
0.007371776103973389, | |
0.007371776103973389, | |
0.007368703842163086, | |
0.007393280029296875, | |
0.007370751857757568, | |
0.0073339838981628415, | |
0.0074035201072692874, | |
0.007374847888946533, | |
0.007362559795379638, | |
0.007359488010406494, | |
0.007359488010406494, | |
0.007321599960327148, | |
0.00739737606048584, | |
0.007364607810974121, | |
0.007374847888946533, | |
0.00739737606048584, | |
0.007356416225433349, | |
0.007358431816101074, | |
0.00733900785446167, | |
0.007354368209838867, | |
0.007395328044891358, | |
0.007361536026000977, | |
0.007321599960327148, | |
0.007641088008880615, | |
0.007436287879943848, | |
0.007357439994812012, | |
0.007373824119567871, | |
0.007392255783081054, | |
0.0074997758865356446, | |
0.007569407939910889, | |
0.0074670081138610836, | |
0.007647232055664062, | |
0.007361536026000977, | |
0.007360511779785156, | |
0.007458816051483155, | |
0.00760319995880127, | |
0.0073994240760803225, | |
0.007489503860473633, | |
0.007473152160644531, | |
0.007620607852935791, | |
0.007437312126159668, | |
0.007388160228729248, | |
0.007512063980102539, | |
0.007456768035888672, | |
0.007379968166351319, | |
0.0075980801582336424, | |
0.007422976016998291, | |
0.007363584041595459, | |
0.007349247932434082, | |
0.007458816051483155, | |
0.007464960098266602, | |
0.007465983867645264, | |
0.007394303798675537, | |
0.007362559795379638, | |
0.0074106879234313965, | |
0.007383039951324463, | |
0.007442431926727295, | |
0.007415808200836181, | |
0.007417856216430664, | |
0.007377920150756836, | |
0.007345151901245117, | |
0.007352320194244385, | |
0.007353343963623047, | |
0.007372799873352051, | |
0.007390207767486572, | |
0.007352320194244385, | |
0.007374847888946533, | |
0.007360511779785156 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.92056164814116 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.641048625341202e-08, | |
"ram": 4.7236054900293927e-08, | |
"gpu": 1.6915869169343276e-07, | |
"total": 3.0280523284713873e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3302452.8360935464 | |
} | |
} | |
} | |
} |