Skip to content

Commit

Permalink
Tree: Format
Browse files Browse the repository at this point in the history
Signed-off-by: kingbri <[email protected]>
  • Loading branch information
bdashore3 committed Jul 23, 2024
1 parent 300f034 commit 3e8ffeb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions backends/exllamav2/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1080,8 +1080,6 @@ async def generate_gen(
else [self.tokenizer.eos_token_id]
)

print(self.tokenizer.eos_token_id)

# Ban the EOS token if specified. If not, append to stop conditions
# as well.
# Set this below logging to avoid polluting the stop strings array
Expand Down
3 changes: 1 addition & 2 deletions endpoints/server.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from typing import List
import uvicorn
from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
Expand Down Expand Up @@ -34,7 +33,7 @@ def setup_app():
allow_headers=["*"],
)

api_servers: List[str] = unwrap(config.network_config().get("api_servers"), [])
api_servers = unwrap(config.network_config().get("api_servers"), [])

# Map for API id to server router
router_mapping = {"oai": OAIRouter}
Expand Down

0 comments on commit 3e8ffeb

Please sign in to comment.