Skip to content

Commit

Permalink
update version to 0.0.2 (#113)
Browse files Browse the repository at this point in the history
Also includes a small fix that caused the chat setting not to be cleared in the UI in case of OOM when loading the model.
  • Loading branch information
maxjeblick authored May 16, 2023
1 parent fec1d90 commit 9cea04c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app_utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_size(x):
return 2**31


version = "0.0.2-dev"
version = "0.0.2"

try:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
Expand Down
2 changes: 1 addition & 1 deletion app_utils/sections/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -1151,6 +1151,7 @@ async def chat_tab(q: Q, load_model=True):
)
],
)
q.client.delete_cards.add("experiment/display/chat/settings")

await q.page.save()
logger.info(torch.cuda.memory_allocated())
Expand Down Expand Up @@ -1204,7 +1205,6 @@ async def chat_tab(q: Q, load_model=True):
),
],
)
q.client.delete_cards.add("experiment/display/chat/settings")


async def chat_update(q: Q) -> None:
Expand Down

0 comments on commit 9cea04c

Please sign in to comment.