IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ac3bf35
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "6", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.490624, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1107.49696, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 4613.279744, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07922046661376952 | |
], | |
"count": 1, | |
"total": 0.07922046661376952, | |
"mean": 0.07922046661376952, | |
"p50": 0.07922046661376952, | |
"p90": 0.07922046661376952, | |
"p95": 0.07922046661376952, | |
"p99": 0.07922046661376952, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1230.528512, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 247296.987136, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.442688 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.008201631546020507, | |
0.0076128292083740235, | |
0.007593149185180664, | |
0.007557788848876953, | |
0.007194427967071533, | |
0.0073432278633117675, | |
0.007520988941192627, | |
0.007560348987579345, | |
0.007569309234619141, | |
0.007527069091796875, | |
0.007553789138793945, | |
0.007518428802490235, | |
0.007538589000701904, | |
0.007194107055664063, | |
0.007164988040924072, | |
0.0073659482002258305, | |
0.007441789150238037, | |
0.007285147190093994, | |
0.0071313872337341305, | |
0.006965627193450927, | |
0.007312347888946533, | |
0.007170587062835693, | |
0.0072454681396484375, | |
0.0072075481414794924, | |
0.007086747169494629, | |
0.007258587837219238, | |
0.007215227127075195, | |
0.00754498815536499, | |
0.007554429054260254, | |
0.007534588813781738, | |
0.0075224289894104, | |
0.007569788932800293, | |
0.007592669010162353, | |
0.007574109077453614, | |
0.007615549087524414, | |
0.00761138916015625, | |
0.007645790100097656, | |
0.007609468936920166, | |
0.007433467864990234, | |
0.007391388893127441, | |
0.007471707820892334, | |
0.00736354923248291, | |
0.007607388973236084, | |
0.007600668907165527, | |
0.007595869064331054, | |
0.007659069061279297, | |
0.00761410903930664, | |
0.0076016287803649905, | |
0.007643868923187256, | |
0.0076853098869323734, | |
0.007831230163574218, | |
0.007627708911895752, | |
0.00758306884765625, | |
0.007595869064331054, | |
0.007669788837432861, | |
0.007662589073181152, | |
0.007634910106658935, | |
0.007622589111328125, | |
0.0076785888671875, | |
0.007662109851837158, | |
0.007661308765411377, | |
0.007612668991088868, | |
0.007640989780426025, | |
0.007611868858337402, | |
0.00759666919708252, | |
0.007634428977966309, | |
0.00766034984588623, | |
0.007613149166107178, | |
0.007628989219665527, | |
0.0076373090744018554, | |
0.007889150142669677, | |
0.007612188816070556, | |
0.007676828861236573, | |
0.007645149230957032, | |
0.007642428874969482, | |
0.007638429164886475, | |
0.007626749038696289, | |
0.007637468814849854, | |
0.007684829235076904, | |
0.0075925087928771975, | |
0.007683069229125977, | |
0.007653150081634521, | |
0.007631868839263916, | |
0.007655549049377442, | |
0.0076896300315856935, | |
0.007655869007110596, | |
0.007666110038757324, | |
0.007665308952331543, | |
0.0076232290267944335, | |
0.0076566700935363765, | |
0.007654269218444824, | |
0.007634909152984619, | |
0.007652988910675049, | |
0.007652829170227051, | |
0.007699550151824951, | |
0.007606908798217773, | |
0.007692028999328613, | |
0.007643229007720948, | |
0.007648509979248047, | |
0.007686588764190674, | |
0.007721630096435547, | |
0.007647229194641113, | |
0.007654109001159668, | |
0.007654109001159668, | |
0.007610589027404785, | |
0.0076605091094970705, | |
0.00766386890411377, | |
0.007650428771972656, | |
0.007667550086975098, | |
0.007674108982086181, | |
0.00766162919998169, | |
0.007646909236907959, | |
0.007681468963623047, | |
0.007646590232849121, | |
0.007672829151153564, | |
0.007651548862457275, | |
0.0077192292213439945, | |
0.007730110168457031, | |
0.007669629096984864, | |
0.00763602876663208, | |
0.007640028953552246, | |
0.007644989013671875, | |
0.0077109098434448246, | |
0.007691228866577148, | |
0.007683549880981445, | |
0.007657309055328369, | |
0.007692028999328613, | |
0.007658908843994141, | |
0.007667069911956787, | |
0.007648348808288574, | |
0.007684508800506592, | |
0.007503067970275879 | |
], | |
"count": 132, | |
"total": 1.001246547222137, | |
"mean": 0.0075852011153192235, | |
"p50": 0.0076366689205169674, | |
"p90": 0.0076852618217468265, | |
"p95": 0.007704662013053894, | |
"p99": 0.007871194949150085, | |
"stdev": 0.00016145740418409583, | |
"stdev_": 2.1285843543161067 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.83566062347114 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |