File size: 4,384 Bytes
b42a8f7 dafc46d b42a8f7 dafc46d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | ---
license: agpl-3.0
tags:
- smoltrace
- smolagents
- evaluation
- benchmark
- llm
- agents
---
<div align="center">
<img src="https://raw.githubusercontent.com/Mandark-droid/SMOLTRACE/main/.github/images/Logo.png" alt="SMOLTRACE Logo" width="400"/>
<h3>Tiny Agents. Total Visibility.</h3>
<p>
<a href="https://github.com/Mandark-droid/SMOLTRACE"><img src="https://img.shields.io/badge/GitHub-SMOLTRACE-blue?logo=github" alt="GitHub"></a>
<a href="https://pypi.org/project/smoltrace/"><img src="https://img.shields.io/pypi/v/smoltrace?color=green" alt="PyPI"></a>
<a href="https://github.com/Mandark-droid/SMOLTRACE#readme"><img src="https://img.shields.io/badge/docs-readme-orange" alt="Documentation"></a>
</p>
</div>
---
# SMOLTRACE GPU & Environmental Metrics
This dataset contains time-series GPU metrics and environmental impact data from a SMOLTRACE benchmark run.
## Dataset Information
| Field | Value |
|-------|-------|
| **Model** | `google/gemma-2-9b-it` |
| **Run ID** | `22f49e98-ecbb-4030-945b-4fbb7e779352` |
| **Total Samples** | 16 |
| **Generated** | 2025-11-26 10:50:21 UTC |
| **GPU Metrics** | Available |
## Schema
| Column | Type | Description |
|--------|------|-------------|
| `run_id` | string | Unique run identifier |
| `timestamp` | string | ISO timestamp of measurement |
| `timestamp_unix_nano` | string | Unix nanosecond timestamp |
| `service_name` | string | Service identifier |
| `gpu_id` | string | GPU device ID |
| `gpu_name` | string | GPU model name |
| `gpu_utilization_percent` | float | GPU compute utilization (0-100%) |
| `gpu_memory_used_mib` | float | GPU memory used (MiB) |
| `gpu_memory_total_mib` | float | Total GPU memory (MiB) |
| `gpu_temperature_celsius` | float | GPU temperature (°C) |
| `gpu_power_watts` | float | GPU power consumption (W) |
| `co2_emissions_gco2e` | float | Cumulative CO2 emissions (gCO2e) |
| `power_cost_usd` | float | Cumulative power cost (USD) |
## Environmental Impact
SMOLTRACE tracks environmental metrics to help you understand the carbon footprint of your AI workloads:
- **CO2 Emissions**: Calculated based on GPU power consumption and regional carbon intensity
- **Power Cost**: Estimated electricity cost based on configurable rates
## Usage
```python
from datasets import load_dataset
import pandas as pd
# Load metrics
ds = load_dataset("YOUR_USERNAME/smoltrace-metrics-TIMESTAMP")
# Convert to DataFrame for analysis
df = pd.DataFrame(ds['train'])
# Plot GPU utilization over time
import matplotlib.pyplot as plt
plt.plot(df['timestamp'], df['gpu_utilization_percent'])
plt.xlabel('Time')
plt.ylabel('GPU Utilization (%)')
plt.title('GPU Utilization During Evaluation')
plt.show()
# Get total environmental impact
total_co2 = df['co2_emissions_gco2e'].max()
total_cost = df['power_cost_usd'].max()
print(f"Total CO2: {total_co2:.4f} gCO2e")
print(f"Total Cost: ${total_cost:.6f}")
```
## Related Datasets
This evaluation run also generated:
- **Results Dataset**: Pass/fail outcomes for each test case
- **Traces Dataset**: Detailed OpenTelemetry execution traces
- **Leaderboard**: Aggregated metrics for model comparison
---
## About SMOLTRACE
**SMOLTRACE** is a comprehensive benchmarking and evaluation framework for [Smolagents](https://huggingface.co/docs/smolagents) - HuggingFace's lightweight agent library.
### Key Features
- Automated agent evaluation with customizable test cases
- OpenTelemetry-based tracing for detailed execution insights
- GPU metrics collection (utilization, memory, temperature, power)
- CO2 emissions and power cost tracking
- Leaderboard aggregation and comparison
### Quick Links
- [GitHub Repository](https://github.com/Mandark-droid/SMOLTRACE)
- [PyPI Package](https://pypi.org/project/smoltrace/)
- [Documentation](https://github.com/Mandark-droid/SMOLTRACE#readme)
- [Report Issues](https://github.com/Mandark-droid/SMOLTRACE/issues)
### Installation
```bash
pip install smoltrace
```
### Citation
If you use SMOLTRACE in your research, please cite:
```bibtex
@software{smoltrace,
title = {SMOLTRACE: Benchmarking Framework for Smolagents},
author = {Thakkar, Kshitij},
url = {https://github.com/Mandark-droid/SMOLTRACE},
year = {2025}
}
```
---
<div align="center">
<sub>Generated by <a href="https://github.com/Mandark-droid/SMOLTRACE">SMOLTRACE</a></sub>
</div>
|