Spaces:
Configuration error
Configuration error
Commit ·
a49e405
1
Parent(s): 7bfa030
push fix 1
Browse files- .history/conda_20250202111908.yaml +19 -0
- conda.yaml +9 -3
.history/conda_20250202111908.yaml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: chatbot-env
|
| 2 |
+
channels:
|
| 3 |
+
- pytorch
|
| 4 |
+
- conda-forge
|
| 5 |
+
- defaults
|
| 6 |
+
dependencies:
|
| 7 |
+
- python=3.10
|
| 8 |
+
- gradio
|
| 9 |
+
- pyyaml
|
| 10 |
+
- transformers
|
| 11 |
+
- pytorch::torch>=2.0.0 torchvision torchaudio pytorch-cuda=11.8 -c pytorch
|
| 12 |
+
- accelerate>=0.26.0
|
| 13 |
+
- bitsandbytes
|
| 14 |
+
|
| 15 |
+
# --- Force environment recreation on each build (Less efficient - use with caution) ---
|
| 16 |
+
# This section is NOT standard Conda practice for every startup, but can be used for debugging
|
| 17 |
+
run:
|
| 18 |
+
- conda env remove -n chatbot-env --yes # Remove existing environment (if it exists)
|
| 19 |
+
- conda env create -f conda.yaml --force --yes # Recreate environment from scratch
|
conda.yaml
CHANGED
|
@@ -4,10 +4,16 @@ channels:
|
|
| 4 |
- conda-forge
|
| 5 |
- defaults
|
| 6 |
dependencies:
|
| 7 |
-
- python=3.10
|
| 8 |
- gradio
|
| 9 |
- pyyaml
|
| 10 |
- transformers
|
| 11 |
-
- pytorch::torch>=2.0.0 torchvision torchaudio pytorch-cuda=11.8 -c pytorch
|
| 12 |
- accelerate>=0.26.0
|
| 13 |
-
- bitsandbytes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
- conda-forge
|
| 5 |
- defaults
|
| 6 |
dependencies:
|
| 7 |
+
- python=3.10
|
| 8 |
- gradio
|
| 9 |
- pyyaml
|
| 10 |
- transformers
|
| 11 |
+
- pytorch::torch>=2.0.0 torchvision torchaudio pytorch-cuda=11.8 -c pytorch
|
| 12 |
- accelerate>=0.26.0
|
| 13 |
+
- bitsandbytes
|
| 14 |
+
|
| 15 |
+
# --- Force environment recreation on each build (Less efficient - use with caution) ---
|
| 16 |
+
# This section is NOT standard Conda practice for every startup, but can be used for debugging
|
| 17 |
+
run:
|
| 18 |
+
- conda env remove -n chatbot-env --yes # Remove existing environment (if it exists)
|
| 19 |
+
- conda env create -f conda.yaml --force --yes # Recreate environment from scratch
|