
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7b4681c
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": null, | |
"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": 903.827456, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 149, | |
"total": 0.9997566380500797, | |
"mean": 0.006709776094295835, | |
"stdev": 0.00018040448678431002, | |
"p50": 0.0067338237762451176, | |
"p90": 0.006866329669952393, | |
"p95": 0.006990643215179443, | |
"p99": 0.0072181504821777365, | |
"values": [ | |
0.007290880203247071, | |
0.006860799789428711, | |
0.007014400005340577, | |
0.007066624164581299, | |
0.007139359951019287, | |
0.006905856132507324, | |
0.0069550080299377445, | |
0.006811647891998291, | |
0.006809599876403808, | |
0.006746111869812011, | |
0.006779903888702392, | |
0.006813695907592773, | |
0.0067758078575134275, | |
0.006763519763946534, | |
0.006751232147216797, | |
0.006739967823028564, | |
0.006726655960083008, | |
0.006747136116027832, | |
0.006912992000579834, | |
0.0067717118263244626, | |
0.006814720153808594, | |
0.006802432060241699, | |
0.006819839954376221, | |
0.006721536159515381, | |
0.006779903888702392, | |
0.006781951904296875, | |
0.006759424209594727, | |
0.006796288013458252, | |
0.0068249602317810056, | |
0.0067717118263244626, | |
0.006765567779541016, | |
0.006755328178405762, | |
0.006802432060241699, | |
0.006785024166107178, | |
0.006807551860809326, | |
0.006686719894409179, | |
0.0066713600158691405, | |
0.006692863941192627, | |
0.006790143966674805, | |
0.006725632190704346, | |
0.0067235522270202635, | |
0.0067717118263244626, | |
0.006739967823028564, | |
0.006842368125915528, | |
0.006863872051239014, | |
0.006818816184997558, | |
0.006790143966674805, | |
0.006784959793090821, | |
0.006763519763946534, | |
0.006707200050354004, | |
0.006762464046478272, | |
0.006804480075836182, | |
0.0067675838470458985, | |
0.00672051191329956, | |
0.006749184131622315, | |
0.007114751815795899, | |
0.006737919807434082, | |
0.006719488143920899, | |
0.006750207901000976, | |
0.006776832103729248, | |
0.0068280320167541505, | |
0.006717440128326416, | |
0.0067051520347595215, | |
0.006842368125915528, | |
0.0067338237762451176, | |
0.00674508810043335, | |
0.006759424209594727, | |
0.00675328016281128, | |
0.006793216228485107, | |
0.006846464157104492, | |
0.006860799789428711, | |
0.006863872051239014, | |
0.006848512172698974, | |
0.006809599876403808, | |
0.006797311782836914, | |
0.006804480075836182, | |
0.006771743774414063, | |
0.006766592025756836, | |
0.00674508810043335, | |
0.006689792156219483, | |
0.006589439868927002, | |
0.0065372161865234375, | |
0.0066109437942504885, | |
0.006599679946899414, | |
0.006527999877929688, | |
0.006408192157745361, | |
0.0064204797744750975, | |
0.006461440086364746, | |
0.006482944011688232, | |
0.006775712013244629, | |
0.0069283838272094726, | |
0.006889472007751465, | |
0.006946815967559815, | |
0.007027711868286133, | |
0.0070594558715820314, | |
0.006876160144805908, | |
0.006699007987976074, | |
0.006719488143920899, | |
0.0067010560035705566, | |
0.007323647975921631, | |
0.0067010560035705566, | |
0.006598656177520752, | |
0.00669593620300293, | |
0.006677504062652588, | |
0.006663167953491211, | |
0.006627327919006347, | |
0.006623231887817383, | |
0.006650879859924317, | |
0.006708223819732666, | |
0.006609920024871826, | |
0.006673408031463623, | |
0.006624256134033203, | |
0.006632448196411133, | |
0.006665184020996094, | |
0.006622208118438721, | |
0.006631455898284912, | |
0.006648831844329834, | |
0.006647808074951172, | |
0.006602752208709717, | |
0.006639616012573242, | |
0.006595583915710449, | |
0.006608895778656006, | |
0.006614016056060791, | |
0.006595583915710449, | |
0.006606847763061524, | |
0.0066375679969787596, | |
0.006615039825439453, | |
0.00662937593460083, | |
0.006612991809844971, | |
0.0065812478065490725, | |
0.006652927875518798, | |
0.006647808074951172, | |
0.006615039825439453, | |
0.006609920024871826, | |
0.006652927875518798, | |
0.006559775829315185, | |
0.0065382399559021, | |
0.006367231845855713, | |
0.0062873601913452145, | |
0.006319104194641113, | |
0.006296576023101807, | |
0.0062863359451293946, | |
0.0063170561790466305, | |
0.006281248092651367, | |
0.006333439826965332, | |
0.006296576023101807, | |
0.006316031932830811, | |
0.0063272957801818845, | |
0.006295551776885986 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.036269757217 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.592125282334843e-08, | |
"ram": 4.150125057737574e-08, | |
"gpu": 1.360262942420353e-07, | |
"total": 2.534487976427595e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3945570.108442643 | |
} | |
} | |
} | |
} |