Skip to content

Commit

Permalink
address #9
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Jan 31, 2024
1 parent 8ae68ff commit bb5c1e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions q_transformer/agent.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
from pathlib import Path

from numpy.lib.format import open_memmap
Expand All @@ -18,6 +19,10 @@

from tqdm import tqdm

# just force training on 64 bit systems

assert sys.maxsize > (2 ** 32), 'you need to be on 64 bit system to store > 2GB experience for your q-transformer agent'

# constants

TEXT_EMBEDS_FILENAME = 'text_embeds.memmap.npy'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'q-transformer',
packages = find_packages(exclude=[]),
version = '0.1.9',
version = '0.1.10',
license='MIT',
description = 'Q-Transformer',
author = 'Phil Wang',
Expand Down

0 comments on commit bb5c1e3

Please sign in to comment.