
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
16c6102
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2", | |
"_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.14", | |
"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.0", | |
"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": 890.114048, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 161, | |
"total": 0.996849409103394, | |
"mean": 0.006191611236667041, | |
"stdev": 0.0002436492177730374, | |
"p50": 0.006165503978729248, | |
"p90": 0.006308864116668702, | |
"p95": 0.006900735855102539, | |
"p99": 0.0070588417053222665, | |
"values": [ | |
0.007296000003814697, | |
0.006905856132507324, | |
0.007013376235961914, | |
0.0069959678649902345, | |
0.0069847040176391605, | |
0.006951935768127441, | |
0.006890495777130127, | |
0.006927360057830811, | |
0.006900735855102539, | |
0.007127039909362793, | |
0.006194176197052002, | |
0.006061056137084961, | |
0.006073311805725097, | |
0.006281216144561768, | |
0.0062740478515625, | |
0.006308864116668702, | |
0.006292479991912842, | |
0.0062904319763183595, | |
0.006284287929534912, | |
0.006266880035400391, | |
0.006223872184753418, | |
0.0062197761535644535, | |
0.006240255832672119, | |
0.006207488059997559, | |
0.0061521921157836916, | |
0.006211616039276123, | |
0.0061859841346740725, | |
0.006235136032104492, | |
0.006254591941833496, | |
0.006281184196472168, | |
0.006270976066589356, | |
0.006248447895050049, | |
0.006266880035400391, | |
0.006253568172454834, | |
0.006244383811950684, | |
0.006255616188049316, | |
0.006270976066589356, | |
0.006342656135559082, | |
0.0064471039772033695, | |
0.0062791681289672855, | |
0.006164480209350586, | |
0.00623199987411499, | |
0.006181888103485108, | |
0.00617574405670166, | |
0.006145023822784424, | |
0.006105055809020996, | |
0.006182911872863769, | |
0.006113279819488526, | |
0.006157311916351318, | |
0.006195168018341065, | |
0.006160384178161621, | |
0.006149055957794189, | |
0.006148096084594727, | |
0.006151167869567871, | |
0.0061634559631347655, | |
0.006190080165863037, | |
0.0061521921157836916, | |
0.00621670389175415, | |
0.006144991874694824, | |
0.006194176197052002, | |
0.006158336162567139, | |
0.00622489595413208, | |
0.006109151840209961, | |
0.006139904022216797, | |
0.006120448112487793, | |
0.006195199966430664, | |
0.005987328052520752, | |
0.005975039958953857, | |
0.005929984092712402, | |
0.005948416233062744, | |
0.00592793607711792, | |
0.005955584049224853, | |
0.005934080123901367, | |
0.0060631041526794435, | |
0.005945343971252442, | |
0.005989376068115234, | |
0.0060405759811401364, | |
0.006080512046813965, | |
0.00606822395324707, | |
0.005970943927764893, | |
0.005984255790710449, | |
0.005982207775115967, | |
0.005967872142791748, | |
0.005981184005737304, | |
0.005991424083709717, | |
0.005967872142791748, | |
0.006119423866271972, | |
0.006124544143676758, | |
0.006145023822784424, | |
0.006147071838378906, | |
0.006169600009918213, | |
0.006165503978729248, | |
0.0061562881469726565, | |
0.006266880035400391, | |
0.00628223991394043, | |
0.006301695823669433, | |
0.006244351863861084, | |
0.0063170561790466305, | |
0.0062638077735900875, | |
0.006285312175750732, | |
0.0062566399574279785, | |
0.006362112045288086, | |
0.006311935901641846, | |
0.006303743839263916, | |
0.006308864116668702, | |
0.006304768085479737, | |
0.006292479991912842, | |
0.006245376110076905, | |
0.006260735988616943, | |
0.0063211522102355954, | |
0.0062863359451293946, | |
0.006195199966430664, | |
0.006146048069000244, | |
0.006182911872863769, | |
0.00612556791305542, | |
0.006165503978729248, | |
0.0061859841346740725, | |
0.006145023822784424, | |
0.006196224212646485, | |
0.006305791854858398, | |
0.006276095867156982, | |
0.006253568172454834, | |
0.006236159801483154, | |
0.006252543926239014, | |
0.006250495910644531, | |
0.006243328094482422, | |
0.0061224961280822755, | |
0.006173696041107178, | |
0.006157311916351318, | |
0.006203392028808594, | |
0.006169568061828614, | |
0.006020095825195313, | |
0.005963776111602783, | |
0.005960703849792481, | |
0.005955584049224853, | |
0.005962751865386963, | |
0.005940224170684814, | |
0.005963776111602783, | |
0.005921792030334472, | |
0.005955584049224853, | |
0.005957632064819336, | |
0.005970943927764893, | |
0.005970943927764893, | |
0.0060026879310607914, | |
0.005943295955657959, | |
0.005985280036926269, | |
0.005966847896575928, | |
0.005989376068115234, | |
0.005985280036926269, | |
0.005982207775115967, | |
0.005974016189575195, | |
0.006013951778411865, | |
0.005957632064819336, | |
0.0059770879745483394, | |
0.005948416233062744, | |
0.005991424083709717, | |
0.005936192035675049, | |
0.006103040218353272, | |
0.005943295955657959, | |
0.006046688079833985, | |
0.005954559803009033 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 161.50884830719806 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.143940532223449e-08, | |
"ram": 3.904175865138686e-08, | |
"gpu": 1.322156345542155e-07, | |
"total": 2.4269679852783684e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4120367.4958460648 | |
} | |
} | |
} | |
} |