gnarley_farley.
gnarley_farley.
Explore posts from servers
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 11/13/2024 in #questions
How do you get the session in middleware?
getServerAuthSession throws an error.
3 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 10/8/2024 in #questions
How to Scroll down to bottom of cli T3turbo.
The cli always seems to get stuck, then you have to scroll for ages to get to the bottom. Does anyone know how to fix this?
2 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 10/1/2024 in #questions
Latest t3 Template issues
Have to restart the TS server the whole time just to remove squigglies and having issues with imports. Brand new install. Just came off a very long t3 turbo project. Never had any of these sorts of problems. Are there any known issues with the latest template and windows?
3 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 9/26/2024 in #questions
How to setup api service for selling with nextjs t3?
Anyone know of a good t3 or t3 turbo template/project that shows you how to setup an API service that you sell. Like fal.ai / together.ai. Kind of setup. I just wanna spin up a bunch of serverless llm endpoints and then charge people to use them.
13 replies
RRunPod
Created by gnarley_farley. on 9/8/2024 in #⚡|serverless
Upgrading VLLM to v0.6.0
I was wondering what the process would be to upgrade the serverless worker code to be compatible with the latest version of VLLM.
2 replies
RRunPod
Created by gnarley_farley. on 8/8/2024 in #⚡|serverless
Charged while not using service
Spun up a serverless api. Did not use it at all. Got billed 60$ since last night. Could you check what caused this behavior. EnerpriseDna Team
3 replies
RRunPod
Created by gnarley_farley. on 8/8/2024 in #⛅|pods
Account Drained overnight with nothing running
No description
2 replies
RRunPod
Created by gnarley_farley. on 8/7/2024 in #⚡|serverless
How can I cause models to download on initialization?
FROM runpod/pytorch:2.2.1-py3.10-cuda12.1.1-devel-ubuntu22.04
WORKDIR /content
ENV PATH="/home/camenduru/.local/bin:${PATH}"
RUN adduser --disabled-password --gecos '' camenduru && \
adduser camenduru sudo && \
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \
chown -R camenduru:camenduru /content && \
chmod -R 777 /content && \
chown -R camenduru:camenduru /home && \
chmod -R 777 /home

RUN apt update -y && add-apt-repository -y ppa:git-core/ppa && apt update -y && apt install -y aria2 git git-lfs unzip ffmpeg

USER camenduru

RUN pip install -q opencv-python imageio imageio-ffmpeg ffmpeg-python av runpod \
xformers==0.0.25 torchsde==0.2.6 einops==0.8.0 diffusers==0.28.0 transformers==4.41.2 accelerate==0.30.1

RUN git clone -b flux https://github.com/camenduru/ComfyUI /content/ComfyUI

COPY --chown=camenduru:camenduru ./worker_runpod.py /content/ComfyUI/worker_runpod.py
COPY --chown=camenduru:camenduru ./download_models.sh /content/ComfyUI/download_models.sh

WORKDIR /content/ComfyUI

USER root
RUN chmod +x download_models.sh
USER camenduru

# Create a startup script
RUN echo '#!/bin/bash\n./download_models.sh\npython worker_runpod.py' > /content/ComfyUI/startup.sh
RUN chmod +x /content/ComfyUI/startup.sh

CMD ["/bin/bash", "/content/ComfyUI/startup.sh"]
FROM runpod/pytorch:2.2.1-py3.10-cuda12.1.1-devel-ubuntu22.04
WORKDIR /content
ENV PATH="/home/camenduru/.local/bin:${PATH}"
RUN adduser --disabled-password --gecos '' camenduru && \
adduser camenduru sudo && \
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \
chown -R camenduru:camenduru /content && \
chmod -R 777 /content && \
chown -R camenduru:camenduru /home && \
chmod -R 777 /home

RUN apt update -y && add-apt-repository -y ppa:git-core/ppa && apt update -y && apt install -y aria2 git git-lfs unzip ffmpeg

USER camenduru

RUN pip install -q opencv-python imageio imageio-ffmpeg ffmpeg-python av runpod \
xformers==0.0.25 torchsde==0.2.6 einops==0.8.0 diffusers==0.28.0 transformers==4.41.2 accelerate==0.30.1

RUN git clone -b flux https://github.com/camenduru/ComfyUI /content/ComfyUI

COPY --chown=camenduru:camenduru ./worker_runpod.py /content/ComfyUI/worker_runpod.py
COPY --chown=camenduru:camenduru ./download_models.sh /content/ComfyUI/download_models.sh

