-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next rebased #5836
Next rebased #5836
Commits on Feb 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0f93698 - Browse repository at this point
Copy the full SHA 0f93698View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c454b2 - Browse repository at this point
Copy the full SHA 7c454b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 758e0c1 - Browse repository at this point
Copy the full SHA 758e0c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8651b7b - Browse repository at this point
Copy the full SHA 8651b7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e91c3a - Browse repository at this point
Copy the full SHA 8e91c3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for af7b5d6 - Browse repository at this point
Copy the full SHA af7b5d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dbde99 - Browse repository at this point
Copy the full SHA 2dbde99View commit details -
tests(ui): enable vitest type testing
This is useful for the zod schemas and types we have created to match the backend.
Configuration menu - View commit details
-
Copy full SHA for f085713 - Browse repository at this point
Copy the full SHA f085713View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b09eab - Browse repository at this point
Copy the full SHA 8b09eabView commit details -
Configuration menu - View commit details
-
Copy full SHA for aee44d6 - Browse repository at this point
Copy the full SHA aee44d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13d3a01 - Browse repository at this point
Copy the full SHA 13d3a01View commit details -
feat(ui): update model identifier to be key (wip)
- Update most model identifiers to be `{key: string}` instead of name/base/type. Doesn't change the model select components yet. - Update model _parameters_, stored in redux, to be `{key: string, base: BaseModel}` - we need to store the base model to be able to check model compatibility. May want to store the whole config? Not sure...
Configuration menu - View commit details
-
Copy full SHA for b79fac7 - Browse repository at this point
Copy the full SHA b79fac7View commit details -
refactor(ui): url builders for each router
The MM2 router is at `api/v2/models`. URL builder utils make this a bit easier to manage.
Configuration menu - View commit details
-
Copy full SHA for 3890820 - Browse repository at this point
Copy the full SHA 3890820View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8c0b1f - Browse repository at this point
Copy the full SHA c8c0b1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8773260 - Browse repository at this point
Copy the full SHA 8773260View commit details -
Fix issues identified during PR review by RyanjDick and brandonrising
- ModelMetadataStoreService is now injected into ModelRecordStoreService (these two services are really joined at the hip, and should someday be merged) - ModelRecordStoreService is now injected into ModelManagerService - Reduced timeout value for the various installer and download wait*() methods - Introduced a Mock modelmanager for testing - Removed bare print() statement with _logger in the install helper backend. - Removed unused code from model loader init file - Made `locker` a private variable in the `LoadedModel` object. - Fixed up model merge frontend (will be deprecated anyway!)
Configuration menu - View commit details
-
Copy full SHA for a8dc0f1 - Browse repository at this point
Copy the full SHA a8dc0f1View commit details -
Tidy names and locations of modules
- Rename old "model_management" directory to "model_management_OLD" in order to catch dangling references to original model manager. - Caught and fixed most dangling references (still checking) - Rename lora, textual_inversion and model_patcher modules - Introduce a RawModel base class to simplfy the Union returned by the model loaders. - Tidy up the model manager 2-related tests. Add useful fixtures, and a finalizer to the queue and installer fixtures that will stop the services and release threads.
Configuration menu - View commit details
-
Copy full SHA for a5d4d1e - Browse repository at this point
Copy the full SHA a5d4d1eView commit details -
final tidying before marking PR as ready for review
- Replace AnyModelLoader with ModelLoaderRegistry - Fix type check errors in multiple files - Remove apparently unneeded `get_model_config_enum()` method from model manager - Remove last vestiges of old model manager - Updated tests and documentation resolve conflict with seamless.py
Configuration menu - View commit details
-
Copy full SHA for 50b989e - Browse repository at this point
Copy the full SHA 50b989eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5231bf4 - Browse repository at this point
Copy the full SHA 5231bf4View commit details -
feat(nodes): format option for get_image method
Also default CNet preprocessors to "RGB"
Configuration menu - View commit details
-
Copy full SHA for 1e3369d - Browse repository at this point
Copy the full SHA 1e3369dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d9e8fe - Browse repository at this point
Copy the full SHA 4d9e8feView commit details -
Configuration menu - View commit details
-
Copy full SHA for fce7e00 - Browse repository at this point
Copy the full SHA fce7e00View commit details -
Configuration menu - View commit details
-
Copy full SHA for eae7289 - Browse repository at this point
Copy the full SHA eae7289View commit details -
Configuration menu - View commit details
-
Copy full SHA for 490d772 - Browse repository at this point
Copy the full SHA 490d772View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07af61b - Browse repository at this point
Copy the full SHA 07af61bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 111cb58 - Browse repository at this point
Copy the full SHA 111cb58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 464ac9e - Browse repository at this point
Copy the full SHA 464ac9eView commit details -
feat(nodes): JIT graph nodes validation
We use pydantic to validate a union of valid invocations when instantiating a graph. Previously, we constructed the union while creating the `Graph` class. This introduces a dependency on the order of imports. For example, consider a setup where we have 3 invocations in the app: - Python executes the module where `FirstInvocation` is defined, registering `FirstInvocation`. - Python executes the module where `SecondInvocation` is defined, registering `SecondInvocation`. - Python executes the module where `Graph` is defined. A union of invocations is created and used to define the `Graph.nodes` field. The union contains `FirstInvocation` and `SecondInvocation`. - Python executes the module where `ThirdInvocation` is defined, registering `ThirdInvocation`. - A graph is created that includes `ThirdInvocation`. Pydantic validates the graph using the union, which does not know about `ThirdInvocation`, raising a `ValidationError` about an unknown invocation type. This scenario has been particularly problematic in tests, where we may create invocations dynamically. The test files have to be structured in such a way that the imports happen in the right order. It's a major pain. This PR refactors the validation of graph nodes to resolve this issue: - `BaseInvocation` gets a new method `get_typeadapter`. This builds a pydantic `TypeAdapter` for the union of all registered invocations, caching it after the first call. - `Graph.nodes`'s type is widened to `dict[str, BaseInvocation]`. This actually is a nice bonus, because we get better type hints whenever we reference `some_graph.nodes`. - A "plain" field validator takes over the validation logic for `Graph.nodes`. "Plain" validators totally override pydantic's own validation logic. The validator grabs the `TypeAdapter` from `BaseInvocation`, then validates each node with it. The validation is identical to the previous implementation - we get the same errors. `BaseInvocationOutput` gets the same treatment.
Configuration menu - View commit details
-
Copy full SHA for 8c10f25 - Browse repository at this point
Copy the full SHA 8c10f25View commit details -
fix(nodes): fix OpenAPI schema generation
The change to `Graph.nodes` and `GraphExecutionState.results` validation requires some fanagling to get the OpenAPI schema generation to work. See new comments for a details.
Configuration menu - View commit details
-
Copy full SHA for 29a5195 - Browse repository at this point
Copy the full SHA 29a5195View commit details -
tidy(nodes): remove GraphInvocation
`GraphInvocation` is a node that can contain a whole graph. It is removed for a number of reasons: 1. This feature was unused (the UI doesn't support it) and there is no plan for it to be used. The use-case it served is known in other node execution engines as "node groups" or "blocks" - a self-contained group of nodes, which has group inputs and outputs. This is a planned feature that will be handled client-side. 2. It adds substantial complexity to the graph processing logic. It's probably not enough to have a measurable performance impact but it does make it harder to work in the graph logic. 3. It allows for graphs to be recursive, and the improved invocations union handling does not play well with it. Actually, it works fine within `graph.py` but not in the tests for some reason. I do not understand why. There's probably a workaround, but I took this as encouragement to remove `GraphInvocation` from the app since we don't use it.
Configuration menu - View commit details
-
Copy full SHA for c2dbe7a - Browse repository at this point
Copy the full SHA c2dbe7aView commit details -
tidy(nodes): move node tests to parent dir
Thanks to the resolution of the import vs union issue, we can put tests anywhere.
Configuration menu - View commit details
-
Copy full SHA for ab89437 - Browse repository at this point
Copy the full SHA ab89437View commit details -
tidy(nodes): remove LibraryGraphs
The workflow library supersedes this unused feature.
Configuration menu - View commit details
-
Copy full SHA for baafcd2 - Browse repository at this point
Copy the full SHA baafcd2View commit details -
tidy(nodes): remove no-op model_config
Because we now customize the JSON Schema creation for GraphExecutionState, the model_config did nothing.
Configuration menu - View commit details
-
Copy full SHA for eff1dec - Browse repository at this point
Copy the full SHA eff1decView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15daad7 - Browse repository at this point
Copy the full SHA 15daad7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec3b2f5 - Browse repository at this point
Copy the full SHA ec3b2f5View commit details -
refactor(nodes): merge processors
Consolidate graph processing logic into session processor. With graphs as the unit of work, and the session queue distributing graphs, we no longer need the invocation queue or processor. Instead, the session processor dequeues the next session and processes it in a simple loop, greatly simplifying the app. - Remove `graph_execution_manager` service. - Remove `queue` (invocation queue) service. - Remove `processor` (invocation processor) service. - Remove queue-related logic from `Invoker`. It now only starts and stops the services, providing them with access to other services. - Remove unused `invocation_retrieval_error` and `session_retrieval_error` events, these are no longer needed. - Clean up stats service now that it is less coupled to the rest of the app. - Refactor cancellation logic - cancellations now originate from session queue (i.e. HTTP cancel endpoint) and are emitted as events. Processor gets the events and sets the canceled event. Access to this event is provided to the invocation context for e.g. the step callback. - Remove `sessions` router; it provided access to `graph_executions` but that no longer exists.
Configuration menu - View commit details
-
Copy full SHA for 484c883 - Browse repository at this point
Copy the full SHA 484c883View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe702a9 - Browse repository at this point
Copy the full SHA fe702a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4c8183 - Browse repository at this point
Copy the full SHA b4c8183View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29483c3 - Browse repository at this point
Copy the full SHA 29483c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4cef6c - Browse repository at this point
Copy the full SHA d4cef6cView commit details -
feat(nodes): add whole queue_item to InvocationContextData
No reason to not have the whole thing in there.
Configuration menu - View commit details
-
Copy full SHA for 9ea5019 - Browse repository at this point
Copy the full SHA 9ea5019View commit details -
Configuration menu - View commit details
-
Copy full SHA for cadb408 - Browse repository at this point
Copy the full SHA cadb408View commit details -
chore(nodes): "context_data" -> "data"
Changed within InvocationContext, for brevity.
Configuration menu - View commit details
-
Copy full SHA for e0919dd - Browse repository at this point
Copy the full SHA e0919ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2038e4 - Browse repository at this point
Copy the full SHA d2038e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26f0af4 - Browse repository at this point
Copy the full SHA 26f0af4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 475cfb6 - Browse repository at this point
Copy the full SHA 475cfb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b8922f - Browse repository at this point
Copy the full SHA 1b8922fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c07ace5 - Browse repository at this point
Copy the full SHA c07ace5View commit details -
fix(nodes): fix model load events
was accessing incorrect properties in event data
Configuration menu - View commit details
-
Copy full SHA for c2bd829 - Browse repository at this point
Copy the full SHA c2bd829View commit details -
Configuration menu - View commit details
-
Copy full SHA for 269c0e6 - Browse repository at this point
Copy the full SHA 269c0e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8f3b4f - Browse repository at this point
Copy the full SHA b8f3b4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 934fc82 - Browse repository at this point
Copy the full SHA 934fc82View commit details -
Add a few convenience targets to Makefile
- "test" to run pytests - "frontend-install" to reinstall pnpm's node modeuls
Configuration menu - View commit details
-
Copy full SHA for 71ff5b0 - Browse repository at this point
Copy the full SHA 71ff5b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b5fdb6 - Browse repository at this point
Copy the full SHA 4b5fdb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ad4537 - Browse repository at this point
Copy the full SHA 0ad4537View commit details -
Configuration menu - View commit details
-
Copy full SHA for e31ee85 - Browse repository at this point
Copy the full SHA e31ee85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53e13f7 - Browse repository at this point
Copy the full SHA 53e13f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4793569 - Browse repository at this point
Copy the full SHA 4793569View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebc3b1d - Browse repository at this point
Copy the full SHA ebc3b1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6735d0 - Browse repository at this point
Copy the full SHA f6735d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0d476f - Browse repository at this point
Copy the full SHA f0d476fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 506a87a - Browse repository at this point
Copy the full SHA 506a87aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27311d4 - Browse repository at this point
Copy the full SHA 27311d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f85ced - Browse repository at this point
Copy the full SHA 6f85cedView commit details -
reworking some of the logic to use a default room, adding endpoint to…
… download file on complete
Configuration menu - View commit details
-
Copy full SHA for cd69f77 - Browse repository at this point
Copy the full SHA cd69f77View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3264db - Browse repository at this point
Copy the full SHA b3264dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f3d126 - Browse repository at this point
Copy the full SHA 4f3d126View commit details -
Configuration menu - View commit details
-
Copy full SHA for dee7006 - Browse repository at this point
Copy the full SHA dee7006View commit details -
refactoring dummy event service, DRY principal; adding bulk_download_…
…event to existing invoker tests
Configuration menu - View commit details
-
Copy full SHA for eb278fd - Browse repository at this point
Copy the full SHA eb278fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe824f0 - Browse repository at this point
Copy the full SHA fe824f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a405e5e - Browse repository at this point
Copy the full SHA a405e5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c15714 - Browse repository at this point
Copy the full SHA 3c15714View commit details -
Configuration menu - View commit details
-
Copy full SHA for faa16b9 - Browse repository at this point
Copy the full SHA faa16b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 604aa92 - Browse repository at this point
Copy the full SHA 604aa92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d3ee91 - Browse repository at this point
Copy the full SHA 2d3ee91View commit details -
Configuration menu - View commit details
-
Copy full SHA for aefd4c4 - Browse repository at this point
Copy the full SHA aefd4c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3080029 - Browse repository at this point
Copy the full SHA 3080029View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0051f4 - Browse repository at this point
Copy the full SHA e0051f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62d899f - Browse repository at this point
Copy the full SHA 62d899fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45ffdce - Browse repository at this point
Copy the full SHA 45ffdceView commit details -
removing dependency on an output folder, embrace python temp folder f…
…or bulk download
Configuration menu - View commit details
-
Copy full SHA for c2c93a0 - Browse repository at this point
Copy the full SHA c2c93a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc0d7d8 - Browse repository at this point
Copy the full SHA bc0d7d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b57336e - Browse repository at this point
Copy the full SHA b57336eView commit details -
Configuration menu - View commit details
-
Copy full SHA for de8213c - Browse repository at this point
Copy the full SHA de8213cView commit details -
tidy(bulk_download): remove extraneous abstract methods
`start`, `stop` and `__init__` are not required in implementations of an ABC or service.
Configuration menu - View commit details
-
Copy full SHA for 9cd4d8c - Browse repository at this point
Copy the full SHA 9cd4d8cView commit details -
tidy(bulk_download): remove class-level attr annotations
These can be misleading as they shadow actual assigned class attributes. This pattern is in the rest of the app but it shouldn't be.
Configuration menu - View commit details
-
Copy full SHA for 498ce5c - Browse repository at this point
Copy the full SHA 498ce5cView commit details -
tidy(bulk_download): use single underscore for private attrs
Double underscores are used in the app but it doesn't actually do or convey anything that single underscores don't already do. Considered unpythonic except for actual dunder/magic methods.
Configuration menu - View commit details
-
Copy full SHA for de4c687 - Browse repository at this point
Copy the full SHA de4c687View commit details -
tidy(bulk_download): nit - use
or
as a coalescing operatorJust a bit cleaner.
Configuration menu - View commit details
-
Copy full SHA for 635fe78 - Browse repository at this point
Copy the full SHA 635fe78View commit details -
tidy(bulk_download): do not rely on pagination API to get all images …
…for board We can get all images for the board as a list of image names, then pass that to `_image_handler` to get the DTOs, decoupling from the pagination API.
Configuration menu - View commit details
-
Copy full SHA for 4cde91e - Browse repository at this point
Copy the full SHA 4cde91eView commit details -
tidy(bulk_download): don't store events service separately
Using the invoker object directly leaves no ambiguity as to what `_events_bus` actually is.
Configuration menu - View commit details
-
Copy full SHA for a237a37 - Browse repository at this point
Copy the full SHA a237a37View commit details -
- Deduplicate the mock invocation services. This is possible now that the import order issue is resolved. - Merge `DummyEventService` into `TestEventService` and update all tests to use `TestEventService`.
Configuration menu - View commit details
-
Copy full SHA for f27840f - Browse repository at this point
Copy the full SHA f27840fView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa03b6a - Browse repository at this point
Copy the full SHA aa03b6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 555c10a - Browse repository at this point
Copy the full SHA 555c10aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32afcfc - Browse repository at this point
Copy the full SHA 32afcfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09c858c - Browse repository at this point
Copy the full SHA 09c858cView commit details -
feat(ui): revise bulk download listeners
- Use a single listener for all of the to keep them in one spot - Use the bulk download item name as a toast id so we can update the existing toasts - Update handling to work with other environments - Move all bulk download handling from components to listener
Configuration menu - View commit details
-
Copy full SHA for 0ce7d03 - Browse repository at this point
Copy the full SHA 0ce7d03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dd4332 - Browse repository at this point
Copy the full SHA 9dd4332View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71f7dca - Browse repository at this point
Copy the full SHA 71f7dcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51d5f05 - Browse repository at this point
Copy the full SHA 51d5f05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fc8b82 - Browse repository at this point
Copy the full SHA 7fc8b82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c34ac2 - Browse repository at this point
Copy the full SHA 8c34ac2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8967c86 - Browse repository at this point
Copy the full SHA 8967c86View commit details -
Notable updates: - Minor version of RTK includes customizable selectors for RTK Query, so we can remove the patch that was added to ensure only the LRU memoize function was used for perf reasons. Updated to use the LRU memoize function. - Major version of react-resizable-panels. No breaking changes, works great, and you can now resize all panels when dragging at the intersection point of panels. Cool! - Minor (?) version of nanostores. `action` API is removed, we were using it in one spot. Fixed. - @invoke-ai/eslint-config-react has all deps bumped and now has its dependent plugins/configs listed as normal dependencies (as opposed to peer deps). This means we can remove those packages from explicit dev deps.
Configuration menu - View commit details
-
Copy full SHA for 9abb2ed - Browse repository at this point
Copy the full SHA 9abb2edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ea0de9 - Browse repository at this point
Copy the full SHA 8ea0de9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0651e84 - Browse repository at this point
Copy the full SHA 0651e84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03d0d19 - Browse repository at this point
Copy the full SHA 03d0d19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69d93df - Browse repository at this point
Copy the full SHA 69d93dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fc0ed6 - Browse repository at this point
Copy the full SHA 5fc0ed6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b0bd67 - Browse repository at this point
Copy the full SHA 3b0bd67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70cd319 - Browse repository at this point
Copy the full SHA 70cd319View commit details -
fix repo-id for the Deliberate v5 model
prevent lora and embedding file suffixes from being stripped during installation apply psychedelicious patch to get compel to load proper TI embedding
Configuration menu - View commit details
-
Copy full SHA for b6f0fc1 - Browse repository at this point
Copy the full SHA b6f0fc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2a4ab5 - Browse repository at this point
Copy the full SHA d2a4ab5View commit details -
several small model install enhancements
- Support extended HF repoid syntax in TUI. This allows installation of subfolders and safetensors files, as in `XpucT/Deliberate::Deliberate_v5.safetensors` - Add `error` and `error_traceback` properties to the install job objects. - Rename the `heuristic_import` route to `heuristic_install`. - Fix the example `config` input in the `heuristic_install` route.
Configuration menu - View commit details
-
Copy full SHA for ea67507 - Browse repository at this point
Copy the full SHA ea67507View commit details -
feat(ui): replace
type-fest
withutility-types
- The new package has more useful types - Only used `JsonObject` from `type-fest`; added an implementation of that type
Configuration menu - View commit details
-
Copy full SHA for 10ba71b - Browse repository at this point
Copy the full SHA 10ba71bView commit details -
fix(nodes): make fields on
ModelConfigBase
requiredThe setup of `ModelConfigBase` means autogenerated types have critical fields flagged as nullable (like `key` and `base`). Need to manually flag them as required.
Configuration menu - View commit details
-
Copy full SHA for 7f81d89 - Browse repository at this point
Copy the full SHA 7f81d89View commit details -
Configuration menu - View commit details
-
Copy full SHA for f815977 - Browse repository at this point
Copy the full SHA f815977View commit details -
feat(ui): refactor metadata handling
Refactor of metadata recall handling. This is in preparation for a backwards compatibility layer for models. - Create helpers to fetch a model outside react (e.g. not in a hook) - Created helpers to parse model metadata - Renamed a lot of types that were confusing and/or had naming collisions
Configuration menu - View commit details
-
Copy full SHA for 247d971 - Browse repository at this point
Copy the full SHA 247d971View commit details -
fix(ui): roll back utility-types
It's `Required` util does not distribute over unions as expected. Also we have `ts-toolbelt` already for some utils.
Configuration menu - View commit details
-
Copy full SHA for 46389cc - Browse repository at this point
Copy the full SHA 46389ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for fda5b7d - Browse repository at this point
Copy the full SHA fda5b7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa8d847 - Browse repository at this point
Copy the full SHA fa8d847View commit details -
Configuration menu - View commit details
-
Copy full SHA for fee4cfb - Browse repository at this point
Copy the full SHA fee4cfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8221a61 - Browse repository at this point
Copy the full SHA 8221a61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9953ff9 - Browse repository at this point
Copy the full SHA 9953ff9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a80706 - Browse repository at this point
Copy the full SHA 6a80706View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0d0f8d - Browse repository at this point
Copy the full SHA f0d0f8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35f870f - Browse repository at this point
Copy the full SHA 35f870fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8e84a7 - Browse repository at this point
Copy the full SHA c8e84a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05e098b - Browse repository at this point
Copy the full SHA 05e098bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e73fc5d - Browse repository at this point
Copy the full SHA e73fc5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ef73c3 - Browse repository at this point
Copy the full SHA 3ef73c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 416fed6 - Browse repository at this point
Copy the full SHA 416fed6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53907a5 - Browse repository at this point
Copy the full SHA 53907a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1242205 - Browse repository at this point
Copy the full SHA 1242205View commit details -
Configuration menu - View commit details
-
Copy full SHA for 235f272 - Browse repository at this point
Copy the full SHA 235f272View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71218ac - Browse repository at this point
Copy the full SHA 71218acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 126dce9 - Browse repository at this point
Copy the full SHA 126dce9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 222c599 - Browse repository at this point
Copy the full SHA 222c599View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfa4299 - Browse repository at this point
Copy the full SHA dfa4299View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85a80fe - Browse repository at this point
Copy the full SHA 85a80feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6631084 - Browse repository at this point
Copy the full SHA 6631084View commit details -
Configuration menu - View commit details
-
Copy full SHA for a844284 - Browse repository at this point
Copy the full SHA a844284View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3be4908 - Browse repository at this point
Copy the full SHA 3be4908View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc9349f - Browse repository at this point
Copy the full SHA dc9349fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7209376 - Browse repository at this point
Copy the full SHA 7209376View commit details -
Configuration menu - View commit details
-
Copy full SHA for c63dbd0 - Browse repository at this point
Copy the full SHA c63dbd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1684cb4 - Browse repository at this point
Copy the full SHA 1684cb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1abbdd - Browse repository at this point
Copy the full SHA d1abbddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17b2056 - Browse repository at this point
Copy the full SHA 17b2056View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac06f3f - Browse repository at this point
Copy the full SHA ac06f3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a380b1 - Browse repository at this point
Copy the full SHA 2a380b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05d12ff - Browse repository at this point
Copy the full SHA 05d12ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0b480f - Browse repository at this point
Copy the full SHA d0b480fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99152c4 - Browse repository at this point
Copy the full SHA 99152c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75c78b6 - Browse repository at this point
Copy the full SHA 75c78b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebdee1c - Browse repository at this point
Copy the full SHA ebdee1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb73195 - Browse repository at this point
Copy the full SHA cb73195View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d6e008 - Browse repository at this point
Copy the full SHA 5d6e008View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbbac8f - Browse repository at this point
Copy the full SHA bbbac8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9695d28 - Browse repository at this point
Copy the full SHA 9695d28View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2444bd - Browse repository at this point
Copy the full SHA a2444bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39b1076 - Browse repository at this point
Copy the full SHA 39b1076View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb90e65 - Browse repository at this point
Copy the full SHA cb90e65View commit details -
feat(mm): add logic to scan_folder route to check if a model is alrea…
…dy installed This was done in the frontend before but it's something the backend should handle. The logic compares the found model paths to the path and source of all installed models. It excludes core models.
Configuration menu - View commit details
-
Copy full SHA for f96e3e8 - Browse repository at this point
Copy the full SHA f96e3e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9cea3d - Browse repository at this point
Copy the full SHA f9cea3dView commit details -
fix(ui): use new scan_folder response instead of hook to determine if…
… models are installed already
Configuration menu - View commit details
-
Copy full SHA for 28e4baf - Browse repository at this point
Copy the full SHA 28e4bafView commit details -
Configuration menu - View commit details
-
Copy full SHA for e809f09 - Browse repository at this point
Copy the full SHA e809f09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8da7440 - Browse repository at this point
Copy the full SHA 8da7440View commit details -
Configuration menu - View commit details
-
Copy full SHA for d226912 - Browse repository at this point
Copy the full SHA d226912View commit details -
Configuration menu - View commit details
-
Copy full SHA for c40106e - Browse repository at this point
Copy the full SHA c40106eView commit details -
Configuration menu - View commit details
-
Copy full SHA for db87015 - Browse repository at this point
Copy the full SHA db87015View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73671ca - Browse repository at this point
Copy the full SHA 73671caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90c66e1 - Browse repository at this point
Copy the full SHA 90c66e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca8a68f - Browse repository at this point
Copy the full SHA ca8a68fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ae93d2 - Browse repository at this point
Copy the full SHA 0ae93d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f0fd05 - Browse repository at this point
Copy the full SHA 4f0fd05View commit details -
Configuration menu - View commit details
-
Copy full SHA for a138814 - Browse repository at this point
Copy the full SHA a138814View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80e73a1 - Browse repository at this point
Copy the full SHA 80e73a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37a42aa - Browse repository at this point
Copy the full SHA 37a42aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c175fd - Browse repository at this point
Copy the full SHA 5c175fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5144d8 - Browse repository at this point
Copy the full SHA b5144d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5550be - Browse repository at this point
Copy the full SHA f5550beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bf9aff - Browse repository at this point
Copy the full SHA 0bf9affView commit details -
Configuration menu - View commit details
-
Copy full SHA for 305e72f - Browse repository at this point
Copy the full SHA 305e72fView commit details -
feat(api): add MM
get_by_attrs
routeGets the first model that matches the given name, base and type. Raises 404 if there isn't one. This will be used for backwards compatibility with old metadata.
Configuration menu - View commit details
-
Copy full SHA for 9c7d960 - Browse repository at this point
Copy the full SHA 9c7d960View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d3f231 - Browse repository at this point
Copy the full SHA 3d3f231View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7477f85 - Browse repository at this point
Copy the full SHA 7477f85View commit details -
feat(ui): refactor metadata handling (again)
Add concepts for metadata handlers. Handlers include parsers, recallers and validators for different metadata types: - Parsers parse a raw metadata object of any shape to a structured object. - Recallers load the parsed metadata into state. Recallers are optional, as some metadata types don't need to be loaded into state. - Validators provide an additional layer of validation before recalling the metadata. This is needed because a metadata object may be valid, but not able to be recalled due to some other requirement, like base model compatibility. Validators are optional. Sometimes metadata is not a single object but a list of items - like LoRAs. Metadata handlers may implement an optional set of "item" handlers which operate on individual items in the list. Parsers and validators are async to allow fetching additional data, like a model config. Recallers are synchronous. The these handlers are composed into a public API, exported as a `handlers` object. Besides the handlers functions, a metadata handler set includes: - A function to get the label of the metadata type. - An optional function to render the value of the metadata type. - An optional function to render the _item_ value of the metadata type.
Configuration menu - View commit details
-
Copy full SHA for 9d9210a - Browse repository at this point
Copy the full SHA 9d9210aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 674cdf8 - Browse repository at this point
Copy the full SHA 674cdf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c8d12b - Browse repository at this point
Copy the full SHA 2c8d12bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 061da14 - Browse repository at this point
Copy the full SHA 061da14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 343ba83 - Browse repository at this point
Copy the full SHA 343ba83View commit details -
Configuration menu - View commit details
-
Copy full SHA for edb0c74 - Browse repository at this point
Copy the full SHA edb0c74View commit details -
feat(ui): add transformation to width/height parameter schemas to rou…
…nd to multiple of 8 This allows image dimensions that are not multiples of 8 to still be recalled with best effort.
Configuration menu - View commit details
-
Copy full SHA for 015a8e1 - Browse repository at this point
Copy the full SHA 015a8e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34a82ee - Browse repository at this point
Copy the full SHA 34a82eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90ec551 - Browse repository at this point
Copy the full SHA 90ec551View commit details -
feat(ui): optimize model query caching
When we retrieve a list of models, upsert that data into the `getModelConfig` and `getModelConfigByAttrs` query caches. With this change, calls to those two queries are almost always going to be free, because their caches will already have all models in them. The exception is queries for models that no longer exist.
Configuration menu - View commit details
-
Copy full SHA for fe954b2 - Browse repository at this point
Copy the full SHA fe954b2View commit details -
tidy(ui): tidy model identifier logic
- Move some files around - Use util to extract key and base from model config
Configuration menu - View commit details
-
Copy full SHA for f2aee50 - Browse repository at this point
Copy the full SHA f2aee50View commit details -
feat(nodes): update LoRAMetadataItem model
LoRA model now at under `model` not `lora.
Configuration menu - View commit details
-
Copy full SHA for 0d5d2d9 - Browse repository at this point
Copy the full SHA 0d5d2d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3234199 - Browse repository at this point
Copy the full SHA 3234199View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf678bf - Browse repository at this point
Copy the full SHA bf678bfView commit details -
fix(ui): model metadata handlers use model identifiers, not configs
Model metadata includes the main model, VAE and refiner model. These used full model configs, as returned by the server, as their metadata type. LoRA and control adapter metadata only use the metadata identifier. This created a difference in handling. After parsing a model/vae/refiner, we have its name and can display it. But for LoRAs and control adapters, we only have the model key and must query for the full model config to get the name. This change makes main model/vae/refiner metadata only have the model key, like LoRAs and control adapters. The render function is now async so fetching can occur within it. All metadata fields with models now only contain the identifier, and fetch the model name to render their values.
Configuration menu - View commit details
-
Copy full SHA for 5c01410 - Browse repository at this point
Copy the full SHA 5c01410View commit details -
feat(ui): create metadata types for control adapters
These are the same as the existing control adapter types, but the model field is non-nullable, simplifying handling of these objects.
Configuration menu - View commit details
-
Copy full SHA for 1606a04 - Browse repository at this point
Copy the full SHA 1606a04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52ca0a6 - Browse repository at this point
Copy the full SHA 52ca0a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17538e7 - Browse repository at this point
Copy the full SHA 17538e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2866325 - Browse repository at this point
Copy the full SHA 2866325View commit details -
feat(ui): add knip + minimal config
https://knip.dev/ Replaces `unimported`
Configuration menu - View commit details
-
Copy full SHA for 971b604 - Browse repository at this point
Copy the full SHA 971b604View commit details -
tidy(ui): clean up unused code 1
- Only export when necessary - Remove totally usused functions, variables, state, etc - Remove unused packages
Configuration menu - View commit details
-
Copy full SHA for 1ce4c11 - Browse repository at this point
Copy the full SHA 1ce4c11View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5bfa4a - Browse repository at this point
Copy the full SHA e5bfa4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c268e1a - Browse repository at this point
Copy the full SHA c268e1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11c4c69 - Browse repository at this point
Copy the full SHA 11c4c69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ed2f92 - Browse repository at this point
Copy the full SHA 9ed2f92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7daab51 - Browse repository at this point
Copy the full SHA 7daab51View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8a8565 - Browse repository at this point
Copy the full SHA e8a8565View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1d65ea - Browse repository at this point
Copy the full SHA e1d65eaView commit details -
tidy(ui): clean up unused code 2
types and schemas
Configuration menu - View commit details
-
Copy full SHA for 1b57f15 - Browse repository at this point
Copy the full SHA 1b57f15View commit details -
tidy(ui): clean up unused code 3
variables, types and schemas
Configuration menu - View commit details
-
Copy full SHA for ca07402 - Browse repository at this point
Copy the full SHA ca07402View commit details -
tidy(ui): clean up unused code 4
variables, types and schemas
Configuration menu - View commit details
-
Copy full SHA for 84b4f21 - Browse repository at this point
Copy the full SHA 84b4f21View commit details -
tidy(ui): clean up unused code 5
variables, types and schemas
Configuration menu - View commit details
-
Copy full SHA for ff33ae4 - Browse repository at this point
Copy the full SHA ff33ae4View commit details -
tidy(ui): clean up unused code 6
unused files
Configuration menu - View commit details
-
Copy full SHA for 5110ed2 - Browse repository at this point
Copy the full SHA 5110ed2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e08dbe3 - Browse repository at this point
Copy the full SHA e08dbe3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17a9ab3 - Browse repository at this point
Copy the full SHA 17a9ab3View commit details -
chore(ui): update pnpm-lock.yaml
Forgot to run `pnpm i` earlier after removing packages.
Configuration menu - View commit details
-
Copy full SHA for 86185f0 - Browse repository at this point
Copy the full SHA 86185f0View commit details -
chore(ui): typegen, update knip config
Knip should never touch the autogenerated types
Configuration menu - View commit details
-
Copy full SHA for 8378efa - Browse repository at this point
Copy the full SHA 8378efaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c31067 - Browse repository at this point
Copy the full SHA 3c31067View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0be00f9 - Browse repository at this point
Copy the full SHA 0be00f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4c8597 - Browse repository at this point
Copy the full SHA b4c8597View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60453a0 - Browse repository at this point
Copy the full SHA 60453a0View commit details -
The only major version is `query-string`. The breaking change for it is dropping support for old versions of node. Not a problem for us.
Configuration menu - View commit details
-
Copy full SHA for 53173df - Browse repository at this point
Copy the full SHA 53173dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ed45e5 - Browse repository at this point
Copy the full SHA 8ed45e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 746c293 - Browse repository at this point
Copy the full SHA 746c293View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6931b83 - Browse repository at this point
Copy the full SHA 6931b83View commit details -
Allow TIs to be either a key or a name in the prompt during our trans…
…ition to using keys
Configuration menu - View commit details
-
Copy full SHA for 4002e61 - Browse repository at this point
Copy the full SHA 4002e61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 579edbd - Browse repository at this point
Copy the full SHA 579edbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12bc16e - Browse repository at this point
Copy the full SHA 12bc16eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc6a77c - Browse repository at this point
Copy the full SHA bc6a77cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17ab26b - Browse repository at this point
Copy the full SHA 17ab26bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff3279b - Browse repository at this point
Copy the full SHA ff3279bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44df282 - Browse repository at this point
Copy the full SHA 44df282View commit details -
Configuration menu - View commit details
-
Copy full SHA for da1ab17 - Browse repository at this point
Copy the full SHA da1ab17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e6386f - Browse repository at this point
Copy the full SHA 1e6386fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59ed9c4 - Browse repository at this point
Copy the full SHA 59ed9c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 664331f - Browse repository at this point
Copy the full SHA 664331fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01940f3 - Browse repository at this point
Copy the full SHA 01940f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e58bed - Browse repository at this point
Copy the full SHA 7e58bedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f5c559 - Browse repository at this point
Copy the full SHA 4f5c559View commit details -
docs: bump mkdocs, add mkdocstrings
Also remove ancient requirements file - the docs dependencies are in the pyproject.toml file.
Configuration menu - View commit details
-
Copy full SHA for 145cbaa - Browse repository at this point
Copy the full SHA 145cbaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2531f48 - Browse repository at this point
Copy the full SHA 2531f48View commit details -
fix: make invocation_context.py accessible to mkdocs
Needs an `__init__.py`.
Configuration menu - View commit details
-
Copy full SHA for 54db5af - Browse repository at this point
Copy the full SHA 54db5afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78dd458 - Browse repository at this point
Copy the full SHA 78dd458View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac5bb98 - Browse repository at this point
Copy the full SHA ac5bb98View commit details