You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: enable juririgged polling for devcontainer support
chore: use container mount path variable instead of hardcoded strings
chore: add proper env file initialization for devcontainer
chore: explicitly create other cache folders
chore remove file so it can be recommitted properly
chore: commit init file with executable mode set
chore: remove unneeded debug launch target
chore: add more recommended extensions
chore: remove unneeded git files
chore: fix python preinstall
chore: update cuda index to match main
chore: drop redundant devcontainer specific extensions list and just use global workspace extensions list.
refactor: move to hatchling for python compiler-backend
chore: oh we actually DO need to specify extensions in the devcontainer.json
refactor: enable UV to handle device-specific torch index resolution.
chore: whoops, fix the named volume name
# We set XDG_DATA_HOME to a non-volume-mounted location to guarantee that UV pre-installs python. (if its mounted it will only be installed after container start)
Copy file name to clipboardExpand all lines: .devcontainer/devcontainer.json
+15-12Lines changed: 15 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
"USERNAME": "node",
8
8
"PYTHON_VERSION": "3.12", // The python version which will be installed in the container
9
9
"INVOKEAI_ROOT": "/home/node/invokeai",
10
-
"INVOKEAI_SRC": "/workspaces/InvokeAI"
10
+
"INVOKEAI_SRC": "${containerWorkspaceFolder}"
11
11
}
12
12
},
13
13
"mounts": [
@@ -38,7 +38,8 @@
38
38
],
39
39
"containerEnv": {
40
40
"UV_COMPILE_BYTECODE": "1",
41
-
"INVOKEAI_DEV_RELOAD": "true"
41
+
"INVOKEAI_DEV_RELOAD": "true",
42
+
"UV_LINK_MODE": "symlink"// Using symlink because they are fast and always work, if you encounter issues after a cache purge, just rebuild the container.
0 commit comments