IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1dd0480
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "timm", | |
"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": 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.1", | |
"optimum_benchmark_commit": "d8c451da5aac8852b6a6e83b9b56a2aa6f007535", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1828.970496, | |
"max_global_vram": 1521.64352, | |
"max_process_vram": 106229.870592, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 160, | |
"total": 0.9955210194587701, | |
"mean": 0.006222006371617317, | |
"stdev": 0.00032682822494373734, | |
"p50": 0.006112008571624756, | |
"p90": 0.006661624956130981, | |
"p95": 0.00667816092967987, | |
"p99": 0.006922026996612547, | |
"values": [ | |
0.0072166500091552736, | |
0.005923367977142334, | |
0.006100647926330567, | |
0.006078087806701661, | |
0.005884007930755615, | |
0.005919367790222168, | |
0.005904647827148437, | |
0.007425930023193359, | |
0.006641129016876221, | |
0.0063496088981628415, | |
0.006278408050537109, | |
0.005882887840270996, | |
0.005864007949829102, | |
0.0058630480766296384, | |
0.005896168231964111, | |
0.006214407920837403, | |
0.006610729217529297, | |
0.006670568943023682, | |
0.006625449180603028, | |
0.006608008861541748, | |
0.006620008945465088, | |
0.006630888938903809, | |
0.0066878490447998045, | |
0.00662208890914917, | |
0.006658409118652344, | |
0.006668649196624756, | |
0.006313447952270508, | |
0.006241447925567627, | |
0.006645449161529541, | |
0.006615849018096924, | |
0.006677928924560547, | |
0.006690409183502197, | |
0.006683049201965332, | |
0.0066646490097045895, | |
0.006652489185333252, | |
0.006677128791809082, | |
0.006648488998413086, | |
0.00667232894897461, | |
0.006551369190216065, | |
0.006302567958831787, | |
0.006539207935333252, | |
0.0064224090576171875, | |
0.006105768203735352, | |
0.0060596890449523926, | |
0.006061448097229004, | |
0.006517609119415283, | |
0.006121928215026855, | |
0.006099847793579102, | |
0.006101448059082032, | |
0.006088008880615234, | |
0.006031688213348389, | |
0.006196487903594971, | |
0.0061209678649902345, | |
0.006408009052276611, | |
0.0060904078483581545, | |
0.006171369075775147, | |
0.006635688781738282, | |
0.006652009010314941, | |
0.006661448955535889, | |
0.006671049118041992, | |
0.006660008907318115, | |
0.006636808872222901, | |
0.006640328884124756, | |
0.006682569026947021, | |
0.006663208961486817, | |
0.006717288970947265, | |
0.006706089019775391, | |
0.006631689071655273, | |
0.00646064805984497, | |
0.006420648097991944, | |
0.00612448787689209, | |
0.005931848049163818, | |
0.005929287910461426, | |
0.005965288162231445, | |
0.005917128086090088, | |
0.0059337677955627445, | |
0.005890408039093018, | |
0.006239367961883545, | |
0.0065222492218017574, | |
0.006133607864379883, | |
0.006616969108581543, | |
0.006068007946014404, | |
0.006168808937072754, | |
0.00620528793334961, | |
0.006496969223022461, | |
0.0060452880859375, | |
0.005938568115234375, | |
0.005920328140258789, | |
0.005890727996826172, | |
0.005946248054504394, | |
0.005958888053894043, | |
0.0059393677711486815, | |
0.005897768020629883, | |
0.005909607887268066, | |
0.006037447929382324, | |
0.006086408138275146, | |
0.00594592809677124, | |
0.005909287929534912, | |
0.006014248847961426, | |
0.006099368095397949, | |
0.006200488090515137, | |
0.005952807903289795, | |
0.005940968036651611, | |
0.005928167819976807, | |
0.005873767852783203, | |
0.005897448062896728, | |
0.00590336799621582, | |
0.00587824821472168, | |
0.005890727996826172, | |
0.005879047870635986, | |
0.005898888111114502, | |
0.005873767852783203, | |
0.005888487815856934, | |
0.005867368221282959, | |
0.005875207901000976, | |
0.005845287799835205, | |
0.005866407871246338, | |
0.0058537678718566894, | |
0.005865767955780029, | |
0.005845448017120361, | |
0.005860806941986084, | |
0.0058624081611633305, | |
0.006030408859252929, | |
0.006616968154907227, | |
0.00662064790725708, | |
0.0066089692115783695, | |
0.006645608901977539, | |
0.006119208812713623, | |
0.006194727897644043, | |
0.006209288120269775, | |
0.006138888835906983, | |
0.00633136796951294, | |
0.00611824893951416, | |
0.006125768184661865, | |
0.005912807941436768, | |
0.006298888206481934, | |
0.006132489204406739, | |
0.005921288013458252, | |
0.00594432783126831, | |
0.005903048038482666, | |
0.005916647911071778, | |
0.006076648235321045, | |
0.005916967868804932, | |
0.005939847946166992, | |
0.0060145678520202635, | |
0.006411529064178466, | |
0.006496808052062988, | |
0.006498408794403076, | |
0.006512168884277344, | |
0.006352328777313233, | |
0.0065864090919494625, | |
0.005976967811584473, | |
0.0059811282157897945, | |
0.0059785680770874025, | |
0.005922567844390869, | |
0.005977767944335938, | |
0.005964168071746826, | |
0.00597600793838501, | |
0.005922408103942871, | |
0.005937127113342286 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 160.719861130593 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |