IlyasMoutawwakil
HF Staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
473712e
verified
| { | |
| "config": { | |
| "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", | |
| "backend": { | |
| "name": "pytorch", | |
| "version": "2.3.0+cpu", | |
| "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
| "task": "text-classification", | |
| "library": "transformers", | |
| "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": {}, | |
| "hub_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, | |
| "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": 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.354496, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-6.5.0-1021-azure-x86_64-with-glibc2.35", | |
| "processor": "x86_64", | |
| "python_version": "3.10.14", | |
| "optimum_benchmark_version": "0.2.1", | |
| "optimum_benchmark_commit": "1981150adc21fc49153cb832dbc6f0ecca02bc2a", | |
| "transformers_version": "4.41.0", | |
| "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": 936.583168, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 28, | |
| "total": 1.006206359000032, | |
| "mean": 0.03593594139285829, | |
| "stdev": 0.0027339006179416207, | |
| "p50": 0.036878963500001305, | |
| "p90": 0.03813769069999466, | |
| "p95": 0.0386071727499953, | |
| "p99": 0.04059631486999393, | |
| "values": [ | |
| 0.03882152500000302, | |
| 0.03810709100000054, | |
| 0.03788190299999883, | |
| 0.03820908999998096, | |
| 0.03756845199998793, | |
| 0.03741119000000026, | |
| 0.04125274399999057, | |
| 0.037611601999998356, | |
| 0.037845746000016334, | |
| 0.03776904400001513, | |
| 0.03696284899999114, | |
| 0.037455151000017395, | |
| 0.03673498700001687, | |
| 0.036913617999999815, | |
| 0.03682912099998248, | |
| 0.0368021510000176, | |
| 0.036844309000002795, | |
| 0.03749918299999422, | |
| 0.0360421310000163, | |
| 0.036560089999994716, | |
| 0.03226824399999373, | |
| 0.03101891700001147, | |
| 0.03101793500002259, | |
| 0.03151419599998917, | |
| 0.03185249300000237, | |
| 0.0325134079999998, | |
| 0.03269279099998812, | |
| 0.03220639799999958 | |
| ] | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 27.82729382452562 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 1.2283142656087877e-06, | |
| "ram": 5.1332085359039316e-08, | |
| "gpu": 0.0, | |
| "total": 1.279646350967827e-06 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 781465.9098927419 | |
| } | |
| } | |
| } | |
| } |