torchopt icon indicating copy to clipboard operation
torchopt copied to clipboard

TorchOpt is an efficient library for differentiable optimization built upon PyTorch.

Results 44 torchopt issues
Sort by recently updated
recently updated
newest added

## Description Describe your changes in detail. ## Motivation and Context - [X] I have raised an issue to propose this change ([required](https://github.com/metaopt/TorchOpt/issues) for new features and bug fixes) Closes...

bug
enhancement
jax

This is a proof of concept of integrating functorch in MAML.

enhancement
functorch

## Description Add implicit MAML omniglot example ## Motivation and Context To test implicit differetiation API ## Checklist Go over all the following points, and put an `x` in all...

enhancement
example / tutorial

## Motivation Improve the speed of the current PyTree implemention: `tree_map`, `tree_flatten` and `unflatten` ## Solution An extra C++ library with python bindings ## Resource - https://github.com/pytorch/pytorch/issues/65761 - https://github.com/google/jax/issues/8099 ##...

enhancement

Brand-new version of the old PR One can test this by running ```python python maml_torchrl.py --parallel --seed 1 ``` I have added the `--parallel` flag, to allow users to have...

enhancement
example / tutorial

## Motivation Task-level parallelization for multi-host multi-process optimization. Batch-level parallelization can be implemented easily by wrapping the network (`nn.Module`) with: - [`torch.nn.DataParallel`](https://pytorch.org/docs/stable/generated/torch.nn.DataParallel.html) (single-host multi-GPUs) (SPMD) - [`torch.nn.parallel.DistributedDataParallel`](https://pytorch.org/docs/stable/generated/torch.nn.parallel.DistributedDataParallel.html) (multi-host multi-GPUs) However,...

enhancement
functorch
feature

## Describe the bug A clear and concise description of what the bug is. ## To Reproduce Steps to reproduce the behavior. Please try to provide a minimal example to...

bug

## Describe the bug CUDA part test failed on GPU machine ## Screenshots ![torchopt_bug_2](https://user-images.githubusercontent.com/32269413/179566619-9b6583d7-3ecb-4e65-9442-7145244b38e9.png) ## System info ![torchopt_bug_1](https://user-images.githubusercontent.com/32269413/179566499-2f78a4c1-f91c-4b1a-b2cf-c4ef2d46d457.png) ```python import torchopt, numpy, sys print(torchopt.__version__, numpy.__version__, sys.version, sys.platform) 0.4.1 1.22.3 3.8.13...

bug