
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
01ca45d
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.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": 719.556608, | |
"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.15867626953125, | |
"mean": 7.15867626953125, | |
"stdev": 0.0, | |
"p50": 7.15867626953125, | |
"p90": 7.15867626953125, | |
"p95": 7.15867626953125, | |
"p99": 7.15867626953125, | |
"values": [ | |
7.15867626953125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.61914787027571e-07, | |
"ram": 4.565236329419046e-07, | |
"gpu": 1.7458347299995763e-06, | |
"total": 3.0642731499690522e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 919.371776, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 0.9975013446807862, | |
"mean": 0.007024657356906944, | |
"stdev": 0.00015365622163475065, | |
"p50": 0.007010303974151612, | |
"p90": 0.007180550527572632, | |
"p95": 0.007333171248435974, | |
"p99": 0.007468878049850464, | |
"values": [ | |
0.00744652795791626, | |
0.0074629120826721195, | |
0.007425024032592774, | |
0.007349247932434082, | |
0.007333888053894043, | |
0.007364607810974121, | |
0.007319551944732666, | |
0.007902207851409913, | |
0.00703385591506958, | |
0.006960127830505371, | |
0.00682700777053833, | |
0.006871039867401123, | |
0.006810624122619629, | |
0.006782976150512696, | |
0.006809599876403808, | |
0.006845439910888672, | |
0.006718463897705078, | |
0.006796288013458252, | |
0.006830080032348633, | |
0.006749184131622315, | |
0.006729728221893311, | |
0.006761472225189209, | |
0.006782976150512696, | |
0.006772736072540283, | |
0.006974463939666748, | |
0.007256095886230469, | |
0.00709222412109375, | |
0.0070553598403930665, | |
0.0070891518592834475, | |
0.007124032020568848, | |
0.007072832107543945, | |
0.00704307222366333, | |
0.007101439952850342, | |
0.007098368167877197, | |
0.00709939193725586, | |
0.007066624164581299, | |
0.007102464199066162, | |
0.006990848064422607, | |
0.007060480117797851, | |
0.007181280136108399, | |
0.007010303974151612, | |
0.006987775802612305, | |
0.0069959678649902345, | |
0.007053311824798584, | |
0.007035039901733399, | |
0.006978559970855713, | |
0.007017471790313721, | |
0.006986783981323242, | |
0.0070256638526916505, | |
0.007008255958557129, | |
0.0070266880989074704, | |
0.007067647933959961, | |
0.007010303974151612, | |
0.007173984050750732, | |
0.007021567821502686, | |
0.006986752033233643, | |
0.007054336071014404, | |
0.0070225920677185055, | |
0.007044095993041993, | |
0.006968319892883301, | |
0.00698476791381836, | |
0.007006207942962647, | |
0.007003136157989502, | |
0.00703385591506958, | |
0.007473023891448974, | |
0.0072210879325866695, | |
0.006989823818206787, | |
0.007088128089904785, | |
0.006959072113037109, | |
0.007016448020935059, | |
0.007205887794494629, | |
0.0069928960800170895, | |
0.007018496036529541, | |
0.007057407855987549, | |
0.007068672180175781, | |
0.007039040088653564, | |
0.006956031799316406, | |
0.006933504104614257, | |
0.006945856094360351, | |
0.006931456089019775, | |
0.006922239780426025, | |
0.006924287796020508, | |
0.006929408073425293, | |
0.00694374418258667, | |
0.006840320110321045, | |
0.006910975933074951, | |
0.007099423885345459, | |
0.006960127830505371, | |
0.0069816322326660156, | |
0.007063551902770996, | |
0.006958079814910889, | |
0.006993919849395752, | |
0.007015423774719238, | |
0.0072468481063842774, | |
0.007146495819091797, | |
0.007018335819244385, | |
0.007058432102203369, | |
0.007067647933959961, | |
0.007079936027526855, | |
0.006986752033233643, | |
0.007035903930664063, | |
0.007060480117797851, | |
0.00704307222366333, | |
0.007121920108795166, | |
0.006921311855316162, | |
0.006933504104614257, | |
0.006974592208862305, | |
0.006949888229370117, | |
0.00688640022277832, | |
0.0068853759765625, | |
0.006859776020050049, | |
0.006871039867401123, | |
0.006931456089019775, | |
0.006971392154693603, | |
0.007044032096862793, | |
0.007019519805908203, | |
0.007004159927368164, | |
0.007193600177764893, | |
0.007019519805908203, | |
0.007036928176879883, | |
0.006996992111206054, | |
0.007010303974151612, | |
0.006945792198181152, | |
0.006994976043701172, | |
0.006966368198394775, | |
0.00704204797744751, | |
0.0070256638526916505, | |
0.007010303974151612, | |
0.006995872020721435, | |
0.006988800048828125, | |
0.007070720195770264, | |
0.007010240077972412, | |
0.006974463939666748, | |
0.0070594558715820314, | |
0.007014400005340577, | |
0.00704527997970581, | |
0.006975488185882568, | |
0.0070360321998596195, | |
0.006962143898010254, | |
0.006961152076721191, | |
0.007045152187347412, | |
0.006964320182800293 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.3556978215823 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.409317080856216e-08, | |
"ram": 4.5976865404588565e-08, | |
"gpu": 1.6416088782977314e-07, | |
"total": 2.9423092404292384e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3398691.0222057933 | |
} | |
} | |
} | |
} |