IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
45e85e2
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", | |
"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": "3e2eebdc0f80ae6deeb2e1faad3e889ed5a4df2d", | |
"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.084096, | |
"max_global_vram": 897.14688, | |
"max_process_vram": 237518.712832, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 0.9977614045143125, | |
"mean": 0.0071781396008223945, | |
"stdev": 0.00037241223977587106, | |
"p50": 0.0069807348251342775, | |
"p90": 0.007632312965393066, | |
"p95": 0.007899845886230468, | |
"p99": 0.00824808925628662, | |
"values": [ | |
0.007517210006713867, | |
0.007071774005889892, | |
0.0069544949531555175, | |
0.007124413967132568, | |
0.00816184425354004, | |
0.008229043006896973, | |
0.008213204383850098, | |
0.008209362983703613, | |
0.007926486015319823, | |
0.007580090045928955, | |
0.0075224900245666505, | |
0.0074044098854064945, | |
0.00734713077545166, | |
0.0073431310653686525, | |
0.007378170967102051, | |
0.007334331035614014, | |
0.007396410942077636, | |
0.00734201192855835, | |
0.007269213199615479, | |
0.007616249084472657, | |
0.007276092052459717, | |
0.007333531856536866, | |
0.007116734027862549, | |
0.006879294872283935, | |
0.006884416103363037, | |
0.0068624958992004395, | |
0.00707081413269043, | |
0.006875454902648926, | |
0.007191133022308349, | |
0.006972734928131104, | |
0.006916094779968262, | |
0.006898335933685303, | |
0.006901216030120849, | |
0.006880415916442871, | |
0.006888895988464355, | |
0.009095754623413086, | |
0.00825976276397705, | |
0.006931135177612305, | |
0.006879776000976562, | |
0.006910816192626953, | |
0.0069144959449768065, | |
0.006955134868621826, | |
0.0072356128692626955, | |
0.0069383358955383305, | |
0.006967295169830323, | |
0.006934335231781006, | |
0.006948414802551269, | |
0.006955295085906982, | |
0.006953215122222901, | |
0.0069807348251342775, | |
0.006967134952545166, | |
0.006957534790039062, | |
0.006950174808502197, | |
0.006950815200805664, | |
0.006961054801940918, | |
0.006933216094970703, | |
0.006942015171051025, | |
0.0069709749221801755, | |
0.0069684147834777836, | |
0.006953054904937744, | |
0.0069564151763916015, | |
0.006941534996032715, | |
0.0069404149055480955, | |
0.006955134868621826, | |
0.006934335231781006, | |
0.0069709749221801755, | |
0.0069682540893554685, | |
0.007663289070129395, | |
0.006988414764404297, | |
0.006953855037689209, | |
0.006974174976348877, | |
0.006964415073394775, | |
0.00698713493347168, | |
0.006940255165100098, | |
0.0069752950668334965, | |
0.006982494831085205, | |
0.006957214832305908, | |
0.006957375049591065, | |
0.006972575187683105, | |
0.006966495037078858, | |
0.006954975128173828, | |
0.00692601490020752, | |
0.00697129487991333, | |
0.006966014862060547, | |
0.006943934917449951, | |
0.006915295124053955, | |
0.006927454948425293, | |
0.0069684147834777836, | |
0.006945375919342041, | |
0.006923935890197754, | |
0.006936735153198243, | |
0.006957534790039062, | |
0.006940094947814941, | |
0.0069655351638793946, | |
0.0069880948066711425, | |
0.006982813835144043, | |
0.007026334762573242, | |
0.006950174808502197, | |
0.0069807348251342775, | |
0.0069636149406433106, | |
0.00696521520614624, | |
0.00692985486984253, | |
0.006981214046478271, | |
0.006934014797210694, | |
0.007089533805847168, | |
0.007843926906585693, | |
0.00788088607788086, | |
0.007802327156066894, | |
0.007369051933288575, | |
0.007359131813049317, | |
0.007342331886291504, | |
0.007254332065582275, | |
0.007254012107849121, | |
0.007870165824890137, | |
0.007896885871887208, | |
0.00788792610168457, | |
0.007624568939208984, | |
0.007461050987243653, | |
0.007478010177612304, | |
0.007508090019226074, | |
0.007497529983520507, | |
0.007411931037902832, | |
0.007353210926055908, | |
0.007398489952087402, | |
0.007403450965881348, | |
0.007517048835754395, | |
0.007568728923797607, | |
0.007441530227661133, | |
0.006974494934082031, | |
0.007036894798278809, | |
0.006936416149139404, | |
0.007026334762573242, | |
0.007043614864349366, | |
0.006990815162658691, | |
0.007006333827972412, | |
0.006991134166717529, | |
0.006990654945373535, | |
0.007054173946380615, | |
0.0069980149269104 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.3118629074072 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |