mirror of
https://github.com/exo-explore/exo.git
synced 2025-10-23 02:57:14 +03:00
add commit to results
This commit is contained in:
1
.github/bench.py
vendored
1
.github/bench.py
vendored
@@ -222,6 +222,7 @@ async def measure_performance(api_endpoint: str, prompt: str, model: str) -> Dic
|
|||||||
'model': model,
|
'model': model,
|
||||||
'run_id': os.environ.get('GITHUB_RUN_ID', 'unknown'),
|
'run_id': os.environ.get('GITHUB_RUN_ID', 'unknown'),
|
||||||
'branch': os.environ.get('GITHUB_REF_NAME', 'unknown'),
|
'branch': os.environ.get('GITHUB_REF_NAME', 'unknown'),
|
||||||
|
'commit': os.environ.get('GITHUB_SHA', 'unknown'),
|
||||||
'configuration': json.loads(os.environ.get('HARDWARE_CONFIG', '{}'))
|
'configuration': json.loads(os.environ.get('HARDWARE_CONFIG', '{}'))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user