IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
343cec8
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": "77ca106f4cf33f416814fc4a120313d806701176", | |
"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.520832, | |
"max_global_vram": 3128.38144, | |
"max_process_vram": 43643.691008, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.98998828125, | |
"mean": 6.98998828125, | |
"stdev": 0.0, | |
"p50": 6.98998828125, | |
"p90": 6.98998828125, | |
"p95": 6.98998828125, | |
"p99": 6.98998828125, | |
"values": [ | |
6.98998828125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.680448, | |
"max_global_vram": 3183.562752, | |
"max_process_vram": 216716.419072, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 0.999312389373779, | |
"mean": 0.007241394125896952, | |
"stdev": 0.00035203152539357537, | |
"p50": 0.007111187934875488, | |
"p90": 0.0075281313419342044, | |
"p95": 0.007673298931121827, | |
"p99": 0.007917371106147765, | |
"values": [ | |
0.0077451071739196775, | |
0.007380307197570801, | |
0.007435507774353027, | |
0.007460947036743164, | |
0.007542387008666992, | |
0.007514546871185303, | |
0.007471508026123047, | |
0.007436148166656494, | |
0.007660626888275146, | |
0.007390867233276368, | |
0.007456467151641845, | |
0.007303507804870606, | |
0.007310388088226319, | |
0.007260148048400879, | |
0.0072879881858825685, | |
0.007299986839294434, | |
0.007247347831726075, | |
0.007215988159179687, | |
0.007243506908416748, | |
0.007241588115692138, | |
0.0071956682205200195, | |
0.007213747024536133, | |
0.007234067916870117, | |
0.007251508235931396, | |
0.00726798677444458, | |
0.007179987907409668, | |
0.007252148151397705, | |
0.007227986812591553, | |
0.007264947891235352, | |
0.007225267887115479, | |
0.0072710270881652835, | |
0.0072327880859375, | |
0.010543501853942872, | |
0.007059507846832276, | |
0.007107828140258789, | |
0.007138547897338868, | |
0.007090067863464356, | |
0.007066068172454834, | |
0.0070537481307983395, | |
0.007085907936096192, | |
0.00704990816116333, | |
0.007061907768249512, | |
0.007108468055725098, | |
0.00708270788192749, | |
0.007090228080749512, | |
0.007041587829589844, | |
0.007125907897949218, | |
0.007047829151153565, | |
0.00712526798248291, | |
0.007083027839660644, | |
0.007063188076019287, | |
0.007085748195648193, | |
0.007075987815856934, | |
0.007116628170013428, | |
0.007123348236083985, | |
0.007073267936706543, | |
0.007073428153991699, | |
0.007070228099822998, | |
0.0070769481658935545, | |
0.007070387840270996, | |
0.007083027839660644, | |
0.007079187870025635, | |
0.007099187850952148, | |
0.007110867977142334, | |
0.007031988143920898, | |
0.007058228015899658, | |
0.007095987796783447, | |
0.007032628059387207, | |
0.0070873479843139645, | |
0.007097588062286377, | |
0.00709630823135376, | |
0.00707614803314209, | |
0.007114227771759033, | |
0.007257587909698486, | |
0.007091348171234131, | |
0.007120627880096436, | |
0.0070724678039550785, | |
0.007042387962341309, | |
0.007142548084259033, | |
0.007039827823638916, | |
0.007092467784881592, | |
0.0070468678474426266, | |
0.007085587978363037, | |
0.007150067806243897, | |
0.007114068031311035, | |
0.007089588165283203, | |
0.007079348087310791, | |
0.007085428237915039, | |
0.007074708938598633, | |
0.00710238790512085, | |
0.007120468139648437, | |
0.007063188076019287, | |
0.007044147968292236, | |
0.007065587997436523, | |
0.007116787910461426, | |
0.007057588100433349, | |
0.00710014820098877, | |
0.007108948230743408, | |
0.007060627937316894, | |
0.007052628040313721, | |
0.0070622282028198246, | |
0.007111507892608643, | |
0.007083827972412109, | |
0.0070836682319641115, | |
0.0078870267868042, | |
0.007899666786193848, | |
0.00733982801437378, | |
0.007404626846313477, | |
0.007433427810668945, | |
0.007474226951599121, | |
0.007467506885528564, | |
0.007485588073730468, | |
0.007126707077026367, | |
0.007891986846923828, | |
0.007920627117156982, | |
0.007911827087402344, | |
0.0075817470550537105, | |
0.007465907096862793, | |
0.007528468132019043, | |
0.0075627069473266605, | |
0.007592307090759277, | |
0.007609426975250244, | |
0.007527987003326416, | |
0.007371987819671631, | |
0.007411667823791504, | |
0.007066867828369141, | |
0.0070676679611206055, | |
0.007102548122406006, | |
0.007066708087921142, | |
0.007052467823028564, | |
0.007103347778320312, | |
0.00707454776763916, | |
0.007088788032531738, | |
0.0070695881843566896, | |
0.007083027839660644, | |
0.0070439867973327635, | |
0.007070228099822998, | |
0.007132788181304931 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.09495555886974 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |