IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
52229cb
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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.4.0", | |
"optimum_benchmark_commit": "d662120356cf9cce87fb802aea1c49ce74710c29", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 903.712768, | |
"max_global_vram": 1116.03712, | |
"max_process_vram": 43299.176448, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.8092294921875, | |
"mean": 6.8092294921875, | |
"stdev": 0.0, | |
"p50": 6.8092294921875, | |
"p90": 6.8092294921875, | |
"p95": 6.8092294921875, | |
"p99": 6.8092294921875, | |
"values": [ | |
6.8092294921875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.397248, | |
"max_global_vram": 6806.880256, | |
"max_process_vram": 216676.491264, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9953810389041899, | |
"mean": 0.006864696820028897, | |
"stdev": 0.001290894993606018, | |
"p50": 0.006812184810638428, | |
"p90": 0.0070705546379089355, | |
"p95": 0.007147963047027587, | |
"p99": 0.007376168651580811, | |
"values": [ | |
0.0022536089420318603, | |
0.00657890510559082, | |
0.007152347087860107, | |
0.007255387783050537, | |
0.0074710679054260255, | |
0.007176346778869629, | |
0.007094747066497803, | |
0.00707362699508667, | |
0.0069923467636108395, | |
0.006971065998077393, | |
0.006959867000579834, | |
0.00705202579498291, | |
0.006961307048797607, | |
0.006774106025695801, | |
0.006955706119537354, | |
0.006912506103515625, | |
0.006911866188049317, | |
0.00699250602722168, | |
0.0071667470932006835, | |
0.007100986957550049, | |
0.007123706817626953, | |
0.007060506820678711, | |
0.007054107189178467, | |
0.007124186992645264, | |
0.00719586706161499, | |
0.007178267955780029, | |
0.00709986686706543, | |
0.007065946102142334, | |
0.007042585849761963, | |
0.006998587131500244, | |
0.006969466209411621, | |
0.006954426765441894, | |
0.00698818588256836, | |
0.006971867084503174, | |
0.006956026077270507, | |
0.006949787139892578, | |
0.006969625949859619, | |
0.006978106021881103, | |
0.006965466022491455, | |
0.006967545986175537, | |
0.0069619460105896, | |
0.006963066101074219, | |
0.006990426063537598, | |
0.006966425895690918, | |
0.006996346950531006, | |
0.0069864258766174315, | |
0.006949466228485107, | |
0.006950746059417725, | |
0.006983705997467041, | |
0.006982746124267578, | |
0.006940186023712158, | |
0.006764505863189697, | |
0.006745945930480957, | |
0.006775225162506103, | |
0.006728665828704834, | |
0.006755705833435059, | |
0.00672466516494751, | |
0.006721786022186279, | |
0.006682744979858398, | |
0.006726426124572754, | |
0.006747065067291259, | |
0.006665945053100586, | |
0.006690744876861572, | |
0.02053847885131836, | |
0.00221616792678833, | |
0.0040990557670593265, | |
0.006715865135192871, | |
0.0066966648101806645, | |
0.0066864252090454105, | |
0.006687385082244873, | |
0.006693305969238281, | |
0.006657784938812256, | |
0.006673144817352295, | |
0.006669146060943603, | |
0.006656024932861328, | |
0.006629624843597412, | |
0.006669465065002441, | |
0.006668825149536133, | |
0.006652345180511474, | |
0.006661785125732422, | |
0.006666584968566895, | |
0.006751544952392578, | |
0.006650266170501709, | |
0.006812184810638428, | |
0.006751064777374268, | |
0.006642745018005371, | |
0.00663954496383667, | |
0.006673785209655761, | |
0.0066472249031066894, | |
0.006661786079406738, | |
0.006650104999542237, | |
0.006685464859008789, | |
0.006694265842437744, | |
0.006664185047149658, | |
0.006636984825134277, | |
0.0066704249382019045, | |
0.006646745204925537, | |
0.006725625038146972, | |
0.006648345947265625, | |
0.006674584865570069, | |
0.006659385204315186, | |
0.0066806659698486325, | |
0.00713042688369751, | |
0.006971065998077393, | |
0.006994905948638916, | |
0.007026106834411621, | |
0.007013306140899658, | |
0.0068915457725524905, | |
0.006832186222076416, | |
0.0069595460891723636, | |
0.007054747104644776, | |
0.006920506000518798, | |
0.006947065830230713, | |
0.006828024864196778, | |
0.006976346015930176, | |
0.006781466007232666, | |
0.006689145088195801, | |
0.0066821050643920896, | |
0.006697464942932129, | |
0.0067181048393249515, | |
0.006714105129241943, | |
0.006707065105438233, | |
0.0067040262222290035, | |
0.006713465213775634, | |
0.006699865818023682, | |
0.006673785209655761, | |
0.006972026824951172, | |
0.006847866058349609, | |
0.006955545902252197, | |
0.006790746212005616, | |
0.006845466136932373, | |
0.006807866096496582, | |
0.006777305126190186, | |
0.006799065113067627, | |
0.006807866096496582, | |
0.006793625831604004, | |
0.0067937860488891605, | |
0.006993465900421143, | |
0.007013466835021973, | |
0.006888505935668946, | |
0.006859066009521485, | |
0.006822906017303467, | |
0.006818106174468994, | |
0.006706904888153076, | |
0.006733943939208984 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.67285726040126 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |