
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7552d71
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"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, | |
"memory": true, | |
"latency": 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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 765.558784, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.43398388671875, | |
"mean": 7.43398388671875, | |
"stdev": 0.0, | |
"p50": 7.43398388671875, | |
"p90": 7.43398388671875, | |
"p95": 7.43398388671875, | |
"p99": 7.43398388671875, | |
"values": [ | |
7.43398388671875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0675281749995078e-06, | |
"ram": 5.691837199674086e-07, | |
"gpu": 1.6427790920001649e-06, | |
"total": 3.279490986967081e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 958.38208, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 157, | |
"total": 0.997865246772766, | |
"mean": 0.006355829597278766, | |
"stdev": 0.0001844325438155521, | |
"p50": 0.006248447895050049, | |
"p90": 0.00654376974105835, | |
"p95": 0.006739558410644531, | |
"p99": 0.006912983016967773, | |
"values": [ | |
0.006961152076721191, | |
0.006875135898590088, | |
0.00679318380355835, | |
0.006746111869812011, | |
0.006816768169403077, | |
0.006738944053649902, | |
0.007126976013183594, | |
0.006585343837738037, | |
0.006306816101074219, | |
0.006264832019805908, | |
0.0062576642036437985, | |
0.006248447895050049, | |
0.006240255832672119, | |
0.00626585578918457, | |
0.0062259202003479, | |
0.0062863359451293946, | |
0.0062566399574279785, | |
0.006239232063293457, | |
0.0062341117858886715, | |
0.006214655876159668, | |
0.0062228479385375976, | |
0.00619212818145752, | |
0.0062341117858886715, | |
0.006188032150268555, | |
0.006236159801483154, | |
0.006247424125671387, | |
0.006201344013214111, | |
0.006255616188049316, | |
0.006207520008087158, | |
0.006231040000915527, | |
0.00621670389175415, | |
0.006264800071716308, | |
0.006244351863861084, | |
0.006236159801483154, | |
0.006266880035400391, | |
0.00623308801651001, | |
0.006237184047698975, | |
0.006213632106781006, | |
0.0062341117858886715, | |
0.00623308801651001, | |
0.00622489595413208, | |
0.006239232063293457, | |
0.006228991985321045, | |
0.0062156801223754886, | |
0.0062156801223754886, | |
0.006234047889709472, | |
0.006207488059997559, | |
0.006242303848266601, | |
0.006235136032104492, | |
0.006212607860565185, | |
0.0062362241744995115, | |
0.006199295997619629, | |
0.006254591941833496, | |
0.0062259202003479, | |
0.00626585578918457, | |
0.006247424125671387, | |
0.006494207859039307, | |
0.006299647808074951, | |
0.006352960109710693, | |
0.006236159801483154, | |
0.006209536075592041, | |
0.006218751907348633, | |
0.006488992214202881, | |
0.006490111827850342, | |
0.006517792224884033, | |
0.006495232105255127, | |
0.006534143924713135, | |
0.006515711784362793, | |
0.006510591983795166, | |
0.006543360233306885, | |
0.006534143924713135, | |
0.0062269439697265625, | |
0.006252543926239014, | |
0.00620851182937622, | |
0.006251520156860352, | |
0.00623308801651001, | |
0.006194176197052002, | |
0.006149119853973388, | |
0.006155263900756836, | |
0.006179840087890625, | |
0.006148096084594727, | |
0.006146048069000244, | |
0.006141952037811279, | |
0.006201312065124511, | |
0.006135807991027832, | |
0.0061439361572265625, | |
0.006206463813781738, | |
0.006199295997619629, | |
0.006218815803527832, | |
0.006209536075592041, | |
0.00622489595413208, | |
0.006206463813781738, | |
0.006264832019805908, | |
0.006228991985321045, | |
0.006199295997619629, | |
0.006230016231536865, | |
0.0062197761535644535, | |
0.006246399879455566, | |
0.006218751907348633, | |
0.00623305606842041, | |
0.006207456111907959, | |
0.006223872184753418, | |
0.006235136032104492, | |
0.006221856117248535, | |
0.006235136032104492, | |
0.006214655876159668, | |
0.0062269439697265625, | |
0.006445055961608887, | |
0.00653107213973999, | |
0.006508543968200684, | |
0.006487040042877197, | |
0.0067420158386230465, | |
0.006526976108551025, | |
0.00648089599609375, | |
0.006555647850036621, | |
0.006525951862335205, | |
0.0064767999649047855, | |
0.0065484800338745115, | |
0.0065177597999572755, | |
0.006489151954650879, | |
0.0065443840026855465, | |
0.0064880638122558594, | |
0.006501376152038574, | |
0.006499328136444092, | |
0.006491136074066162, | |
0.006503424167633057, | |
0.006500351905822754, | |
0.006586368083953857, | |
0.0065136637687683106, | |
0.006449151992797852, | |
0.006472703933715821, | |
0.006494207859039307, | |
0.006468607902526856, | |
0.006495232105255127, | |
0.006499328136444092, | |
0.006510591983795166, | |
0.006526976108551025, | |
0.0065372161865234375, | |
0.006767615795135498, | |
0.006574079990386963, | |
0.00653715181350708, | |
0.006503424167633057, | |
0.00658841609954834, | |
0.0064737281799316405, | |
0.006536191940307618, | |
0.006496255874633789, | |
0.006498303890228272, | |
0.006520832061767578, | |
0.006533120155334473, | |
0.006440896034240723, | |
0.006434815883636475, | |
0.006176767826080322, | |
0.006206463813781738, | |
0.006157311916351318, | |
0.006202367782592774, | |
0.006221824169158936, | |
0.006231040000915527 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 157.33587326320827 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.49088869725723e-08, | |
"ram": 4.0955217815651665e-08, | |
"gpu": 1.3812598954430336e-07, | |
"total": 2.5399009433252733e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3937161.4181566713 | |
} | |
} | |
} | |
} |