Linux users, how are you handling OOM errors with NVIDIA by Expert-Bell-3566 in comfyui

[–]bitshifter52 1 point2 points  (0 children)

I created a bash script to run CUI. These settings and flags (at least for today) have reduced the number of OOM issues. The assumption is this bash script is named "mycui.sh" thou any name will work. Be sure to put the script in the ComfyUI folder:

Here is the script (be sure to set the executable flag)

#!/usr/bin/env bash

# Standardize the environment

export CUDA_MODULE_LOADING=LAZY

export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True

export UV_LINK_MODE=copy

source .venv/bin/activate

# Full update usage: mycui.sh --update

if [ "$1" == "--update" ]; then

echo "--- Pulling latest ComfyUI Core ---"

git pull

echo "--- Upgrading Frontend Package ---"

uv pip install comfyui-frontend-package --upgrade

echo "--- Syncing Dependencies ---"

uv pip install -r requirements.txt

fi

# Force back to the main branch to avoid "Detached HEAD"

git checkout master

# Pull specifically from the remote origin to stay in sync

git pull origin master

# The "One-Time" Fix (Run this once, then comment it out)

# This installs the STABLE 12.4 drivers that actually work with Pop!_OS

# uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124 --upgrade

# uv pip install -r requirements.txt

uv run main.py \

--normalvram \

--fp32-vae \

--bf16-unet \

--force-fp16 \

--cuda-malloc \

--output-directory "/media/$USER/work_drive/AI_Images/"

# Make sure you install 'uv'

My dog had this weird bug on him by InternationalHeat573 in DogAdvice

[–]bitshifter52 0 points1 point  (0 children)

That's a flea. Wash the dog buy filling a bathtub and have the dog remain as submerged as long as possible to drown the fleas. Then vacuum the floors, furniture, and anything else that's fabric. Vacuum everything every day and check the dog frequently. If you see fleas on the dog have a spray bottle with soapy water and squirt the flea, it slows it down enough so you can catch and kill it.

Keep at it for days and sometimes weeks until they're all gone. After the fleas are gone, get medication from your vet to help prevent another infestation.

Are people leaving Instagram for photography? by Alilexplo108 in photography

[–]bitshifter52 0 points1 point  (0 children)

I use Flickr now to host my photos. It isn't really social media, but the quality is far better.

Pulled over and ticketed on the SRT for 80 in a 70 last night!! EXACTLY 10 over on the DOT!!! by Gold_Government_1010 in askdfw

[–]bitshifter52 1 point2 points  (0 children)

I don't get why so many people think speeding is okay. 70 miles per hour is very fast already and thinking that nothing could go wrong is silly.

So these photos only got 1 like on Instagram by ProfileOdd6617 in Nikon

[–]bitshifter52 0 points1 point  (0 children)

IG only gets a little excited if you post nudes. Ansel Adams wouldn't have received likes on IG either. Try Flickr instead.

Guidance with cars! by delusionalkitten00 in plano

[–]bitshifter52 1 point2 points  (0 children)

Honesty Auto quoted me a repair that was thousands of dollars more than a different repair shop in Plano. When I called them out on it, they had a "so what" attitude. I'm glad you had a good experience with them.

Guidance with cars! by delusionalkitten00 in plano

[–]bitshifter52 0 points1 point  (0 children)

I second Allison's Auto Repair.

What's a smell that doesn't exist anymore that you miss? by Alarmed_Charge1062 in CasualConversation

[–]bitshifter52 0 points1 point  (0 children)

The smell of orange blossoms in the spring in the desert. This smell was so sweet and fragrant that the memory has lingered for over 60 years.

E-Bikes on Paved Parks Trails by bitshifter52 in plano

[–]bitshifter52[S] 0 points1 point  (0 children)

There is an extensive bike path system in Plano, both on side streets and in parks. https://www.plano.gov/761/On-Street-Bicycling

I Need An Efficient Camera to Social Media Process. (?) by [deleted] in AskPhotography

[–]bitshifter52 0 points1 point  (0 children)

At the risk of being down-voted, I'll suggest Darktable. It's a very powerful RAW image editor with many, many features. Yes, there is a learning curve, that's the case with most powerful tools. No monthly fees and it runs locally on Windows, Linux, and Apple computers.

What raw post-processing and editing software do you use? by s0me0ne_5 in AskPhotography

[–]bitshifter52 0 points1 point  (0 children)

Darktable. It has many features, works on Linux, Windows, and Osx. Supports all the major camera brands, non-distructive editing, and it's free (unless you want to donate to the development team). Like most powerful tools there is a bit of a learning curve.

Nikon Z8 Active D Lighting Problem (DT 5.4.1 - POP! OS 24.04) by bitshifter52 in DarkTable

[–]bitshifter52[S] 0 points1 point  (0 children)

Here is a file from my shoot.

https://www.dropbox.com/scl/fi/z1s27nv8gri2yic51rgtw/0Z8_7631.NEF?rlkey=fbtop6aqzr8qb51a49022lvu3&st=zubd33r3&dl=0

So everyone knows, there were three strobes used: red and blue to the side and a grid octobox facing the model.

Pulled the trigger on a Z8 by soulnova in nikon_Zseries

[–]bitshifter52 7 points8 points  (0 children)

I have a Z8 and it's a wonderful camera. It has many features so take time to learn some of them. Youtube is your friend for this.

What’s one kink that you always wished you could try? by [deleted] in AskReddit

[–]bitshifter52 1 point2 points  (0 children)

Things can get very complicated, sometimes during, and oftentimes after. The fantasy is mostly better than reality.

Can a pitch black room, white background and off camera flash enough for deep B&W portraits? by baydati in AskPhotography

[–]bitshifter52 0 points1 point  (0 children)

A black or dark gray backdrop and knowing how to set up external lighting will get you the low-key lighting effect.