WORKDIR /content/ComfyUI

USER root
RUN chmod +x download_models.sh
USER camenduru

# Create a startup script
RUN echo '#!/bin/bash\n./download_models.sh\npython worker_runpod.py' > /content/ComfyUI/startup.sh
RUN chmod +x /content/ComfyUI/startup.sh

CMD ["/bin/bash", "/content/ComfyUI/startup.sh"]
My internet connection doesn't support uploading massive dockerbuilds to the hub. How can i get the models to download on runpod using a strategy similar to this?
26 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 8/1/2024 in #questions
USing the latest t3turbo with prisma
No description
4 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 7/31/2024 in #questions
Issue with T3turbo - Terminal Scroll to bottom and Not being able to select text
I have an issue with myt3turbo project. firstly the terminal does not automatically scroll to the bottom, meaning when i want to debug i have to manually do it everytime. Secondly, I am unable to copy paste any text from the terminal. Is anyone familiar with this setup and why i may be facing these issues?
2 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 7/24/2024 in #questions
Is there a reason i cannot use "use server" inside buttons anymore like the example shows.
No description
14 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 7/3/2024 in #questions
Have to refresh typescript server after pnpm -ui add of components (TURBOREPO)
For some reason i have to refresh my typescript server after every component I add (otherwise squiggly lines) . Does anyone else have to do this?
2 replies
PPrisma
Created by gnarley_farley. on 7/2/2024 in #help-and-questions
How to use migrate when having a directurl and normal url
I get this error Please make sure your database server is running at db.caowreskbcgzoajwwjvy.supabase.co:5432.
2 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 5/7/2024 in #questions
How do i debug my expo app
No description
2 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 5/6/2024 in #questions
Error when trying to spin up turbo repo
No description
5 replies
PPrisma
Created by gnarley_farley. on 4/8/2024 in #help-and-questions
Paying for this service but can't login. On multiple accounts now
No description
18 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 2/2/2024 in #questions
How can i get session.user.id from nextauth when using the edge runtime?
I need to pass the session.user.id into my prismadb from the edge runtime. Any ideas?
2 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 1/17/2024 in #questions
I has a long-running server task. I want to update my db afterwards. It's on the edge.
Should I use TRPC on the edge runtime or prisma or update by supabase db direct? what's the cleanest way to do this. I don't want to do it in my component.
2 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 1/5/2024 in #questions
Trying to get shadcn themes to work. How can i dynamically adjust the
@layer base { :root { --background: 0 0% 100%; --foreground: 20 14.3% 4.1%; --card: 0 0% 100%; --card-foreground: 20 14.3% 4.1%; --popover: 0 0% 100%; --popover-foreground: 20 14.3% 4.1%; --primary: 24.6 95% 53.1%; --primary-foreground: 60 9.1% 97.8%; --secondary: 60 4.8% 95.9%; --secondary-foreground: 24 9.8% 10%; --muted: 60 4.8% 95.9%; --muted-foreground: 25 5.3% 44.7%; --accent: 60 4.8% 95.9%; --accent-foreground: 24 9.8% 10%; --destructive: 0 84.2% 60.2%; --destructive-foreground: 60 9.1% 97.8%; --border: 20 5.9% 90%; --input: 20 5.9% 90%; --ring: 24.6 95% 53.1%; --radius: 0rem; } .dark { --background: 20 14.3% 4.1%; --foreground: 60 9.1% 97.8%; --card: 20 14.3% 4.1%; --card-foreground: 60 9.1% 97.8%; --popover: 20 14.3% 4.1%; --popover-foreground: 60 9.1% 97.8%; --primary: 20.5 90.2% 48.2%; --primary-foreground: 60 9.1% 97.8%; --secondary: 12 6.5% 15.1%; --secondary-foreground: 60 9.1% 97.8%; --muted: 12 6.5% 15.1%; --muted-foreground: 24 5.4% 63.9%; --accent: 12 6.5% 15.1%; --accent-foreground: 60 9.1% 97.8%; --destructive: 0 72.2% 50.6%; --destructive-foreground: 60 9.1% 97.8%; --border: 12 6.5% 15.1%; --input: 12 6.5% 15.1%; --ring: 20.5 90.2% 48.2%; } }
2 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 12/8/2023 in #questions
What's the best way to handle WebSockets and streaming for these AI apps + t3?
How you do this?
5 replies