IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
64e1db9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"model": "FacebookAI/roberta-base", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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": false, | |
"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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": "bb03882362b0d86ebdf2f3e66d54ac5dde388b89", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1006.452736, | |
"max_global_vram": 898.47808, | |
"max_process_vram": 207528.275968, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 0.998343235015869, | |
"mean": 0.007860970354455663, | |
"stdev": 0.0004302328405712344, | |
"p50": 0.007684628963470459, | |
"p90": 0.00852622776031494, | |
"p95": 0.00855256404876709, | |
"p99": 0.008686522312164307, | |
"values": [ | |
0.008267828941345215, | |
0.007833428859710693, | |
0.00783582878112793, | |
0.007986867904663086, | |
0.008180628776550293, | |
0.008140948295593262, | |
0.008020309448242188, | |
0.007937748908996583, | |
0.007935028076171875, | |
0.007853589057922362, | |
0.007816789150238037, | |
0.007777749061584472, | |
0.007782389163970947, | |
0.0076590290069580074, | |
0.0075995101928710935, | |
0.007552628993988037, | |
0.007562388896942138, | |
0.0075902299880981445, | |
0.007688148975372315, | |
0.007625109195709229, | |
0.007594549179077149, | |
0.007621589183807373, | |
0.007601590156555176, | |
0.007647509098052978, | |
0.007684789180755615, | |
0.007777749061584472, | |
0.007873589038848878, | |
0.0077793488502502445, | |
0.007684628963470459, | |
0.0076588687896728515, | |
0.007751988887786865, | |
0.0077886290550231935, | |
0.00782702922821045, | |
0.0077763090133667, | |
0.007744948863983154, | |
0.007693428993225098, | |
0.007726229190826416, | |
0.011085744857788085, | |
0.00769166898727417, | |
0.00754318904876709, | |
0.007539828777313232, | |
0.007541269779205322, | |
0.007611508846282959, | |
0.00756942892074585, | |
0.007577908992767334, | |
0.007612790107727051, | |
0.007605908870697021, | |
0.007612148761749268, | |
0.0076283087730407715, | |
0.007615029811859131, | |
0.007663349151611328, | |
0.0076198291778564456, | |
0.007579668998718262, | |
0.00761630916595459, | |
0.007619669914245605, | |
0.007683828830718994, | |
0.007650069236755371, | |
0.007648468971252442, | |
0.007638548851013184, | |
0.007642549991607666, | |
0.007619029045104981, | |
0.007624309062957763, | |
0.007629748821258545, | |
0.007575349807739258, | |
0.007641589164733887, | |
0.00766110897064209, | |
0.007640628814697265, | |
0.007773589134216308, | |
0.007706229209899902, | |
0.007668468952178955, | |
0.007595510005950928, | |
0.0076332688331604, | |
0.007615348815917969, | |
0.007793909072875977, | |
0.007698548793792725, | |
0.007646228790283203, | |
0.007626550197601318, | |
0.007587509155273437, | |
0.007709428787231445, | |
0.007911348819732666, | |
0.007650069236755371, | |
0.007855188846588135, | |
0.007820629119873046, | |
0.0076179089546203616, | |
0.007619188785552978, | |
0.007632789134979248, | |
0.007678390026092529, | |
0.007628468990325927, | |
0.007623669147491455, | |
0.007650868892669678, | |
0.007733909130096436, | |
0.0076609492301940914, | |
0.007650869846343994, | |
0.007775989055633545, | |
0.007640469074249268, | |
0.007621269226074218, | |
0.007666708946228028, | |
0.0076657490730285644, | |
0.007711510181427002, | |
0.007657430171966553, | |
0.007707028865814209, | |
0.0076796689033508305, | |
0.007962069034576417, | |
0.008576468467712402, | |
0.008449268341064454, | |
0.00836574935913086, | |
0.008457427978515624, | |
0.008437908172607422, | |
0.008545428276062013, | |
0.008512948036193848, | |
0.008571508407592774, | |
0.008529108047485351, | |
0.00863726806640625, | |
0.008538548469543456, | |
0.008703827857971191, | |
0.008552947998046874, | |
0.008527667999267578, | |
0.008551668167114258, | |
0.008525267601013183, | |
0.008548627853393555, | |
0.008617907524108888, | |
0.00835550880432129, | |
0.008152948379516602, | |
0.008030549049377441, | |
0.007963027954101563, | |
0.007807508945465088, | |
0.0076396698951721196 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.21075833000589 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |