
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6d7865d
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "timm", | |
"model_type": "resnet50", | |
"model": "timm/resnet50.a1_in1k", | |
"processor": "timm/resnet50.a1_in1k", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_kwargs": {}, | |
"no_weights": false, | |
"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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 964.222976, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 0.9974559044837947, | |
"mean": 0.006785414316216294, | |
"stdev": 0.00047528029340756063, | |
"p50": 0.00640825605392456, | |
"p90": 0.007419289684295654, | |
"p95": 0.0074711041450500485, | |
"p99": 0.007660011672973633, | |
"values": [ | |
0.007749631881713868, | |
0.007505951881408691, | |
0.007549952030181885, | |
0.0074711041450500485, | |
0.007444479942321777, | |
0.00734822416305542, | |
0.0074711041450500485, | |
0.007556096076965332, | |
0.0073994240760803225, | |
0.007316544055938721, | |
0.007322624206542969, | |
0.007425024032592774, | |
0.007337984085083008, | |
0.00729702377319336, | |
0.007360511779785156, | |
0.007418879985809326, | |
0.007404543876647949, | |
0.007357439994812012, | |
0.00738099193572998, | |
0.007309311866760254, | |
0.007266304016113281, | |
0.007300096035003662, | |
0.007275519847869873, | |
0.0074301438331604, | |
0.00765337610244751, | |
0.007355391979217529, | |
0.007419904232025146, | |
0.007346176147460938, | |
0.007355391979217529, | |
0.007425024032592774, | |
0.007393280029296875, | |
0.007318496227264404, | |
0.007327744007110596, | |
0.007356416225433349, | |
0.007285759925842285, | |
0.007321599960327148, | |
0.0073134078979492185, | |
0.007371776103973389, | |
0.007476223945617676, | |
0.0073359360694885255, | |
0.007665664196014404, | |
0.007436351776123047, | |
0.007362495899200439, | |
0.00727347183227539, | |
0.007278656005859375, | |
0.007000063896179199, | |
0.0070860800743103025, | |
0.007384064197540283, | |
0.007116799831390381, | |
0.006911968231201172, | |
0.006811647891998291, | |
0.007164896011352539, | |
0.007045119762420654, | |
0.0073062400817871095, | |
0.007037951946258545, | |
0.007010303974151612, | |
0.007263232231140137, | |
0.007346176147460938, | |
0.0070225920677185055, | |
0.0068392958641052244, | |
0.006964223861694336, | |
0.0069918718338012695, | |
0.006952928066253662, | |
0.006716415882110595, | |
0.0067686400413513184, | |
0.006790143966674805, | |
0.006761472225189209, | |
0.006759424209594727, | |
0.006838272094726563, | |
0.00675328016281128, | |
0.006711296081542969, | |
0.006791168212890625, | |
0.0063907837867736815, | |
0.006315008163452148, | |
0.006366208076477051, | |
0.006348800182342529, | |
0.006375423908233643, | |
0.006375423908233643, | |
0.00633241605758667, | |
0.006354944229125976, | |
0.0063211522102355954, | |
0.0063508481979370115, | |
0.006336512088775635, | |
0.00633241605758667, | |
0.0063723201751708985, | |
0.006359039783477783, | |
0.006396927833557129, | |
0.006345727920532227, | |
0.0063211522102355954, | |
0.006344704151153564, | |
0.006306816101074219, | |
0.006370304107666015, | |
0.006328320026397705, | |
0.006329343795776367, | |
0.006367231845855713, | |
0.006294528007507324, | |
0.0063610877990722655, | |
0.0063528637886047365, | |
0.006343679904937744, | |
0.006396927833557129, | |
0.006342656135559082, | |
0.006348800182342529, | |
0.006325247764587402, | |
0.006344704151153564, | |
0.006377471923828125, | |
0.006322175979614258, | |
0.006331391811370849, | |
0.006306816101074219, | |
0.00640825605392456, | |
0.006372352123260498, | |
0.006339583873748779, | |
0.006385663986206055, | |
0.0063272957801818845, | |
0.0063907837867736815, | |
0.00636518383026123, | |
0.006342656135559082, | |
0.00636624002456665, | |
0.006296544075012207, | |
0.006344704151153564, | |
0.006341631889343262, | |
0.006510591983795166, | |
0.0063805441856384275, | |
0.006328320026397705, | |
0.00637440013885498, | |
0.006338624000549317, | |
0.006336512088775635, | |
0.006369279861450195, | |
0.006329343795776367, | |
0.006391808032989502, | |
0.00637440013885498, | |
0.006357056140899658, | |
0.006345727920532227, | |
0.006322175979614258, | |
0.006371327877044678, | |
0.006337535858154297, | |
0.006362112045288086, | |
0.00637440013885498, | |
0.006333439826965332, | |
0.006366208076477051, | |
0.006309887886047363, | |
0.006383552074432373, | |
0.006403071880340576, | |
0.006335487842559814, | |
0.0063836159706115725, | |
0.006316991806030273, | |
0.006358016014099121, | |
0.00637337589263916 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.3749359136589 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.925845517052544e-08, | |
"ram": 4.318092050770778e-08, | |
"gpu": 1.736779167200014e-07, | |
"total": 2.961172923982346e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3377040.198838323 | |
} | |
} | |
} | |
} |