Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52a7922e98 | ||
|
|
558583b16f |
No files matched your search
@@ -293,6 +293,8 @@ As mentioned you must have a small portion of the Nvidia CUDA Toolkit **11.8** i
|
|||||||
12) When you have finished finetuning, the final tab will tell you what to do with your files and how to move your newly trained model to the correct location on disk.
|
12) When you have finished finetuning, the final tab will tell you what to do with your files and how to move your newly trained model to the correct location on disk.
|
||||||
|
|
||||||
## 🔵🟢🟡 DeepSpeed Installation Options
|
## 🔵🟢🟡 DeepSpeed Installation Options
|
||||||
|
**NOTE**: You **DO NOT** need to set Text-generation-webUI's **--deepspeed** setting for AllTalk to be able to use DeepSpeed. These are two completely separate things and incorrectly setting that on Text-generation-webUI may cause other complications.
|
||||||
|
|
||||||
#### 🔵 Linux Installation
|
#### 🔵 Linux Installation
|
||||||
<details>
|
<details>
|
||||||
<summary>Click to expand: Linux DeepSpeed installation</summary>
|
<summary>Click to expand: Linux DeepSpeed installation</summary>
|
||||||
|
|||||||
@@ -10,4 +10,4 @@ requests>=2.31.0
|
|||||||
tqdm>=4.66.1
|
tqdm>=4.66.1
|
||||||
importlib-metadata>=4.8.1
|
importlib-metadata>=4.8.1
|
||||||
packaging>=23.2
|
packaging>=23.2
|
||||||
pydantic>=2.5.0
|
pydantic>=1.10.13
|
||||||
@@ -10,4 +10,4 @@ requests>=2.31.0
|
|||||||
tqdm>=4.66.1
|
tqdm>=4.66.1
|
||||||
importlib-metadata>=4.8.1
|
importlib-metadata>=4.8.1
|
||||||
packaging>=23.2
|
packaging>=23.2
|
||||||
pydantic>=2.5.0
|
pydantic>=1.10.13
|
||||||
+1
-3
@@ -22,7 +22,6 @@ from fastapi.templating import Jinja2Templates
|
|||||||
from fastapi.staticfiles import StaticFiles
|
from fastapi.staticfiles import StaticFiles
|
||||||
from jinja2 import Template
|
from jinja2 import Template
|
||||||
from contextlib import asynccontextmanager
|
from contextlib import asynccontextmanager
|
||||||
from pydantic import field_validator
|
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
#### STARTUP VARIABLES ####
|
#### STARTUP VARIABLES ####
|
||||||
@@ -647,11 +646,10 @@ class JSONInput(BaseModel):
|
|||||||
autoplay: bool = Field(..., description="autoplay needs to be a true or false value.")
|
autoplay: bool = Field(..., description="autoplay needs to be a true or false value.")
|
||||||
autoplay_volume: float = Field(..., ge=0.1, le=1.0, description="autoplay_volume needs to be from 0.1 to 1.0")
|
autoplay_volume: float = Field(..., ge=0.1, le=1.0, description="autoplay_volume needs to be from 0.1 to 1.0")
|
||||||
|
|
||||||
@field_validator("autoplay_volume")
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def validate_autoplay_volume(cls, value):
|
def validate_autoplay_volume(cls, value):
|
||||||
if not (0.1 <= value <= 1.0):
|
if not (0.1 <= value <= 1.0):
|
||||||
raise ValidationError("Autoplay volume must be between 0.1 and 1.0")
|
raise ValueError("Autoplay volume must be between 0.1 and 1.0")
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user