
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
63d0e1e
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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": 720.56832, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.17087548828125, | |
"mean": 7.17087548828125, | |
"stdev": 0.0, | |
"p50": 7.17087548828125, | |
"p90": 7.17087548828125, | |
"p95": 7.17087548828125, | |
"p99": 7.17087548828125, | |
"values": [ | |
7.17087548828125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0894944270451864e-06, | |
"ram": 5.707162485701171e-07, | |
"gpu": 1.59055682800004e-06, | |
"total": 3.2507675036153434e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 913.28512, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 154, | |
"total": 0.9974406056404116, | |
"mean": 0.00647688704961306, | |
"stdev": 0.00024104252737697877, | |
"p50": 0.00640665602684021, | |
"p90": 0.006884864139556884, | |
"p95": 0.0069496831893920905, | |
"p99": 0.007074641809463501, | |
"values": [ | |
0.0069550080299377445, | |
0.007031807899475098, | |
0.006944767951965332, | |
0.0070225920677185055, | |
0.0076943359375, | |
0.007001088142395019, | |
0.0069079680442810055, | |
0.006889472007751465, | |
0.006881279945373535, | |
0.006872064113616944, | |
0.006881279945373535, | |
0.006896639823913574, | |
0.00688640022277832, | |
0.006773759841918945, | |
0.006845439910888672, | |
0.006916096210479736, | |
0.006801407814025879, | |
0.006946815967559815, | |
0.006980671882629395, | |
0.00687718391418457, | |
0.006931456089019775, | |
0.006815743923187256, | |
0.0067870721817016606, | |
0.007122943878173828, | |
0.00652185583114624, | |
0.006452223777770996, | |
0.0064050559997558595, | |
0.006405119895935059, | |
0.006426623821258545, | |
0.00643993616104126, | |
0.006463488101959228, | |
0.006393856048583985, | |
0.0062873601913452145, | |
0.006194240093231202, | |
0.006403071880340576, | |
0.00657919979095459, | |
0.006387712001800537, | |
0.006400000095367431, | |
0.006403071880340576, | |
0.006375423908233643, | |
0.006415359973907471, | |
0.006378496170043945, | |
0.00642252779006958, | |
0.006376448154449463, | |
0.006387712001800537, | |
0.006392831802368164, | |
0.006411231994628906, | |
0.00638976001739502, | |
0.00636518383026123, | |
0.006404096126556396, | |
0.00638259220123291, | |
0.006421504020690918, | |
0.006403071880340576, | |
0.006381631851196289, | |
0.0064102401733398436, | |
0.006396927833557129, | |
0.006406144142150879, | |
0.006408192157745361, | |
0.006426623821258545, | |
0.006419456005096436, | |
0.0064143362045288085, | |
0.0063836159706115725, | |
0.006398975849151611, | |
0.006407167911529541, | |
0.00638259220123291, | |
0.006451200008392334, | |
0.006378496170043945, | |
0.006391808032989502, | |
0.006392831802368164, | |
0.006154240131378174, | |
0.0060999679565429685, | |
0.006079487800598145, | |
0.006079487800598145, | |
0.0061337599754333495, | |
0.00608358383178711, | |
0.006086656093597412, | |
0.00608460807800293, | |
0.0060631041526794435, | |
0.006090752124786377, | |
0.006067200183868408, | |
0.006110208034515381, | |
0.006490111827850342, | |
0.00642252779006958, | |
0.006409215927124024, | |
0.006392831802368164, | |
0.006403071880340576, | |
0.00638259220123291, | |
0.0063805441856384275, | |
0.006445055961608887, | |
0.0064143362045288085, | |
0.006406144142150879, | |
0.006409215927124024, | |
0.0064000639915466305, | |
0.006377471923828125, | |
0.00638976001739502, | |
0.0064204797744750975, | |
0.006396927833557129, | |
0.006400000095367431, | |
0.006384640216827392, | |
0.006409215927124024, | |
0.0067183680534362794, | |
0.006449151992797852, | |
0.006408192157745361, | |
0.006403071880340576, | |
0.006406144142150879, | |
0.006406144142150879, | |
0.006416384220123291, | |
0.006372352123260498, | |
0.0064542717933654785, | |
0.006440959930419922, | |
0.006450175762176514, | |
0.006392831802368164, | |
0.006386688232421875, | |
0.006409215927124024, | |
0.006391808032989502, | |
0.0064245758056640625, | |
0.006469632148742676, | |
0.006389823913574219, | |
0.006408192157745361, | |
0.006466559886932373, | |
0.006397952079772949, | |
0.006385663986206055, | |
0.0070256638526916505, | |
0.006426623821258545, | |
0.006449151992797852, | |
0.006460415840148926, | |
0.0064102401733398436, | |
0.006450175762176514, | |
0.006766592025756836, | |
0.006403071880340576, | |
0.006360064029693604, | |
0.006345727920532227, | |
0.006388735771179199, | |
0.0066119680404663084, | |
0.006419456005096436, | |
0.006421504020690918, | |
0.00643891191482544, | |
0.006545407772064209, | |
0.006467584133148193, | |
0.006403071880340576, | |
0.006385663986206055, | |
0.006423583984375, | |
0.006374335765838623, | |
0.0063907837867736815, | |
0.006398975849151611, | |
0.006372352123260498, | |
0.006388671875, | |
0.006358016014099121, | |
0.0064143362045288085, | |
0.0064440321922302245, | |
0.006398975849151611, | |
0.006400000095367431, | |
0.006392831802368164, | |
0.006385663986206055 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 154.3951580967807 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.3975609201524e-08, | |
"ram": 4.044297699048905e-08, | |
"gpu": 1.312657300125004e-07, | |
"total": 2.4568431620451346e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4070263.8876124932 | |
} | |
} | |
} | |
} |