Skip to content

Conversation

@orlando-labs
Copy link
Contributor

Hi @ankane, as we discussed before, I’ve kept only the core functionality needed for the multi-device workflow. All of the distributed features have been moved to a separate repo/gem.

ankane and others added 30 commits October 27, 2020 15:09
It is often useful to access convolutional layer attributes, e.g. for output shapes precalculation.
…t_mask

Fixed generation of square subsequent mask
ankane added a commit that referenced this pull request Dec 6, 2025
@ankane
Copy link
Owner

ankane commented Dec 6, 2025

Hi @orlando-labs, thanks for another PR. This still has more changes than I'd like to include.

I've fixed the item method in the commit above and addressed the TODO for changing Tensor#device to return a Device.

I'd be happy to include a minimal PR for adding map_location and weights_only options to Torch.load if it closely follows the Python code, but I think the rest should probably live in the separate repo.

@ankane
Copy link
Owner

ankane commented Dec 6, 2025

Two other things that I think could be included (in two separate minimal PRs) would be Torch::CUDA.set_device and the Torch::Accelerator module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants