
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9e98a61
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": {}, | |
"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", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 904.11008, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 154, | |
"total": 0.996172705650329, | |
"mean": 0.006468653932794347, | |
"stdev": 0.00022774414866460335, | |
"p50": 0.006426624059677123, | |
"p90": 0.0066280448913574215, | |
"p95": 0.007076892757415771, | |
"p99": 0.007399618582725525, | |
"values": [ | |
0.007549952030181885, | |
0.007219232082366943, | |
0.007144447803497315, | |
0.007098368167877197, | |
0.007093247890472412, | |
0.006987775802612305, | |
0.007078847885131836, | |
0.00707583999633789, | |
0.007571455955505371, | |
0.006627327919006347, | |
0.006247424125671387, | |
0.0062679038047790524, | |
0.00623308801651001, | |
0.006246399879455566, | |
0.006254591941833496, | |
0.0062863359451293946, | |
0.00638976001739502, | |
0.00628223991394043, | |
0.006266880035400391, | |
0.0062341117858886715, | |
0.006280191898345947, | |
0.006346752166748047, | |
0.0062259202003479, | |
0.006273024082183838, | |
0.0062341117858886715, | |
0.006285312175750732, | |
0.00623308801651001, | |
0.006251584053039551, | |
0.006259712219238281, | |
0.0062197761535644535, | |
0.00623308801651001, | |
0.006188032150268555, | |
0.006250463962554932, | |
0.006173696041107178, | |
0.006240255832672119, | |
0.006238207817077636, | |
0.006221824169158936, | |
0.0062341117858886715, | |
0.006344704151153564, | |
0.00653926420211792, | |
0.0065413122177124024, | |
0.006557695865631104, | |
0.006582272052764892, | |
0.006512639999389648, | |
0.006549503803253174, | |
0.006561791896820069, | |
0.0064767999649047855, | |
0.0066304001808166506, | |
0.006879231929779053, | |
0.006819839954376221, | |
0.0066979842185974124, | |
0.0065781760215759275, | |
0.006534143924713135, | |
0.00662937593460083, | |
0.006520832061767578, | |
0.006432767868041992, | |
0.006510591983795166, | |
0.0064819521903991695, | |
0.006427648067474365, | |
0.006487040042877197, | |
0.006419456005096436, | |
0.006464511871337891, | |
0.006469632148742676, | |
0.007266304016113281, | |
0.006569983959197998, | |
0.006535168170928955, | |
0.006445055961608887, | |
0.006628352165222168, | |
0.006505472183227539, | |
0.006409215927124024, | |
0.006493184089660644, | |
0.0064880638122558594, | |
0.006404096126556396, | |
0.006458367824554443, | |
0.006411263942718506, | |
0.0064880638122558594, | |
0.006511616230010986, | |
0.006429696083068847, | |
0.006469632148742676, | |
0.006458367824554443, | |
0.00642252779006958, | |
0.006445055961608887, | |
0.006416384220123291, | |
0.006455296039581298, | |
0.006446080207824707, | |
0.00638976001739502, | |
0.0064174079895019534, | |
0.006387712001800537, | |
0.0064430079460144046, | |
0.006436863899230957, | |
0.006391808032989502, | |
0.006437888145446777, | |
0.006433792114257812, | |
0.006415359973907471, | |
0.006457344055175781, | |
0.0063836159706115725, | |
0.006445055961608887, | |
0.006400000095367431, | |
0.006395904064178467, | |
0.006419456005096436, | |
0.006387712001800537, | |
0.006425568103790283, | |
0.00643993616104126, | |
0.006394879817962646, | |
0.006437888145446777, | |
0.006359039783477783, | |
0.006412288188934326, | |
0.00642252779006958, | |
0.006403071880340576, | |
0.006475776195526123, | |
0.006427648067474365, | |
0.0064174079895019534, | |
0.006441984176635742, | |
0.0064102401733398436, | |
0.006425600051879882, | |
0.006453248023986816, | |
0.006398975849151611, | |
0.006436863899230957, | |
0.006376448154449463, | |
0.006436863899230957, | |
0.006419456005096436, | |
0.006372352123260498, | |
0.006445055961608887, | |
0.006388735771179199, | |
0.0064245758056640625, | |
0.006416384220123291, | |
0.006415296077728272, | |
0.00643071985244751, | |
0.006428671836853027, | |
0.006416384220123291, | |
0.006423552036285401, | |
0.006387712001800537, | |
0.006455264091491699, | |
0.0064778242111206055, | |
0.00643071985244751, | |
0.006441952228546143, | |
0.00643071985244751, | |
0.006436863899230957, | |
0.00643993616104126, | |
0.00638156795501709, | |
0.006423552036285401, | |
0.006363135814666748, | |
0.006408192157745361, | |
0.006421504020690918, | |
0.006384640216827392, | |
0.006427648067474365, | |
0.006408192157745361, | |
0.006396927833557129, | |
0.00640719985961914, | |
0.006355967998504639, | |
0.006457344055175781, | |
0.006425600051879882, | |
0.0063805441856384275, | |
0.006458367824554443 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 154.59166781674116 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.652086596335135e-08, | |
"ram": 4.183543261087431e-08, | |
"gpu": 1.4613990185805898e-07, | |
"total": 2.6449620043228464e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3780772.6476434446 | |
} | |
} | |
} | |
} |