IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e5568cb verified
raw
history blame
11.3 kB
{
"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_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": {},
"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,
"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": "error",
"numactl": false,
"numactl_kwargs": {},
"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.3.1",
"optimum_benchmark_commit": "94ccda0ad71bebc72e235e85dbfd6165ea4a634c",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 983.031808,
"max_global_vram": 2695.766016,
"max_process_vram": 44034.78528,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.40609130859375,
"mean": 7.40609130859375,
"stdev": 0.0,
"p50": 7.40609130859375,
"p90": 7.40609130859375,
"p95": 7.40609130859375,
"p99": 7.40609130859375,
"values": [
7.40609130859375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1841.917952,
"max_global_vram": 2807.144448,
"max_process_vram": 267652.829184,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 136,
"total": 0.9968885378837584,
"mean": 0.007330062778557047,
"stdev": 0.00023931353558917664,
"p50": 0.007219101428985596,
"p90": 0.007683100938796997,
"p95": 0.007979060173034668,
"p99": 0.008119115829467774,
"values": [
0.007969260215759277,
0.007643980026245117,
0.0077750210762023925,
0.007313100814819336,
0.00740382194519043,
0.007285420894622803,
0.007350701808929444,
0.007263661861419678,
0.007321421146392822,
0.007310701847076416,
0.0072327818870544435,
0.007238542079925537,
0.007250061988830566,
0.007263021945953369,
0.007283181190490723,
0.0072561421394348145,
0.00742478084564209,
0.0073846220970153805,
0.0072260618209838865,
0.007500142097473145,
0.007383660793304443,
0.007156621932983398,
0.007383981227874756,
0.0073110218048095706,
0.0074123010635375975,
0.0072897419929504395,
0.00732318115234375,
0.007365101814270019,
0.007158381938934326,
0.007331181049346924,
0.0071667017936706545,
0.007173101902008056,
0.007271182060241699,
0.007437901020050049,
0.007364461898803711,
0.007206060886383057,
0.007169581890106201,
0.007395021915435791,
0.007205421924591064,
0.007588780879974365,
0.0077468609809875485,
0.007404140949249268,
0.007163341999053955,
0.007407501220703125,
0.007334541797637939,
0.007168941974639893,
0.007379981040954589,
0.007305902004241943,
0.007167342185974121,
0.007185902118682861,
0.007184142112731933,
0.007193582057952881,
0.007219501972198486,
0.007211182117462158,
0.00719694185256958,
0.007188782215118408,
0.007173421859741211,
0.007183661937713623,
0.007177742004394532,
0.007160942077636719,
0.0071900620460510255,
0.007334221839904785,
0.007188621997833252,
0.007187501907348633,
0.007153582096099853,
0.007218700885772705,
0.007219982147216797,
0.007190221786499023,
0.007196301937103271,
0.007179821968078613,
0.007207501888275147,
0.007177422046661377,
0.007154222011566162,
0.007186061859130859,
0.007175181865692139,
0.0071955018043518065,
0.007090062141418457,
0.007116302013397217,
0.007237582206726074,
0.007380782127380371,
0.00719854211807251,
0.007207181930541992,
0.007189742088317871,
0.007199982166290283,
0.007183661937713623,
0.007176462173461914,
0.007201422214508057,
0.007204462051391602,
0.007193582057952881,
0.00719422197341919,
0.007193262100219726,
0.008141739845275879,
0.008018699645996094,
0.008060779571533203,
0.008194219589233399,
0.00800846004486084,
0.008077099800109863,
0.00805325984954834,
0.007568621158599854,
0.007627339839935303,
0.0077132611274719235,
0.007741580963134766,
0.00766270112991333,
0.007735021114349365,
0.007693740844726562,
0.007672461032867431,
0.0076233410835266115,
0.007299981117248535,
0.0071399822235107425,
0.007094222068786621,
0.007199021816253662,
0.007229422092437744,
0.0072046217918395996,
0.0072065420150756836,
0.007502380847930908,
0.007368141174316406,
0.007171021938323975,
0.007201901912689209,
0.0072041420936584475,
0.007186222076416016,
0.0071452617645263675,
0.007187022209167481,
0.007186700820922851,
0.007345582008361816,
0.0072169418334960935,
0.007173421859741211,
0.007187501907348633,
0.0072347021102905276,
0.007126701831817627,
0.007272942066192627,
0.007123822212219238,
0.007207181930541992,
0.007197741985321045,
0.007232461929321289,
0.00718894100189209,
0.007195342063903809
]
},
"throughput": {
"unit": "samples/s",
"value": 136.4244796000034
},
"energy": null,
"efficiency": null
}
}
}