generated from kyegomez/Python-Package-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b75f66
commit 98dd00e
Showing
5 changed files
with
13,931 additions
and
172,099 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Use an official PyTorch image as a parent image | ||
FROM pytorch/pytorch:latest | ||
|
||
# Set the working directory in the container | ||
WORKDIR /usr/src/app | ||
|
||
# Copy the current directory contents into the container at /usr/src/app | ||
COPY . /usr/src/app | ||
|
||
# Install any needed packages specified in requirements.txt | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
# Make port 29500 available to the world outside this container | ||
# This port can be used for the PyTorch distributed process group | ||
EXPOSE 29500 | ||
|
||
# Define environment variable | ||
ENV NAME World | ||
# Define environment variables for distributed training | ||
ENV MASTER_ADDR="localhost" | ||
ENV MASTER_PORT="29500" | ||
ENV NCCL_SOCKET_IFNAME=^docker0,lo | ||
|
||
# Run app.py when the container launches | ||
CMD ["python", "functioncallgenerate_mp_mt.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
torch | ||
zetascale | ||
swarms | ||
transformers |
Oops, something went wrong.