Skip to content

Commit

Permalink
fix: 🚑️ TF by default fills vram
Browse files Browse the repository at this point in the history
This was causing all kind of issues
  • Loading branch information
melMass committed Jul 14, 2023
1 parent b0fb522 commit c225da5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import os

os.environ["TF_FORCE_GPU_ALLOW_GROWTH"] = "true"

import traceback
from .log import log, blue_text, cyan_text, get_summary, get_label
from .utils import here
Expand Down
2 changes: 1 addition & 1 deletion web/color_widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function getBrightness(rgbObj) {


/**
* @returns {import("/types/litegraph").IWidget} widget
* @returns {import("./types/litegraph").IWidget} widget
*/
const custom = (key, val, compute = false) => {
/** @type {import("/types/litegraph").IWidget} */
Expand Down

0 comments on commit c225da5

Please sign in to comment.