IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c629917
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": 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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.3.1", | |
"optimum_benchmark_commit": "378d8dddb2c87c406ac8d3231c1c44d5a290b874", | |
"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": 902.610944, | |
"max_global_vram": 3128.38144, | |
"max_process_vram": 44471.668736, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.19062548828125, | |
"mean": 7.19062548828125, | |
"stdev": 0.0, | |
"p50": 7.19062548828125, | |
"p90": 7.19062548828125, | |
"p95": 7.19062548828125, | |
"p99": 7.19062548828125, | |
"values": [ | |
7.19062548828125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.512512, | |
"max_global_vram": 3183.706112, | |
"max_process_vram": 206120.57088, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 126, | |
"total": 0.9985657701492308, | |
"mean": 0.007925125159914531, | |
"stdev": 0.0003828136813878093, | |
"p50": 0.0079837486743927, | |
"p90": 0.008136228561401367, | |
"p95": 0.008258388757705688, | |
"p99": 0.009360347032546996, | |
"values": [ | |
0.008286388397216796, | |
0.008249267578125, | |
0.008251668930053711, | |
0.008351668357849121, | |
0.008249588966369629, | |
0.008165107727050782, | |
0.008141748428344727, | |
0.008129108428955078, | |
0.00834478759765625, | |
0.008130708694458007, | |
0.008098388671875, | |
0.008068628311157226, | |
0.008088149070739747, | |
0.008006388664245606, | |
0.008014227867126465, | |
0.007980789184570312, | |
0.008017428398132324, | |
0.007994389057159424, | |
0.0077476692199707035, | |
0.007825747966766357, | |
0.007604148864746094, | |
0.008079029083251954, | |
0.008049267768859864, | |
0.008047987937927246, | |
0.008067668914794922, | |
0.01035342502593994, | |
0.008203187942504882, | |
0.008408628463745117, | |
0.007951347827911378, | |
0.007909908771514892, | |
0.00795150899887085, | |
0.009677586555480957, | |
0.008260628700256348, | |
0.008010067939758302, | |
0.007972468852996826, | |
0.00811662769317627, | |
0.007989428043365478, | |
0.00799294900894165, | |
0.008023028373718261, | |
0.007985589027404785, | |
0.008030549049377441, | |
0.008014067649841309, | |
0.007976949214935303, | |
0.007944948196411132, | |
0.00782046890258789, | |
0.007673268795013428, | |
0.007686388969421387, | |
0.007783029079437256, | |
0.007736789226531982, | |
0.007657588958740235, | |
0.007328949928283692, | |
0.0074289488792419435, | |
0.007236149787902832, | |
0.007098869800567627, | |
0.0071390290260314945, | |
0.007167990207672119, | |
0.007132949829101562, | |
0.007162549018859863, | |
0.007141429901123047, | |
0.00716303014755249, | |
0.007389749050140381, | |
0.00753278923034668, | |
0.0077476692199707035, | |
0.007767669200897217, | |
0.007739829063415527, | |
0.00802366828918457, | |
0.008061588287353516, | |
0.007754388809204101, | |
0.007742548942565918, | |
0.007664628982543945, | |
0.007408469200134277, | |
0.007769908905029297, | |
0.008029909133911132, | |
0.00803726863861084, | |
0.007971508026123047, | |
0.007982869148254395, | |
0.007947028160095215, | |
0.007930869102478028, | |
0.00805806827545166, | |
0.007975829124450684, | |
0.008017428398132324, | |
0.007885108947753907, | |
0.007417748928070069, | |
0.007677108764648438, | |
0.00779758882522583, | |
0.007877589225769043, | |
0.008060948371887207, | |
0.007929588794708252, | |
0.007953908920288086, | |
0.008006068229675293, | |
0.008022068977355957, | |
0.007985427856445312, | |
0.007986069202423096, | |
0.007984628200531006, | |
0.008089268684387207, | |
0.00800142765045166, | |
0.008046869277954102, | |
0.008010869026184081, | |
0.00800734806060791, | |
0.007968789100646972, | |
0.007979348182678222, | |
0.00803550910949707, | |
0.00800894832611084, | |
0.007971989154815675, | |
0.007919827938079833, | |
0.007449429035186767, | |
0.007566229820251465, | |
0.007866228103637695, | |
0.007944629192352295, | |
0.007918868064880371, | |
0.007991669178009033, | |
0.008012627601623535, | |
0.008007988929748536, | |
0.007945747852325439, | |
0.008033108711242676, | |
0.007976468086242677, | |
0.007925748825073242, | |
0.008004307746887207, | |
0.008022389411926269, | |
0.008022228240966796, | |
0.00800238800048828, | |
0.008008309364318848, | |
0.008034228324890137, | |
0.007968468189239502, | |
0.007942547798156738, | |
0.007624148845672607 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.18097251738351 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |