Skip to content

Commit

Permalink
fix(diffusers): add --no-dev because it shouldn't install dev depende…
Browse files Browse the repository at this point in the history
…ncies
  • Loading branch information
philwinder committed Dec 3, 2024
1 parent f8c022f commit e6b8d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/pkg/runner/diffusers_model_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func (i *DiffusersModelInstance) Start(ctx context.Context) error {
if i.filter.Mode == types.SessionModeInference {
cmd = exec.CommandContext(
ctx,
"uv", "run",
"uv", "run", "--no-dev", // Don't install dev dependencies
"uvicorn", "main:app",
"--host", "0.0.0.0",
"--port", strconv.Itoa(i.port),
Expand Down

0 comments on commit e6b8d83

Please sign in to comment.