Skip to content

Commit

Permalink
reset sd.go version
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberhan123 committed Jan 12, 2024
1 parent 90e112a commit bcd4641
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func NewApp() *App {
options.GpuEnable = false
}
options.FreeParamsImmediately = false
options.Threads = goruntime.NumCPU()
options.Threads = goruntime.NumCPU() - 2 // 2 threads for rest of the system
return &App{
options: &options,
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7bf71b5bfcacc78a6f1e620adc62bfb9
90614e40a5db2d1298880b27936688a9
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.4

require (
github.com/seasonjs/stable-diffusion v0.1.1
github.com/seasonjs/stable-diffusion v0.1.2
github.com/wailsapp/wails/v2 v2.7.1
)

Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ github.com/samber/lo v1.39.0 h1:4gTz1wUhNYLhFSKl6O+8peW0v2F4BCY034GRpU9WnuA=
github.com/samber/lo v1.39.0/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA=
github.com/seasonjs/stable-diffusion v0.1.1 h1:KManSoV7113HYyLlFJw6BWFwNi2qOBmxT1n5eBTCD6k=
github.com/seasonjs/stable-diffusion v0.1.1/go.mod h1:NZFm+33eOcIwZB49I+7R7Na+EUSjcTyYU/5BG8Utqv8=
github.com/seasonjs/stable-diffusion v0.1.2 h1:ua98QpHI7W1uM3PswHlqS8QBc0tbT8/9h/EB8/Rcicc=
github.com/seasonjs/stable-diffusion v0.1.2/go.mod h1:NZFm+33eOcIwZB49I+7R7Na+EUSjcTyYU/5BG8Utqv8=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/tkrajina/go-reflector v0.5.6 h1:hKQ0gyocG7vgMD2M3dRlYN6WBBOmdoOzJ6njQSepKdE=
Expand Down

0 comments on commit bcd4641

Please sign in to comment.