Skip to content

Commit

Permalink
1 gpu baseline ramdisk
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalmsley committed Nov 5, 2023
1 parent 51d9ad6 commit 4941c15
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion only_for_me/narval/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
resize_after_crop=args.resize_after_crop,
# hardware parameters
# gpus=args.gpus,
gpus=4,
gpus=1,
nodes=args.nodes,
mixed_precision=args.mixed_precision,
wandb_logger=wandb_logger,
Expand Down
4 changes: 2 additions & 2 deletions only_for_me/narval/train.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#SBATCH --mem-per-cpu 4G
#SBATCH --nodes=1
#SBATCH --time=0:40:0
#SBATCH --tasks-per-node=4
#SBATCH --tasks-per-node=1
#SBATCH --cpus-per-task=12
#SBATCH --gres=gpu:a100:4
#SBATCH --gres=gpu:a100:1

nvidia-smi

Expand Down
2 changes: 1 addition & 1 deletion zoobot/pytorch/training/webdatamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def make_loader(self, urls, mode="train"):
# torch collate stacks dicts nicely while webdataset only lists them
# so use the torch collate instead
.batched(self.batch_size, torch.utils.data.default_collate, partial=False)
.repeat(2)
.repeat(5)
)

# from itertools import islice
Expand Down

0 comments on commit 4941c15

Please sign in to comment.