Comments (3)
# Use the specified base image
FROM nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04
ENV DEBIAN_FRONTEND=noninteractive
# Install Python 3.10 and set it as the default
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository -y ppa:deadsnakes/ppa && \
apt-get update && \
apt-get install -y python3.10 python3.10-distutils python3.10-dev && \
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1 && \
update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1
# Install pip
RUN apt-get install -y wget git && \
wget https://bootstrap.pypa.io/get-pip.py && \
python3.10 get-pip.py && \
rm get-pip.py
# Set the working directory
WORKDIR /app
# Clone the repository
RUN git clone https://github.com/h2oai/h2o-llmstudio.git /app
# Install required packages and dependencies
RUN pip install --upgrade pip \
&& pip install pipenv==2022.10.4 \
&& pipenv install --python 3.10 \
&& pipenv run pip install deps/h2o_wave-nightly-py3-none-manylinux1_x86_64.whl --force-reinstall
# Set environment variables for Wave and HF_HOME
ENV H2O_WAVE_MAX_REQUEST_SIZE=25MB \
H2O_WAVE_NO_LOG=True \
H2O_WAVE_PRIVATE_DIR="/download/@/app/output/download" \
HF_HOME="/app/HF_CACHE"
# Create the HF_CACHE directory
RUN mkdir -p /app/HF_CACHE
# Expose the Wave server's port
EXPOSE 10101
# Start the Wave server
CMD ["pipenv", "run", "wave", "run", "app"]
Sharing also dockerfile I made :)
from h2o-llmstudio.
Hi @kodxana
If it is running fine by accessing it via IP:PORT, I assume there is an issue with your cloudfare proxy.
The proxy needs to allow websockets, given the error message, it appears this is not the case.
I would suggest to check the configuration for that.
from h2o-llmstudio.
Closing for now, please re-open if needed.
from h2o-llmstudio.
Related Issues (20)
- [FEATURE] Use local model as an LLM backbone HOT 3
- [CODE IMPROVEMENT] Add IPO HOT 1
- [CODE IMPROVEMENT] Update to h2o-wave 1.0.0
- [CODE IMPROVEMENT] Logger code improvement
- [BUG] LLm Backbone dissapears upon trigger
- [FEATURE] Support full fine-tuning for DPO modeling HOT 2
- [BUG] PermissionError: [Errno 13] Permission denied: '/workspace/data/user' HOT 2
- [BUG] Possible bug in validation perplexity metric for DPO? HOT 2
- [BUG] download model zip does not contain safetensors
- [FEATURE]when saving multiple epochs add an epoch number suffix for when save best=False HOT 3
- [FEATURE]create distributed_inference.sh with deepspeed HOT 3
- [CODE IMPROVEMENT] if user specifies a βsystemβ column but it doesnt exist, it should error out instead of continue running silently HOT 5
- [BUG] Unable to access LLM studio using Docker from a nightly build HOT 2
- [BUG] Default dataset can not be written to the database
- [FEATURE] MoE Aux Loss
- CUDA out of memory HOT 6
- [FEATURE] Add UI tests to .github actions
- [CODE IMPROVEMENT] Create CICD for UI Testing HOT 1
- [DOC] Update the code examples to demonstrate how to implement experiments from CLI using YAML configuration files
- Can you kindly provide documentation for macOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h2o-llmstudio.