Skip to content

Commit

Permalink
fix: update pytorch nightly to fix memory leak (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
pommedeterresautee authored Jan 20, 2023
1 parent 46e8a58 commit 306aa3a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1 &&

RUN python3.9 -m ensurepip --default-pip --upgrade

RUN pip install --pre torch==2.0.0.dev20230104+cu117 --extra-index-url https://download.pytorch.org/whl/nightly/cu117
RUN pip install --pre torch==2.0.0.dev20230119+cu117 --extra-index-url https://download.pytorch.org/whl/nightly/cu117


WORKDIR /syncback
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
triton==2.0.0.dev20221202
torch==2.0.0.dev20230104+cu117
torch==2.0.0.dev20230119+cu117
pytest
tabulate
termcolor
Expand Down
2 changes: 1 addition & 1 deletion src/kernl/optimizer/cuda_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

import torch
import triton
from torch._dynamo import utils as dynamo_utils
from torch._inductor.compile_fx import cudagraphify_impl
from torch._inductor.utils import dynamo_utils
from torch._subclasses import FakeTensor


Expand Down

0 comments on commit 306aa3a

Please sign in to comment.