File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
src/transformers/commands Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -364,6 +364,7 @@ def run(self):
364
364
+ extras ["retrieval" ]
365
365
+ extras ["modelcreation" ]
366
366
+ extras ["mistral-common" ]
367
+ + extras ["serving" ]
367
368
)
368
369
369
370
extras ["deepspeed-testing" ] = extras ["deepspeed" ] + extras ["testing" ] + extras ["optuna" ] + extras ["sentencepiece" ]
Original file line number Diff line number Diff line change @@ -687,10 +687,6 @@ async def lifespan(app: FastAPI):
687
687
logger .warning_once (
688
688
"CORS allow origin is set to `*`. This is not recommended for production environments."
689
689
)
690
- else :
691
- logger .warning_once (
692
- "Some apps may require CORS. Consider launching the server with `--enable-cors` if you see errors."
693
- )
694
690
695
691
@app .post ("/v1/chat/completions" )
696
692
def chat_completion (request : dict ):
You can’t perform that action at this time.
0 commit comments