Skip to content

Commit

Permalink
Merge pull request #475 from parea-ai/PAI-702-bump-sleep-for-experime…
Browse files Browse the repository at this point in the history
…nt-stats

bump to 4 seconds sleep
  • Loading branch information
jalexanderII committed Feb 16, 2024
2 parents b222825 + 02bd33e commit 1ab07d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions parea/experiment/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import asyncio
import inspect
import os
import time
from collections import defaultdict
from collections.abc import Iterable
from copy import deepcopy
Expand Down Expand Up @@ -107,7 +106,7 @@ async def limit_concurrency(sample):
total_evals = len(thread_ids_running_evals.get())
await asyncio.sleep(0.5)

time.sleep(2)
await asyncio.sleep(4)
experiment_stats: ExperimentStatsSchema = p.finish_experiment(experiment_uuid)
stat_name_to_avg_std = calculate_avg_std_for_experiment(experiment_stats)
print(f"Experiment {name} stats:\n{json_dumps(stat_name_to_avg_std, indent=2)}\n\n")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "parea-ai"
packages = [{ include = "parea" }]
version = "0.2.76"
version = "0.2.76a0"
description = "Parea python sdk"
readme = "README.md"
authors = ["joel-parea-ai <[email protected]>"]
Expand Down

0 comments on commit 1ab07d6

Please sign in to comment.