
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9a92f10
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.1", | |
"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.750208, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 0.9952937278747557, | |
"mean": 0.006547985051807604, | |
"stdev": 0.00014248973600482128, | |
"p50": 0.006537728071212769, | |
"p90": 0.006685593509674072, | |
"p95": 0.0067811326980590815, | |
"p99": 0.00707641345024109, | |
"values": [ | |
0.007204800128936767, | |
0.006715392112731934, | |
0.0067010560035705566, | |
0.006675456047058105, | |
0.00679423999786377, | |
0.0066344962120056155, | |
0.006668288230895996, | |
0.006647808074951172, | |
0.006585343837738037, | |
0.0065812478065490725, | |
0.006650879859924317, | |
0.006510591983795166, | |
0.00642252779006958, | |
0.006429696083068847, | |
0.006434815883636475, | |
0.006542335987091064, | |
0.006592512130737305, | |
0.006553599834442139, | |
0.006574079990386963, | |
0.006518784046173095, | |
0.006525951862335205, | |
0.006612991809844971, | |
0.006557695865631104, | |
0.006519807815551758, | |
0.0065413122177124024, | |
0.006505472183227539, | |
0.006502399921417237, | |
0.0065392317771911625, | |
0.006494207859039307, | |
0.006790143966674805, | |
0.006427648067474365, | |
0.006406144142150879, | |
0.006469632148742676, | |
0.0064471039772033695, | |
0.0064849920272827145, | |
0.006542335987091064, | |
0.006559743881225586, | |
0.006534143924713135, | |
0.006582272052764892, | |
0.006731711864471436, | |
0.00654534387588501, | |
0.006586368083953857, | |
0.0065812478065490725, | |
0.0065075201988220215, | |
0.006532095909118653, | |
0.0064430079460144046, | |
0.006437888145446777, | |
0.006516736030578613, | |
0.006462463855743408, | |
0.006560768127441406, | |
0.0064481601715087895, | |
0.0064174079895019534, | |
0.006558720111846924, | |
0.0064143362045288085, | |
0.006486015796661377, | |
0.006434815883636475, | |
0.00650438404083252, | |
0.006569983959197998, | |
0.006606847763061524, | |
0.00659660816192627, | |
0.00658739185333252, | |
0.0065136637687683106, | |
0.006581215858459472, | |
0.006494207859039307, | |
0.006589439868927002, | |
0.006411263942718506, | |
0.006375423908233643, | |
0.006392831802368164, | |
0.0063170561790466305, | |
0.006416384220123291, | |
0.006298624038696289, | |
0.006187007904052734, | |
0.006150144100189209, | |
0.006445055961608887, | |
0.006202367782592774, | |
0.006223872184753418, | |
0.006284287929534912, | |
0.006352896213531494, | |
0.006853631973266602, | |
0.006960127830505371, | |
0.007004159927368164, | |
0.006766592025756836, | |
0.0066119680404663084, | |
0.006595583915710449, | |
0.006686719894409179, | |
0.0067010560035705566, | |
0.007151616096496582, | |
0.006941696166992187, | |
0.006645760059356689, | |
0.006603775978088379, | |
0.006527999877929688, | |
0.006620160102844238, | |
0.006533120155334473, | |
0.006520832061767578, | |
0.0065413122177124024, | |
0.0065136637687683106, | |
0.006533120155334473, | |
0.0065188159942626955, | |
0.0065177597999572755, | |
0.006549503803253174, | |
0.006535168170928955, | |
0.006502399921417237, | |
0.006564864158630371, | |
0.006585279941558838, | |
0.006524928092956543, | |
0.006594560146331787, | |
0.006553599834442139, | |
0.006540287971496582, | |
0.006558720111846924, | |
0.006496255874633789, | |
0.006773759841918945, | |
0.006633471965789795, | |
0.006533120155334473, | |
0.00673689603805542, | |
0.006569983959197998, | |
0.0065146880149841305, | |
0.006534143924713135, | |
0.006549503803253174, | |
0.0065372161865234375, | |
0.006561791896820069, | |
0.006574079990386963, | |
0.0065188159942626955, | |
0.006559743881225586, | |
0.006536191940307618, | |
0.006516736030578613, | |
0.0065382399559021, | |
0.0065372161865234375, | |
0.006543360233306885, | |
0.006554624080657959, | |
0.006509568214416504, | |
0.0065146880149841305, | |
0.00652288007736206, | |
0.006510496139526367, | |
0.006542335987091064, | |
0.006543360233306885, | |
0.006557695865631104, | |
0.00657097578048706, | |
0.006553599834442139, | |
0.006628352165222168, | |
0.006566976070404053, | |
0.006550464153289795, | |
0.0065146880149841305, | |
0.006534143924713135, | |
0.006426559925079346, | |
0.006475776195526123, | |
0.006441984176635742, | |
0.006445055961608887, | |
0.006479872226715088, | |
0.006415359973907471, | |
0.00648089599609375, | |
0.00643993616104126, | |
0.006642687797546387 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 152.71873592990946 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.605665387251439e-08, | |
"ram": 4.1582891278098854e-08, | |
"gpu": 1.3859875760256182e-07, | |
"total": 2.562383027531751e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3902617.1702489895 | |
} | |
} | |
} | |
} |