ByteDance-Seed / ByteDance-Seed/Bagel

Just gonna drop this dockerfile for anyone that wants it :)

Open
#75 2 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
6.2k
Forks
545
PR merge metrics
No merged PRs in 30d

Description

```
FROM swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.5.1-cuda12.4-cudnn9-devel

RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
RUN sed -i s@/security.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list

RUN apt-get update && apt-get install -y git

RUN git clone https://www.ghproxy.cn/https://github.com/bytedance-seed/BAGEL.git
WORKDIR BAGEL
RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple gradio huggingface_hub

RUN apt-get install -y libgl1-mesa-glx
RUN apt-get install -y libglib2.0-0

ENTRYPOINT ["python3", "app.py", "--server_name", "0.0.0.0"]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue only provides a Dockerfile snippet; no repository file path or requested change is specified. Review the repository's existing container or setup files, along with app.py and requirements.txt referenced by the snippet, before deciding whether this belongs in the project. Completion criteria are not defined in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, dockerfile, python, pytorch
Domain
devops, machine-learning
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.