mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-14 08:38:00 -05:00
`torch` wasn't seeing the environment variable. I suspect this is because it was imported before the variable was set, so was running with a different environment. Many `torch` ops are supported on MPS so this wasn't noticed immediately, but some samplers like k_dpm_2 still use unsupported operations and need this fallback.
5 lines
67 B
Python
Executable File
5 lines
67 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import ldm.invoke.CLI
|
|
ldm.invoke.CLI.main()
|