IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
90c8db5
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.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 905.0112, | |
"max_global_vram": 841.773056, | |
"max_process_vram": 50817.110016, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.356474609375, | |
"mean": 8.356474609375, | |
"stdev": 0.0, | |
"p50": 8.356474609375, | |
"p90": 8.356474609375, | |
"p95": 8.356474609375, | |
"p99": 8.356474609375, | |
"values": [ | |
8.356474609375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1020.080128, | |
"max_global_vram": 896.344064, | |
"max_process_vram": 264395.65312, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 0.9992745399475101, | |
"mean": 0.008124183251605771, | |
"stdev": 9.251184838970667e-05, | |
"p50": 0.008123177528381348, | |
"p90": 0.008261737632751464, | |
"p95": 0.008282729148864746, | |
"p99": 0.008328210811614991, | |
"values": [ | |
0.008174057960510253, | |
0.008050857543945312, | |
0.007994217872619629, | |
0.007998698234558106, | |
0.007989098072052002, | |
0.007966698169708252, | |
0.007997578144073486, | |
0.008005098342895508, | |
0.008239176750183106, | |
0.007993257999420167, | |
0.007997097969055176, | |
0.007998857975006103, | |
0.00794333791732788, | |
0.007962859153747559, | |
0.00796301794052124, | |
0.007941577911376953, | |
0.007982217788696289, | |
0.008011817932128906, | |
0.007996297836303711, | |
0.007986217975616454, | |
0.007991017818450928, | |
0.0080492582321167, | |
0.008041257858276368, | |
0.008113738059997558, | |
0.008155497550964355, | |
0.008138378143310547, | |
0.008103657722473144, | |
0.008083658218383789, | |
0.008093418121337891, | |
0.00813453769683838, | |
0.00826237678527832, | |
0.008243657112121583, | |
0.008296458244323731, | |
0.008181577682495117, | |
0.008110857963562012, | |
0.00801437759399414, | |
0.008103977203369141, | |
0.008063657760620117, | |
0.00806845760345459, | |
0.008076778411865234, | |
0.008054377555847168, | |
0.008172138214111328, | |
0.008137738227844239, | |
0.00810061740875244, | |
0.008127338409423828, | |
0.0080623779296875, | |
0.008049737930297852, | |
0.00805965805053711, | |
0.008112616539001465, | |
0.0082086181640625, | |
0.008189256668090821, | |
0.008261737823486328, | |
0.00821901798248291, | |
0.008167178153991698, | |
0.008146858215332032, | |
0.008150057792663574, | |
0.008184456825256347, | |
0.008181258201599121, | |
0.00818653678894043, | |
0.008104778289794922, | |
0.008190056800842286, | |
0.00816285800933838, | |
0.008273097038269043, | |
0.008194217681884766, | |
0.008155977249145508, | |
0.008141098022460937, | |
0.00812685775756836, | |
0.008107817649841309, | |
0.008124137878417969, | |
0.008050857543945312, | |
0.00808797836303711, | |
0.00808909797668457, | |
0.008208297729492187, | |
0.008280137062072753, | |
0.008336297035217285, | |
0.008192618370056153, | |
0.008178057670593262, | |
0.008161897659301759, | |
0.008220617294311523, | |
0.0082830171585083, | |
0.008333737373352051, | |
0.008255178451538087, | |
0.008308616638183594, | |
0.008275337219238281, | |
0.008228297233581544, | |
0.008138697624206543, | |
0.008159017562866211, | |
0.008116936683654786, | |
0.00814925765991211, | |
0.00813709831237793, | |
0.00812893772125244, | |
0.00808797836303711, | |
0.007981897830963135, | |
0.008040617942810059, | |
0.008077737808227538, | |
0.008059018135070801, | |
0.008116777420043946, | |
0.008123177528381348, | |
0.00810221767425537, | |
0.008108456611633301, | |
0.008090858459472655, | |
0.008035978317260743, | |
0.008040138244628906, | |
0.008276617050170899, | |
0.008299656867980957, | |
0.008261736869812011, | |
0.008241738319396973, | |
0.008076617240905762, | |
0.008054218292236327, | |
0.008027177810668945, | |
0.008079498291015626, | |
0.008173737525939941, | |
0.008098857879638672, | |
0.008104937553405762, | |
0.00813645839691162, | |
0.008119176864624024, | |
0.00814925765991211, | |
0.008135817527770995, | |
0.008152297019958496, | |
0.008167978286743163, | |
0.008287176132202149, | |
0.008205257415771484, | |
0.008170377731323243 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.08929636740368 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |