
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
11cd947
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+cu124", | |
"_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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 822.603776, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.08793907165527344 | |
], | |
"count": 1, | |
"total": 0.08793907165527344, | |
"mean": 0.08793907165527344, | |
"p50": 0.08793907165527344, | |
"p90": 0.08793907165527344, | |
"p95": 0.08793907165527344, | |
"p99": 0.08793907165527344, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00010674903982847169, | |
"ram": 5.848805998821417e-05, | |
"gpu": 0.00014375761500599969, | |
"total": 0.00030899471482268557 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1090.940928, | |
"max_global_vram": 1205.338112, | |
"max_process_vram": 0.0, | |
"max_reserved": 557.842432, | |
"max_allocated": 509.729792 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006456352233886718, | |
0.006269951820373535, | |
0.006271999835968017, | |
0.0064061121940612795, | |
0.006277120113372803, | |
0.006261760234832763, | |
0.006251552104949951, | |
0.006328320026397705, | |
0.0064204797744750975, | |
0.006298624038696289, | |
0.0062740478515625, | |
0.006293568134307861, | |
0.00628326416015625, | |
0.006237247943878174, | |
0.006295551776885986, | |
0.006292479991912842, | |
0.006171648025512695, | |
0.006144991874694824, | |
0.006110208034515381, | |
0.0065413122177124024, | |
0.006269951820373535, | |
0.00637337589263916, | |
0.006342656135559082, | |
0.0062576642036437985, | |
0.006352896213531494, | |
0.006404096126556396, | |
0.00624128007888794, | |
0.006288447856903076, | |
0.0063170561790466305, | |
0.00647983980178833, | |
0.006306816101074219, | |
0.006301695823669433, | |
0.006360064029693604, | |
0.006359039783477783, | |
0.006273024082183838, | |
0.006201344013214111, | |
0.006247424125671387, | |
0.006319168090820312, | |
0.006337535858154297, | |
0.006248447895050049, | |
0.006266880035400391, | |
0.006276095867156982, | |
0.006227968215942382, | |
0.006206463813781738, | |
0.006230016231536865, | |
0.006171648025512695, | |
0.006247424125671387, | |
0.006302720069885254, | |
0.006240255832672119, | |
0.006171648025512695, | |
0.006121503829956055, | |
0.005949471950531006, | |
0.0059361281394958495, | |
0.005887040138244629, | |
0.005953536033630371, | |
0.00592793607711792, | |
0.0062638077735900875, | |
0.00619212818145752, | |
0.006251520156860352, | |
0.006228991985321045, | |
0.006223775863647461, | |
0.006277120113372803, | |
0.006210591793060303, | |
0.00643174409866333, | |
0.006618112087249756, | |
0.006436800003051758, | |
0.006503424167633057, | |
0.006333439826965332, | |
0.006318079948425293, | |
0.006279232025146485, | |
0.006252543926239014, | |
0.006313983917236328, | |
0.005953536033630371, | |
0.005868544101715088, | |
0.005956607818603516, | |
0.005981184005737304, | |
0.00588595199584961, | |
0.00586348819732666, | |
0.005831679821014404, | |
0.005735424041748047, | |
0.006120448112487793, | |
0.0062494721412658695, | |
0.006037471771240234, | |
0.005931007862091065, | |
0.005884928226470947, | |
0.005933055877685547, | |
0.005943295955657959, | |
0.005908480167388916, | |
0.006110208034515381, | |
0.007217152118682861, | |
0.00733900785446167, | |
0.007385087966918945, | |
0.0069550080299377445, | |
0.00631606388092041, | |
0.0060405759811401364, | |
0.005964799880981446, | |
0.0059955201148986816, | |
0.005945343971252442, | |
0.0059351038932800295, | |
0.005912576198577881, | |
0.005904384136199951, | |
0.005876736164093017, | |
0.005888000011444092, | |
0.005957632064819336, | |
0.005956607818603516, | |
0.005894144058227539, | |
0.00586137580871582, | |
0.005937151908874512, | |
0.0059023361206054685, | |
0.005881792068481446, | |
0.005836800098419189, | |
0.00586956787109375, | |
0.005874688148498535, | |
0.005901311874389649, | |
0.005866496086120605, | |
0.005889023780822754, | |
0.005888000011444092, | |
0.005900288105010986, | |
0.00587059211730957, | |
0.005944320201873779, | |
0.005890048027038574, | |
0.005910528182983398, | |
0.005901311874389649, | |
0.005897215843200684, | |
0.005848063945770264, | |
0.0058716158866882326, | |
0.005871551990509033, | |
0.005901311874389649, | |
0.005875679969787597, | |
0.005867519855499268, | |
0.005866496086120605, | |
0.0058757119178771975, | |
0.005868544101715088, | |
0.005865471839904785, | |
0.005890048027038574, | |
0.005884928226470947, | |
0.00587059211730957, | |
0.0058757119178771975, | |
0.005888000011444092, | |
0.005865471839904785, | |
0.005875743865966797, | |
0.005868544101715088, | |
0.005952544212341308, | |
0.005982207775115967, | |
0.005879807949066162, | |
0.005860352039337159, | |
0.005848063945770264, | |
0.0058726401329040525, | |
0.0058388481140136715, | |
0.005816319942474365, | |
0.00591974401473999, | |
0.0059770879745483394, | |
0.005849088191986084, | |
0.0058716158866882326, | |
0.005849088191986084, | |
0.0058757119178771975, | |
0.00582041597366333, | |
0.005909503936767578, | |
0.005972991943359375, | |
0.005944320201873779, | |
0.005846015930175781, | |
0.00586240005493164, | |
0.005843967914581299, | |
0.005984255790710449 | |
], | |
"count": 164, | |
"total": 1.0004298248291017, | |
"mean": 0.0061001818587140344, | |
"p50": 0.005975039958953857, | |
"p90": 0.006357196712493896, | |
"p95": 0.006453419399261474, | |
"p99": 0.0072622387409210214, | |
"stdev": 0.0002727460940512772, | |
"stdev_": 4.471114146567004 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 327.85907802781725 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.662386803994816e-08, | |
"ram": 3.640587758639625e-08, | |
"gpu": 1.4845985659550728e-07, | |
"total": 2.514896022218517e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 7952615.067702476 | |
} | |
} | |
} | |
} |