
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a330009
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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": 718.524416, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.0963642578125, | |
"mean": 7.0963642578125, | |
"stdev": 0.0, | |
"p50": 7.0963642578125, | |
"p90": 7.0963642578125, | |
"p95": 7.0963642578125, | |
"p99": 7.0963642578125, | |
"values": [ | |
7.0963642578125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.730636702643502e-07, | |
"ram": 4.6291497614456984e-07, | |
"gpu": 1.727501381999265e-06, | |
"total": 3.0634800284081847e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 918.204416, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9982505578994755, | |
"mean": 0.007340077631613787, | |
"stdev": 0.0002535819386259844, | |
"p50": 0.007271423816680909, | |
"p90": 0.007608831882476807, | |
"p95": 0.00779422390460968, | |
"p99": 0.007926743865013124, | |
"values": [ | |
0.007898143768310547, | |
0.0076277761459350585, | |
0.007942143917083741, | |
0.007841792106628418, | |
0.007791679859161377, | |
0.00780185604095459, | |
0.007641088008880615, | |
0.007620607852935791, | |
0.007589888095855713, | |
0.007662623882293701, | |
0.007584767818450928, | |
0.007556096076965332, | |
0.007505951881408691, | |
0.007573503971099854, | |
0.007275519847869873, | |
0.007362559795379638, | |
0.0073175039291381834, | |
0.007366655826568603, | |
0.007204864025115967, | |
0.007263232231140137, | |
0.007328767776489258, | |
0.0073144640922546385, | |
0.007324607849121094, | |
0.007285759925842285, | |
0.007305215835571289, | |
0.007444479942321777, | |
0.0075335679054260255, | |
0.007553023815155029, | |
0.007576576232910156, | |
0.007527423858642578, | |
0.007527423858642578, | |
0.007498752117156982, | |
0.007577600002288819, | |
0.007518208026885987, | |
0.007520256042480469, | |
0.007494656085968018, | |
0.007287807941436767, | |
0.007331840038299561, | |
0.007319551944732666, | |
0.007271423816680909, | |
0.007540736198425293, | |
0.007512063980102539, | |
0.007547904014587403, | |
0.00728985595703125, | |
0.007279583930969238, | |
0.007292928218841553, | |
0.007342080116271973, | |
0.007817215919494629, | |
0.007571519851684571, | |
0.008969216346740723, | |
0.007882751941680909, | |
0.007662591934204102, | |
0.007591936111450195, | |
0.007476223945617676, | |
0.007351295948028564, | |
0.007256063938140869, | |
0.0072427520751953125, | |
0.007271423816680909, | |
0.007244800090789795, | |
0.007284736156463623, | |
0.007308288097381592, | |
0.007310336112976074, | |
0.007312384128570557, | |
0.007266304016113281, | |
0.007251967906951904, | |
0.007230463981628418, | |
0.007216127872467041, | |
0.007244800090789795, | |
0.007227392196655274, | |
0.007147520065307617, | |
0.007000063896179199, | |
0.006966271877288818, | |
0.0071157760620117185, | |
0.007029759883880615, | |
0.006881279945373535, | |
0.006849535942077637, | |
0.0068986878395080565, | |
0.006946815967559815, | |
0.00692633581161499, | |
0.0072724480628967286, | |
0.007468031883239746, | |
0.007556096076965332, | |
0.007705599784851074, | |
0.0075970559120178225, | |
0.007501823902130127, | |
0.00743833589553833, | |
0.007290880203247071, | |
0.00729804801940918, | |
0.007252992153167725, | |
0.007364607810974121, | |
0.0072468481063842774, | |
0.007202816009521484, | |
0.007178239822387696, | |
0.007221248149871826, | |
0.007284704208374023, | |
0.007228415966033935, | |
0.007200767993927002, | |
0.007175168037414551, | |
0.00719155216217041, | |
0.007217152118682861, | |
0.007218175888061523, | |
0.007227392196655274, | |
0.007186431884765625, | |
0.007184383869171143, | |
0.007211008071899414, | |
0.007163839817047119, | |
0.007233535766601563, | |
0.007173183917999267, | |
0.0071823039054870605, | |
0.007200799942016602, | |
0.007187456130981445, | |
0.007184383869171143, | |
0.007180287837982178, | |
0.007194623947143554, | |
0.007198719978332519, | |
0.007238656044006348, | |
0.007206912040710449, | |
0.007215072154998779, | |
0.007164927959442138, | |
0.007184383869171143, | |
0.0071833600997924804, | |
0.0072202239036560055, | |
0.007206912040710449, | |
0.007151616096496582, | |
0.007194591999053955, | |
0.007200767993927002, | |
0.007170048236846924, | |
0.0071905279159545895, | |
0.007189504146575928, | |
0.007131135940551757, | |
0.007184383869171143, | |
0.007178239822387696, | |
0.007194623947143554, | |
0.007138304233551026, | |
0.007172095775604248, | |
0.007187456130981445 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.23834108960784 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.523662411977374e-08, | |
"ram": 4.654443180961229e-08, | |
"gpu": 1.797461755428595e-07, | |
"total": 3.115272314722455e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3209992.2542055263 | |
} | |
} | |
} | |
} |