
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bac2aa9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"model": "FacebookAI/roberta-base", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 903.909376, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 146, | |
"total": 0.995929184436798, | |
"mean": 0.0068214327701150565, | |
"stdev": 0.00022720906847445988, | |
"p50": 0.006897119998931885, | |
"p90": 0.0070835199356079105, | |
"p95": 0.007134207963943481, | |
"p99": 0.00721085433959961, | |
"values": [ | |
0.0074670081138610836, | |
0.007065599918365479, | |
0.007105535984039306, | |
0.007122943878173828, | |
0.007180287837982178, | |
0.007150591850280762, | |
0.00715993595123291, | |
0.007031680107116699, | |
0.006966271877288818, | |
0.007023615837097168, | |
0.006968319892883301, | |
0.00704307222366333, | |
0.007129087924957276, | |
0.007206912040710449, | |
0.006970367908477783, | |
0.006933504104614257, | |
0.00689247989654541, | |
0.006862847805023193, | |
0.007035903930664063, | |
0.007013376235961914, | |
0.007023615837097168, | |
0.006966271877288818, | |
0.006938623905181885, | |
0.00698367977142334, | |
0.0069847040176391605, | |
0.006973472118377686, | |
0.007015423774719238, | |
0.007020544052124023, | |
0.007131135940551757, | |
0.007062496185302735, | |
0.006930463790893555, | |
0.006966271877288818, | |
0.0069847040176391605, | |
0.006957056045532227, | |
0.006977503776550293, | |
0.006856704235076904, | |
0.006816768169403077, | |
0.006865920066833496, | |
0.006875135898590088, | |
0.006973440170288086, | |
0.007023615837097168, | |
0.006914048194885254, | |
0.006903808116912841, | |
0.006938623905181885, | |
0.007135231971740722, | |
0.007114751815795899, | |
0.007011519908905029, | |
0.00704204797744751, | |
0.006924352169036865, | |
0.00694271993637085, | |
0.006940671920776367, | |
0.007030784130096435, | |
0.007020544052124023, | |
0.00690176010131836, | |
0.006970367908477783, | |
0.007007232189178467, | |
0.006930431842803955, | |
0.006952095985412598, | |
0.00687820816040039, | |
0.007053311824798584, | |
0.007046144008636474, | |
0.006904831886291504, | |
0.006903808116912841, | |
0.007147520065307617, | |
0.006952960014343262, | |
0.006841343879699707, | |
0.006907904148101806, | |
0.0069621758460998535, | |
0.006904831886291504, | |
0.00687820816040039, | |
0.007019519805908203, | |
0.007076863765716553, | |
0.007009280204772949, | |
0.006985727787017822, | |
0.007006207942962647, | |
0.006952960014343262, | |
0.007003136157989502, | |
0.006821887969970703, | |
0.007214079856872559, | |
0.006957248210906982, | |
0.006887423992156983, | |
0.006689792156219483, | |
0.006675456047058105, | |
0.0067942080497741695, | |
0.006696959972381592, | |
0.006681600093841553, | |
0.00652288007736206, | |
0.006533120155334473, | |
0.00662937593460083, | |
0.006759488105773926, | |
0.006702079772949219, | |
0.006821887969970703, | |
0.006779967784881592, | |
0.007104512214660645, | |
0.006915200233459473, | |
0.007090176105499267, | |
0.0068280320167541505, | |
0.006656032085418701, | |
0.006730751991271973, | |
0.006598656177520752, | |
0.006569983959197998, | |
0.00659660816192627, | |
0.006606847763061524, | |
0.006504447937011719, | |
0.0065075201988220215, | |
0.0065382399559021, | |
0.006583295822143555, | |
0.006680575847625733, | |
0.0065812478065490725, | |
0.006515711784362793, | |
0.006562816143035889, | |
0.006520832061767578, | |
0.0066007041931152345, | |
0.006680575847625733, | |
0.006556672096252441, | |
0.006509568214416504, | |
0.0065064959526062015, | |
0.006536223888397217, | |
0.0065177597999572755, | |
0.0065177597999572755, | |
0.006508543968200684, | |
0.006560768127441406, | |
0.006552576065063476, | |
0.006441984176635742, | |
0.006413375854492188, | |
0.006497280120849609, | |
0.006505472183227539, | |
0.00657919979095459, | |
0.006543360233306885, | |
0.006520832061767578, | |
0.00669593620300293, | |
0.006491136074066162, | |
0.006657023906707763, | |
0.00652288007736206, | |
0.006509568214416504, | |
0.006594560146331787, | |
0.006552576065063476, | |
0.006516736030578613, | |
0.006562880039215088, | |
0.006501376152038574, | |
0.006490111827850342, | |
0.006524928092956543, | |
0.006520832061767578, | |
0.006524064064025879, | |
0.0065710082054138185, | |
0.006512639999389648 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 146.5967684063436 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.738022156703619e-08, | |
"ram": 4.230168068198848e-08, | |
"gpu": 1.354921200130726e-07, | |
"total": 2.551740222620973e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3918894.2163276654 | |
} | |
} | |
} | |
} |