Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
lRomul committed Apr 24, 2024
2 parents c5db1e4 + 9552e6f commit c0990d5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ RUN apt-get update && \

# Install PyTorch
RUN pip3 install --no-cache-dir \
torch==2.2.2 \
torchvision==0.17.2 \
torchaudio==2.2.2
torch==2.3.0 \
torchvision==0.18.0 \
torchaudio==2.3.0

# Install requirements
COPY ./ ./
Expand Down
2 changes: 1 addition & 1 deletion examples/cifar_advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def train_step(self, batch, state) -> dict:
if distributed:
@argus.callbacks.on_epoch_complete
def schedule_sampler(state):
state.data_loader.sampler.set_epoch(state.epoch + 1)
train_loader.sampler.set_epoch(state.epoch + 1)
callbacks += [schedule_sampler]

model.fit(train_loader,
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ dynamic = ["version"]
tests = [
"pytest==8.1.1",
"pytest-cov==5.0.0",
"ruff==0.3.5",
"ruff==0.4.1",
]
docs = [
"sphinx==7.2.6",
"sphinx==7.3.7",
"pydata-sphinx-theme==0.15.2",
]
examples = [
"torchvision==0.17.2",
"notebook==7.1.2",
"torchvision==0.18.0",
"notebook==7.1.3",
"timm==0.9.16",
]

Expand Down

0 comments on commit c0990d5

Please sign in to comment.