IlyasMoutawwakil HF Staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
135f7e0 verified | { | |
| "config": { | |
| "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", | |
| "backend": { | |
| "name": "pytorch", | |
| "version": "2.4.1+cpu", | |
| "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
| "task": "text-classification", | |
| "library": "transformers", | |
| "model_type": "roberta", | |
| "model": "FacebookAI/roberta-base", | |
| "processor": "FacebookAI/roberta-base", | |
| "device": "cpu", | |
| "device_ids": null, | |
| "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": false, | |
| "device_isolation_action": "error", | |
| "numactl": false, | |
| "numactl_kwargs": {}, | |
| "start_method": "spawn" | |
| }, | |
| "environment": { | |
| "cpu": " AMD EPYC 7763 64-Core Processor", | |
| "cpu_count": 4, | |
| "cpu_ram_mb": 16757.338112, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-6.5.0-1025-azure-x86_64-with-glibc2.35", | |
| "processor": "x86_64", | |
| "python_version": "3.10.14", | |
| "optimum_benchmark_version": "0.4.0", | |
| "optimum_benchmark_commit": "8e57994b5ce38f2b6b651d101ec502f7ee7fbb9a", | |
| "transformers_version": "4.44.2", | |
| "transformers_commit": null, | |
| "accelerate_version": "0.34.0", | |
| "accelerate_commit": null, | |
| "diffusers_version": "0.30.2", | |
| "diffusers_commit": null, | |
| "optimum_version": null, | |
| "optimum_commit": null, | |
| "timm_version": "1.0.9", | |
| "timm_commit": null, | |
| "peft_version": null, | |
| "peft_commit": null | |
| } | |
| }, | |
| "report": { | |
| "load": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 945.823744, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 1, | |
| "total": 4.5299740859999815, | |
| "mean": 4.5299740859999815, | |
| "stdev": 0.0, | |
| "p50": 4.5299740859999815, | |
| "p90": 4.5299740859999815, | |
| "p95": 4.5299740859999815, | |
| "p99": 4.5299740859999815, | |
| "values": [ | |
| 4.5299740859999815 | |
| ] | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 4.8322584488887014e-05, | |
| "ram": 2.0196308231987137e-06, | |
| "gpu": 0, | |
| "total": 5.034221531208573e-05 | |
| }, | |
| "efficiency": null | |
| }, | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 953.42592, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 27, | |
| "total": 1.0295815119998224, | |
| "mean": 0.03813264859258601, | |
| "stdev": 0.0019622716102717544, | |
| "p50": 0.03743664799998214, | |
| "p90": 0.04097448299999087, | |
| "p95": 0.04137049609997234, | |
| "p99": 0.04156622490000245, | |
| "values": [ | |
| 0.03642218599998159, | |
| 0.036356292999983, | |
| 0.035940608000032626, | |
| 0.035589974000004077, | |
| 0.03634685599996601, | |
| 0.03810016500000302, | |
| 0.03713453500000696, | |
| 0.03743664799998214, | |
| 0.03727685999996311, | |
| 0.035685332000014114, | |
| 0.03612827799997831, | |
| 0.03776059099999429, | |
| 0.03691570699999147, | |
| 0.03697387400001162, | |
| 0.03620852799997465, | |
| 0.036088624000001346, | |
| 0.04057404799999631, | |
| 0.038764813999989656, | |
| 0.03956450599997652, | |
| 0.04108401899998171, | |
| 0.04149327199996833, | |
| 0.04005293599999504, | |
| 0.03931855700000142, | |
| 0.04159185700001444, | |
| 0.040901458999996976, | |
| 0.040534884999999576, | |
| 0.039336100000014085 | |
| ] | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 26.22424711915831 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 1.3677686998084808e-06, | |
| "ram": 5.716148315306442e-08, | |
| "gpu": 0.0, | |
| "total": 1.4249301829615454e-06 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 701788.7696936987 | |
| } | |
| } | |
| } | |
| } |