Skip to content

Commit

Permalink
Give wandb run time to finish
Browse files Browse the repository at this point in the history
  • Loading branch information
dunnkers committed Jul 28, 2022
1 parent ac2719c commit 9fa2c69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/unit/callbacks/test_to_wandb.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from time import sleep
import pandas as pd
import pytest
import wandb
Expand Down Expand Up @@ -129,6 +130,7 @@ def test_on_end(wandb_callback: WandbCallback, api: Api, request: FixtureRequest

# `on_end`
wandb_callback.on_end()
sleep(5) # wait to give wandb run time to end

# ensure finished
api._runs = {} # reset wandb runs internal cache
Expand Down
4 changes: 3 additions & 1 deletion website/docs/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,12 @@ Install fseval:
pip install fseval
```

Given the following [configuration](https://github.com/dunnkers/fseval/tree/master/examples/quick-start):

<Tabs groupId="config-representation">
<TabItem value="yaml" label="YAML" default>

Given the following [configuration](https://github.com/dunnkers/fseval/tree/master/examples/quick-start-yaml):

<FileTreeCodeViewer treeId="tree-1" template={{
root: {
"conf": {
Expand Down Expand Up @@ -87,6 +88,7 @@ Given the following [configuration](https://github.com/dunnkers/fseval/tree/mast
</TabItem>
<TabItem value="structured" label="Structured Config">

Given the following [configuration](https://github.com/dunnkers/fseval/tree/master/examples/quick-start-structured-configs):

<FileTreeCodeViewer treeId="tree-2" template={{
root: {
Expand Down

0 comments on commit 9fa2c69

Please sign in to comment.