Spaces:
Runtime error
Runtime error
testinng zerogpu
Browse files- requirements.txt +2 -128
- sotopia_generate.py +1 -1
requirements.txt
CHANGED
|
@@ -1,51 +1,8 @@
|
|
| 1 |
-
absl-py==2.1.0
|
| 2 |
-
accelerate==0.29.3
|
| 3 |
-
aiofiles==23.2.1
|
| 4 |
-
aiohttp==3.9.5
|
| 5 |
-
aiosignal==1.3.1
|
| 6 |
-
altair==5.3.0
|
| 7 |
-
annotated-types==0.6.0
|
| 8 |
-
anyio==3.7.1
|
| 9 |
-
attrs==23.2.0
|
| 10 |
-
beartype==0.14.1
|
| 11 |
bitsandbytes==0.42.0
|
| 12 |
-
certifi==2024.2.2
|
| 13 |
-
cffi==1.16.0
|
| 14 |
-
charset-normalizer==3.3.2
|
| 15 |
-
click==8.1.7
|
| 16 |
-
cloudpickle==3.0.0
|
| 17 |
-
contourpy==1.2.1
|
| 18 |
-
cryptography==42.0.5
|
| 19 |
-
cycler==0.12.1
|
| 20 |
-
dataclasses-json==0.6.4
|
| 21 |
datasets==2.18.0
|
| 22 |
-
dill==0.3.8
|
| 23 |
-
distro==1.9.0
|
| 24 |
-
Farama-Notifications==0.0.4
|
| 25 |
-
ffmpy==0.3.2
|
| 26 |
-
filelock==3.13.4
|
| 27 |
-
fonttools==4.51.0
|
| 28 |
-
frozenlist==1.4.1
|
| 29 |
-
fsspec==2024.2.0
|
| 30 |
-
gin-config==0.5.0
|
| 31 |
gradio==4.27.0
|
| 32 |
gradio_client==0.15.1
|
| 33 |
-
greenlet==3.0.3
|
| 34 |
-
gymnasium==0.29.1
|
| 35 |
-
h11==0.14.0
|
| 36 |
-
hiredis==2.3.2
|
| 37 |
-
httpcore==1.0.5
|
| 38 |
-
httpx==0.27.0
|
| 39 |
huggingface-hub==0.22.2
|
| 40 |
-
idna==3.7
|
| 41 |
-
importlib_metadata==7.1.0
|
| 42 |
-
importlib_resources==6.4.0
|
| 43 |
-
Jinja2==3.1.3
|
| 44 |
-
jsonpatch==1.33
|
| 45 |
-
jsonpointer==2.4
|
| 46 |
-
jsonschema==4.21.1
|
| 47 |
-
jsonschema-specifications==2023.12.1
|
| 48 |
-
kiwisolver==1.4.5
|
| 49 |
langchain==0.1.16
|
| 50 |
langchain-community==0.0.33
|
| 51 |
langchain-core==0.1.44
|
|
@@ -53,96 +10,13 @@ langchain-openai==0.0.5
|
|
| 53 |
langchain-text-splitters==0.0.1
|
| 54 |
langsmith==0.1.48
|
| 55 |
litellm==1.35.12
|
| 56 |
-
lxml==4.9.4
|
| 57 |
-
markdown-it-py==3.0.0
|
| 58 |
-
MarkupSafe==2.1.5
|
| 59 |
-
marshmallow==3.21.1
|
| 60 |
-
matplotlib==3.8.4
|
| 61 |
-
mdurl==0.1.2
|
| 62 |
-
more-itertools==10.2.0
|
| 63 |
-
mpmath==1.3.0
|
| 64 |
-
multidict==6.0.5
|
| 65 |
-
multiprocess==0.70.16
|
| 66 |
-
mypy==1.9.0
|
| 67 |
-
mypy-extensions==1.0.0
|
| 68 |
-
names==0.3.0
|
| 69 |
-
networkx==3.3
|
| 70 |
numpy==1.26.4
|
| 71 |
-
# nvidia-cublas-cu12==12.1.3.1
|
| 72 |
-
# nvidia-cuda-cupti-cu12==12.1.105
|
| 73 |
-
# nvidia-cuda-nvrtc-cu12==12.1.105
|
| 74 |
-
# nvidia-cuda-runtime-cu12==12.1.105
|
| 75 |
-
# nvidia-cudnn-cu12==8.9.2.26
|
| 76 |
-
# nvidia-cufft-cu12==11.0.2.54
|
| 77 |
-
# nvidia-curand-cu12==10.3.2.106
|
| 78 |
-
# nvidia-cusolver-cu12==11.4.5.107
|
| 79 |
-
# nvidia-cusparse-cu12==12.1.0.106
|
| 80 |
-
# nvidia-nccl-cu12==2.19.3
|
| 81 |
-
# nvidia-nvjitlink-cu12==12.4.127
|
| 82 |
-
# nvidia-nvtx-cu12==12.1.105
|
| 83 |
openai==1.22.0
|
| 84 |
-
orjson==3.10.1
|
| 85 |
-
packaging==23.2
|
| 86 |
-
pandas==2.2.2
|
| 87 |
-
pandas-stubs==2.2.1.240316
|
| 88 |
peft==0.10.0
|
| 89 |
-
pettingzoo==1.24.0
|
| 90 |
pillow==10.3.0
|
| 91 |
-
psutil==5.9.8
|
| 92 |
-
pyarrow==15.0.2
|
| 93 |
-
pyarrow-hotfix==0.6
|
| 94 |
-
pycparser==2.22
|
| 95 |
pydantic==2.7.0
|
| 96 |
pydantic_core==2.18.1
|
| 97 |
-
pydub==0.25.1
|
| 98 |
-
Pygments==2.17.2
|
| 99 |
-
pyparsing==3.1.2
|
| 100 |
-
python-dateutil==2.9.0.post0
|
| 101 |
-
python-dotenv==1.0.1
|
| 102 |
-
python-multipart==0.0.9
|
| 103 |
-
python-ulid==1.1.0
|
| 104 |
-
pytz==2024.1
|
| 105 |
-
PyYAML==6.0.1
|
| 106 |
-
redis==5.0.3
|
| 107 |
referencing==0.34.0
|
| 108 |
-
|
| 109 |
-
requests==2.31.0
|
| 110 |
-
rich==13.7.1
|
| 111 |
-
rpds-py==0.18.0
|
| 112 |
-
ruff==0.3.7
|
| 113 |
-
safetensors==0.4.3
|
| 114 |
-
scipy==1.13.0
|
| 115 |
-
semantic-version==2.10.0
|
| 116 |
-
shellingham==1.5.4
|
| 117 |
-
six==1.16.0
|
| 118 |
-
sniffio==1.3.1
|
| 119 |
-
SQLAlchemy==2.0.29
|
| 120 |
-
sseclient-py==1.8.0
|
| 121 |
-
starlette==0.27.0
|
| 122 |
-
sympy==1.12
|
| 123 |
-
tabulate==0.9.0
|
| 124 |
-
tenacity==8.2.3
|
| 125 |
-
tiktoken==0.5.2
|
| 126 |
-
tokenizers==0.19.1
|
| 127 |
-
tomlkit==0.12.0
|
| 128 |
-
toolz==0.12.1
|
| 129 |
-
torch==2.2.2
|
| 130 |
tqdm==4.66.2
|
| 131 |
-
transformers==4.40.0
|
| 132 |
-
# triton==2.2.0
|
| 133 |
-
typer==0.12.3
|
| 134 |
-
types-cffi==1.16.0.20240331
|
| 135 |
-
types-pyOpenSSL==24.0.0.20240417
|
| 136 |
-
types-pytz==2024.1.0.20240417
|
| 137 |
-
types-redis==4.6.0.20240417
|
| 138 |
-
types-setuptools==69.5.0.20240415
|
| 139 |
-
types-tqdm==4.66.0.20240417
|
| 140 |
-
typing-inspect==0.9.0
|
| 141 |
-
typing_extensions==4.11.0
|
| 142 |
-
tzdata==2024.1
|
| 143 |
-
urllib3==2.2.1
|
| 144 |
-
uvicorn==0.23.2
|
| 145 |
-
websockets==11.0.3
|
| 146 |
-
xxhash==3.4.1
|
| 147 |
-
yarl==1.9.4
|
| 148 |
-
zipp==3.18.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
bitsandbytes==0.42.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
datasets==2.18.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
gradio==4.27.0
|
| 4 |
gradio_client==0.15.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
huggingface-hub==0.22.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
langchain==0.1.16
|
| 7 |
langchain-community==0.0.33
|
| 8 |
langchain-core==0.1.44
|
|
|
|
| 10 |
langchain-text-splitters==0.0.1
|
| 11 |
langsmith==0.1.48
|
| 12 |
litellm==1.35.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
numpy==1.26.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
openai==1.22.0
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
peft==0.10.0
|
|
|
|
| 16 |
pillow==10.3.0
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
pydantic==2.7.0
|
| 18 |
pydantic_core==2.18.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
referencing==0.34.0
|
| 20 |
+
torch==2.2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
tqdm==4.66.2
|
| 22 |
+
transformers==4.40.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sotopia_generate.py
CHANGED
|
@@ -81,7 +81,7 @@ def generate_action(
|
|
| 81 |
# print(e)
|
| 82 |
# return AgentAction(action_type="none", argument="")
|
| 83 |
|
| 84 |
-
|
| 85 |
def prepare_model(model_name):
|
| 86 |
compute_type = torch.float16
|
| 87 |
|
|
|
|
| 81 |
# print(e)
|
| 82 |
# return AgentAction(action_type="none", argument="")
|
| 83 |
|
| 84 |
+
|
| 85 |
def prepare_model(model_name):
|
| 86 |
compute_type = torch.float16
|
| 87 |
|