
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b338378
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": "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.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": 902.397952, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 153, | |
"total": 0.9966548457145689, | |
"mean": 0.006514083958918752, | |
"stdev": 0.00024077778745556426, | |
"p50": 0.006556672096252441, | |
"p90": 0.006827263927459717, | |
"p95": 0.006968716716766358, | |
"p99": 0.007099187259674072, | |
"values": [ | |
0.007311359882354736, | |
0.007010303974151612, | |
0.007067647933959961, | |
0.007117824077606201, | |
0.006751232147216797, | |
0.00684438419342041, | |
0.006990816116333008, | |
0.007073791980743408, | |
0.007013376235961914, | |
0.006951935768127441, | |
0.007081984043121338, | |
0.006859776020050049, | |
0.0065443840026855465, | |
0.006601727962493896, | |
0.006643712043762207, | |
0.006642687797546387, | |
0.006667263984680176, | |
0.006673408031463623, | |
0.006592512130737305, | |
0.0066304001808166506, | |
0.006680575847625733, | |
0.006622208118438721, | |
0.006667232036590576, | |
0.006672383785247803, | |
0.006601727962493896, | |
0.006642687797546387, | |
0.0066416640281677245, | |
0.006589439868927002, | |
0.006585343837738037, | |
0.00653107213973999, | |
0.006545407772064209, | |
0.006590464115142822, | |
0.00657916784286499, | |
0.0066119680404663084, | |
0.006669312000274658, | |
0.006725599765777588, | |
0.0067010560035705566, | |
0.00672870397567749, | |
0.006665215969085693, | |
0.006591487884521485, | |
0.006626304149627686, | |
0.006658048152923584, | |
0.006617087841033936, | |
0.006642687797546387, | |
0.00662937593460083, | |
0.006556672096252441, | |
0.006604767799377441, | |
0.006645760059356689, | |
0.006660096168518067, | |
0.006617087841033936, | |
0.006617087841033936, | |
0.00657919979095459, | |
0.006634560108184815, | |
0.006605823993682861, | |
0.006577087879180908, | |
0.006677504062652588, | |
0.006726655960083008, | |
0.006642687797546387, | |
0.006670335769653321, | |
0.006648831844329834, | |
0.006840288162231445, | |
0.006840320110321045, | |
0.006953983783721924, | |
0.00682809591293335, | |
0.006740992069244385, | |
0.006726655960083008, | |
0.006657055854797363, | |
0.006685696125030518, | |
0.00659660816192627, | |
0.006445055961608887, | |
0.0062904319763183595, | |
0.006307839870452881, | |
0.006406144142150879, | |
0.00637440013885498, | |
0.006619135856628418, | |
0.006634463787078857, | |
0.00674508810043335, | |
0.006823935985565186, | |
0.006841279983520508, | |
0.0066447358131408694, | |
0.006569983959197998, | |
0.006497280120849609, | |
0.006681600093841553, | |
0.006618112087249756, | |
0.0065177597999572755, | |
0.006559743881225586, | |
0.00658841609954834, | |
0.006516736030578613, | |
0.006502399921417237, | |
0.006501376152038574, | |
0.006452223777770996, | |
0.006503424167633057, | |
0.006437888145446777, | |
0.006463456153869629, | |
0.006455296039581298, | |
0.0064174079895019534, | |
0.006465536117553711, | |
0.006465536117553711, | |
0.006450175762176514, | |
0.0064767999649047855, | |
0.006337535858154297, | |
0.0062576642036437985, | |
0.006235136032104492, | |
0.006235136032104492, | |
0.006227968215942382, | |
0.0061972479820251464, | |
0.006252543926239014, | |
0.006223872184753418, | |
0.006244351863861084, | |
0.0061931519508361815, | |
0.006220799922943115, | |
0.0062228479385375976, | |
0.006247424125671387, | |
0.006239232063293457, | |
0.006213632106781006, | |
0.0062576642036437985, | |
0.006220799922943115, | |
0.006270976066589356, | |
0.006239232063293457, | |
0.0062269439697265625, | |
0.006231040000915527, | |
0.006188032150268555, | |
0.006260735988616943, | |
0.006235136032104492, | |
0.006284287929534912, | |
0.006238207817077636, | |
0.006262784004211426, | |
0.006252543926239014, | |
0.006258687973022461, | |
0.006258687973022461, | |
0.006228991985321045, | |
0.006244351863861084, | |
0.0062341117858886715, | |
0.006255616188049316, | |
0.006260735988616943, | |
0.006309887886047363, | |
0.0062904319763183595, | |
0.006218751907348633, | |
0.006264832019805908, | |
0.0062228479385375976, | |
0.006266880035400391, | |
0.006240255832672119, | |
0.006262784004211426, | |
0.006309887886047363, | |
0.00621670389175415, | |
0.006280191898345947, | |
0.006220799922943115, | |
0.006355967998504639, | |
0.006246399879455566, | |
0.006212607860565185, | |
0.006298624038696289, | |
0.006213632106781006, | |
0.006270976066589356 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 153.51352643081165 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.58983470775463e-08, | |
"ram": 4.1496036145021425e-08, | |
"gpu": 1.3474903942307657e-07, | |
"total": 2.521434226456443e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3965996.7708353573 | |
} | |
} | |
} | |
} |