Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable shared serialization in Torch #441

Merged
merged 1 commit into from
Nov 30, 2015

Conversation

gheinrich
Copy link
Contributor

This allows passing tensors between threads by
reference. This speeds up training for all models,
particulary when data are comparatively large
v.s. compute time.

Alexnet on CIFAR10 (2 epochs): 10m35s -> 9m28s
GoogleNet on CIFAR10 (1 epoch): 45m5s -> 44m52s
LeNet on MNIST (30 epochs): 2m17s -> 2m15s

This allows passing tensors between threads by
reference. This speeds up training for all models,
particulary when data are comparatively large
v.s. compute time.

Alexnet on CIFAR10 (2 epochs): 10m35s -> 9m28s
GoogleNet on CIFAR10 (1 epoch): 45m5s -> 44m52s
LeNet on MNIST (30 epochs): 2m17s -> 2m15s
@lukeyeager
Copy link
Member

Chipping away at #339

@lukeyeager
Copy link
Member

LGTM

lukeyeager added a commit that referenced this pull request Nov 30, 2015
@lukeyeager lukeyeager merged commit f7ff48e into NVIDIA:master Nov 30, 2015
@gheinrich gheinrich deleted the dev/torch-shared-serialization branch April 14, 2016 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants