
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3b6b32b
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_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.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.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 721.03936, | |
"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.1399619140625, | |
"mean": 7.1399619140625, | |
"stdev": 0.0, | |
"p50": 7.1399619140625, | |
"p90": 7.1399619140625, | |
"p95": 7.1399619140625, | |
"p99": 7.1399619140625, | |
"values": [ | |
7.1399619140625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0423319207297432e-06, | |
"ram": 5.554853213579729e-07, | |
"gpu": 1.8105570039998742e-06, | |
"total": 3.40837424608759e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 913.645568, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 153, | |
"total": 0.999511037349701, | |
"mean": 0.006532751878102621, | |
"stdev": 0.00025729115853458426, | |
"p50": 0.006463488101959228, | |
"p90": 0.006772121620178223, | |
"p95": 0.006859366416931152, | |
"p99": 0.007690567607879637, | |
"values": [ | |
0.00676966381072998, | |
0.0068351998329162595, | |
0.006849535942077637, | |
0.0067338237762451176, | |
0.0067040958404541015, | |
0.0066416640281677245, | |
0.006598624229431152, | |
0.006523903846740723, | |
0.006543360233306885, | |
0.0065177597999572755, | |
0.006583295822143555, | |
0.006584352016448975, | |
0.006516736030578613, | |
0.006427648067474365, | |
0.00638156795501709, | |
0.006450143814086914, | |
0.006498303890228272, | |
0.00658022403717041, | |
0.006553599834442139, | |
0.006591487884521485, | |
0.006533120155334473, | |
0.006475776195526123, | |
0.006470655918121338, | |
0.006463488101959228, | |
0.00653107213973999, | |
0.0065372161865234375, | |
0.006511616230010986, | |
0.006561791896820069, | |
0.006549439907073975, | |
0.0065064959526062015, | |
0.006519807815551758, | |
0.00657916784286499, | |
0.0065064959526062015, | |
0.006550528049468994, | |
0.006419456005096436, | |
0.0063836159706115725, | |
0.006418432235717773, | |
0.006445087909698486, | |
0.00643071985244751, | |
0.006392799854278565, | |
0.006464511871337891, | |
0.006459392070770263, | |
0.006476863861083985, | |
0.006561791896820069, | |
0.006593535900115967, | |
0.006523903846740723, | |
0.006576128005981445, | |
0.0065146880149841305, | |
0.006448128223419189, | |
0.006472703933715821, | |
0.006561791896820069, | |
0.006523903846740723, | |
0.006519807815551758, | |
0.006509568214416504, | |
0.006509568214416504, | |
0.006446080207824707, | |
0.0063836159706115725, | |
0.00643993616104126, | |
0.006456319808959961, | |
0.007517216205596924, | |
0.006881279945373535, | |
0.006731776237487793, | |
0.007385087966918945, | |
0.006765567779541016, | |
0.006792191982269287, | |
0.0068198080062866215, | |
0.00679423999786377, | |
0.006799359798431396, | |
0.006874112129211426, | |
0.006676479816436768, | |
0.006563839912414551, | |
0.00658025598526001, | |
0.006554687976837158, | |
0.006512639999389648, | |
0.006546432018280029, | |
0.006533120155334473, | |
0.006408192157745361, | |
0.006523903846740723, | |
0.006462463855743408, | |
0.006472703933715821, | |
0.0063498239517211915, | |
0.006195199966430664, | |
0.00637337589263916, | |
0.006475776195526123, | |
0.006242303848266601, | |
0.006142975807189942, | |
0.00612662410736084, | |
0.006174719810485839, | |
0.006688767910003662, | |
0.006661119937896728, | |
0.0067645440101623535, | |
0.006650879859924317, | |
0.006772736072540283, | |
0.006816768169403077, | |
0.007788544178009033, | |
0.0077619199752807615, | |
0.007624703884124756, | |
0.007506879806518554, | |
0.006518784046173095, | |
0.006500351905822754, | |
0.006419456005096436, | |
0.006458367824554443, | |
0.006423552036285401, | |
0.006400000095367431, | |
0.006421504020690918, | |
0.006384640216827392, | |
0.0064143362045288085, | |
0.006411263942718506, | |
0.006355967998504639, | |
0.006398975849151611, | |
0.006385663986206055, | |
0.006393856048583985, | |
0.006412288188934326, | |
0.006375423908233643, | |
0.006387712001800537, | |
0.006368319988250732, | |
0.006403071880340576, | |
0.0065146880149841305, | |
0.006421504020690918, | |
0.006401023864746094, | |
0.006418432235717773, | |
0.00637337589263916, | |
0.006385663986206055, | |
0.006358016014099121, | |
0.006363135814666748, | |
0.006379519939422608, | |
0.006345727920532227, | |
0.006385632038116455, | |
0.006377471923828125, | |
0.006378496170043945, | |
0.006434815883636475, | |
0.006359039783477783, | |
0.006421504020690918, | |
0.006394879817962646, | |
0.006412288188934326, | |
0.006427648067474365, | |
0.006408192157745361, | |
0.0064143362045288085, | |
0.006368256092071533, | |
0.00638156795501709, | |
0.00638976001739502, | |
0.006367231845855713, | |
0.00638976001739502, | |
0.006402048110961914, | |
0.0064174079895019534, | |
0.006405119895935059, | |
0.006377471923828125, | |
0.006388735771179199, | |
0.006388735771179199, | |
0.00637440013885498, | |
0.006428671836853027, | |
0.006393856048583985, | |
0.006402048110961914 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 153.07484788331516 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.220827709368574e-08, | |
"ram": 3.947733272291032e-08, | |
"gpu": 1.4463595581707005e-07, | |
"total": 2.563215656336661e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3901349.453479839 | |
} | |
} | |
} | |
} |