
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8f465ed
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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": 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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 788.250624, | |
"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.38669580078125, | |
"mean": 7.38669580078125, | |
"stdev": 0.0, | |
"p50": 7.38669580078125, | |
"p90": 7.38669580078125, | |
"p95": 7.38669580078125, | |
"p99": 7.38669580078125, | |
"values": [ | |
7.38669580078125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0653371229167874e-06, | |
"ram": 5.682545154969691e-07, | |
"gpu": 0.0, | |
"total": 1.6335916384137564e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1077.817344, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 0.9982933120727541, | |
"mean": 0.00723400950777358, | |
"stdev": 0.0003360868323200829, | |
"p50": 0.007385600090026855, | |
"p90": 0.007522201585769653, | |
"p95": 0.007646003007888794, | |
"p99": 0.008083763418197632, | |
"values": [ | |
0.007656447887420655, | |
0.00774451208114624, | |
0.007505919933319092, | |
0.007513088226318359, | |
0.00748748779296875, | |
0.007473152160644531, | |
0.007434239864349365, | |
0.007418848037719726, | |
0.007420928001403809, | |
0.007400447845458984, | |
0.00738918399810791, | |
0.0074106879234313965, | |
0.00733081579208374, | |
0.007359488010406494, | |
0.007428095817565918, | |
0.0073768959045410155, | |
0.007479296207427978, | |
0.007397312164306641, | |
0.00742195177078247, | |
0.0074505600929260256, | |
0.007346176147460938, | |
0.007479296207427978, | |
0.007488512039184571, | |
0.007448575973510742, | |
0.0073820161819458, | |
0.00740556812286377, | |
0.007455743789672851, | |
0.0074137282371521, | |
0.007419904232025146, | |
0.0074711041450500485, | |
0.007489535808563232, | |
0.00738918399810791, | |
0.007357439994812012, | |
0.007324672222137451, | |
0.007431168079376221, | |
0.007412735939025879, | |
0.007456799983978271, | |
0.007498752117156982, | |
0.007434239864349365, | |
0.007453695774078369, | |
0.007541759967803955, | |
0.00764415979385376, | |
0.00753868818283081, | |
0.007432191848754883, | |
0.007394303798675537, | |
0.007434239864349365, | |
0.00745472002029419, | |
0.007473152160644531, | |
0.00742195177078247, | |
0.007393280029296875, | |
0.007469056129455566, | |
0.007350304126739502, | |
0.0073768959045410155, | |
0.007416831970214844, | |
0.0073994240760803225, | |
0.007488512039184571, | |
0.007408639907836914, | |
0.007398399829864502, | |
0.007444416046142578, | |
0.007390207767486572, | |
0.0074403839111328125, | |
0.0075673599243164065, | |
0.007407616138458252, | |
0.007432191848754883, | |
0.007568384170532226, | |
0.007518208026885987, | |
0.00748748779296875, | |
0.007451648235321045, | |
0.007407616138458252, | |
0.007378943920135498, | |
0.0073523840904235836, | |
0.007311359882354736, | |
0.0074700798988342285, | |
0.007308256149291992, | |
0.0073134078979492185, | |
0.008240127563476562, | |
0.007606272220611572, | |
0.007531519889831543, | |
0.007417791843414306, | |
0.007081984043121338, | |
0.007085055828094483, | |
0.007131135940551757, | |
0.007290880203247071, | |
0.007250944137573242, | |
0.007187456130981445, | |
0.007236608028411865, | |
0.007360511779785156, | |
0.007803904056549072, | |
0.008077312469482421, | |
0.008087552070617676, | |
0.007773183822631836, | |
0.007001088142395019, | |
0.007029759883880615, | |
0.006913023948669434, | |
0.006961152076721191, | |
0.0069550080299377445, | |
0.006871039867401123, | |
0.006806528091430664, | |
0.006833151817321777, | |
0.006870016098022461, | |
0.006770688056945801, | |
0.006804480075836182, | |
0.006806528091430664, | |
0.006797344207763672, | |
0.0067686400413513184, | |
0.00682700777053833, | |
0.00679423999786377, | |
0.006774784088134766, | |
0.006799359798431396, | |
0.006807551860809326, | |
0.006750207901000976, | |
0.0069621758460998535, | |
0.006874144077301025, | |
0.0068618240356445315, | |
0.006799359798431396, | |
0.006822912216186523, | |
0.006796288013458252, | |
0.006793216228485107, | |
0.006799359798431396, | |
0.006804416179656983, | |
0.006732800006866455, | |
0.006706175804138184, | |
0.006738944053649902, | |
0.006743040084838867, | |
0.006723584175109864, | |
0.006800384044647217, | |
0.00679423999786377, | |
0.006761472225189209, | |
0.006749184131622315, | |
0.006791168212890625, | |
0.006770688056945801, | |
0.006738944053649902, | |
0.006802432060241699, | |
0.006781951904296875, | |
0.006757343769073486, | |
0.006772736072540283, | |
0.006792255878448486, | |
0.006773759841918945 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.2359255853081 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.038012939187802e-08, | |
"ram": 4.3946960118258224e-08, | |
"gpu": 1.4523284891892505e-07, | |
"total": 2.695599384290613e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3709750.0683068484 | |
} | |
} | |
} | |
} |