
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c367513
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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 788.922368, | |
"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.43946337890625, | |
"mean": 7.43946337890625, | |
"stdev": 0.0, | |
"p50": 7.43946337890625, | |
"p90": 7.43946337890625, | |
"p95": 7.43946337890625, | |
"p99": 7.43946337890625, | |
"values": [ | |
7.43946337890625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1067237527777409e-06, | |
"ram": 5.905076773714152e-07, | |
"gpu": 1.723056933999531e-06, | |
"total": 3.420288364148687e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1079.136256, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 1.0016156177520752, | |
"mean": 0.006589576432579443, | |
"stdev": 0.00024798172889596283, | |
"p50": 0.006565888166427612, | |
"p90": 0.006717747116088867, | |
"p95": 0.007166873598098754, | |
"p99": 0.007584931907653809, | |
"values": [ | |
0.007806975841522217, | |
0.007357503890991211, | |
0.0071905279159545895, | |
0.0072468481063842774, | |
0.007216127872467041, | |
0.007147520065307617, | |
0.007542784214019775, | |
0.0065402560234069824, | |
0.006429696083068847, | |
0.0065669121742248536, | |
0.006482944011688232, | |
0.006495232105255127, | |
0.006348800182342529, | |
0.006313983917236328, | |
0.0063569917678833006, | |
0.006286399841308594, | |
0.006325247764587402, | |
0.0063272957801818845, | |
0.006385663986206055, | |
0.006389823913574219, | |
0.006471680164337158, | |
0.006599679946899414, | |
0.0064767999649047855, | |
0.00643993616104126, | |
0.006496255874633789, | |
0.006465536117553711, | |
0.00653004789352417, | |
0.0066109437942504885, | |
0.006564864158630371, | |
0.006666240215301514, | |
0.006583295822143555, | |
0.006567967891693115, | |
0.006586368083953857, | |
0.006622208118438721, | |
0.006551551818847656, | |
0.006586368083953857, | |
0.006591487884521485, | |
0.006575071811676025, | |
0.006609920024871826, | |
0.0066078720092773435, | |
0.006604800224304199, | |
0.00659660816192627, | |
0.0066304001808166506, | |
0.006672383785247803, | |
0.006982656002044678, | |
0.006889472007751465, | |
0.006646783828735352, | |
0.0066007041931152345, | |
0.006601727962493896, | |
0.006575104236602783, | |
0.007225344181060791, | |
0.007628799915313721, | |
0.0070522880554199216, | |
0.007130112171173096, | |
0.006618112087249756, | |
0.006635519981384277, | |
0.006631423950195312, | |
0.006598656177520752, | |
0.006651904106140137, | |
0.006646783828735352, | |
0.006602752208709717, | |
0.006661119937896728, | |
0.006673408031463623, | |
0.006472703933715821, | |
0.006508543968200684, | |
0.00633241605758667, | |
0.006270976066589356, | |
0.006377471923828125, | |
0.006253568172454834, | |
0.0062873601913452145, | |
0.006237184047698975, | |
0.006392831802368164, | |
0.006245376110076905, | |
0.006227968215942382, | |
0.006266880035400391, | |
0.006220799922943115, | |
0.006284287929534912, | |
0.0062638077735900875, | |
0.0063170561790466305, | |
0.0063272957801818845, | |
0.006308864116668702, | |
0.006436863899230957, | |
0.006526976108551025, | |
0.006585343837738037, | |
0.006559743881225586, | |
0.006504447937011719, | |
0.0065781760215759275, | |
0.006561791896820069, | |
0.006543360233306885, | |
0.006559743881225586, | |
0.0065669121742248536, | |
0.006533120155334473, | |
0.006590464115142822, | |
0.006617087841033936, | |
0.0065484800338745115, | |
0.006562816143035889, | |
0.006515711784362793, | |
0.006542335987091064, | |
0.006574079990386963, | |
0.006546432018280029, | |
0.006564864158630371, | |
0.006592512130737305, | |
0.006318079948425293, | |
0.006348800182342529, | |
0.006496255874633789, | |
0.00637440013885498, | |
0.006646783828735352, | |
0.006619135856628418, | |
0.006675456047058105, | |
0.00667852783203125, | |
0.0066344962120056155, | |
0.006692863941192627, | |
0.00672051191329956, | |
0.006690815925598144, | |
0.006647808074951172, | |
0.006681600093841553, | |
0.006729728221893311, | |
0.006639616012573242, | |
0.006722559928894043, | |
0.0066119680404663084, | |
0.006532095909118653, | |
0.006555647850036621, | |
0.006500351905822754, | |
0.006543360233306885, | |
0.0065372161865234375, | |
0.006511616230010986, | |
0.0065372161865234375, | |
0.006532095909118653, | |
0.006497280120849609, | |
0.006558720111846924, | |
0.006530079841613769, | |
0.006490111827850342, | |
0.0065669121742248536, | |
0.006535168170928955, | |
0.006550528049468994, | |
0.006561791896820069, | |
0.006524928092956543, | |
0.006569983959197998, | |
0.0065781760215759275, | |
0.006542335987091064, | |
0.006576128005981445, | |
0.006529024124145508, | |
0.006501376152038574, | |
0.006544415950775147, | |
0.0066007041931152345, | |
0.0066406397819519045, | |
0.006643712043762207, | |
0.006627327919006347, | |
0.006608895778656006, | |
0.006653952121734619, | |
0.006659071922302246, | |
0.006620192050933838 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 151.75482221526596 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.840039414550978e-08, | |
"ram": 4.286214559912444e-08, | |
"gpu": 1.4665574646357903e-07, | |
"total": 2.6791828620821325e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3732481.325380112 | |
} | |
} | |
} | |
} |