Comments (4)
@lezcano don't do this one, I'm going to give this as a bootcamp task
from pytorch.
For this one, we need to implement a reduction rule similar to the one we have with gcd
from pytorch.
Actually, there's something funny going on here. Is that Mod
class ours? Because SymPy can reason this properly:
>>> x = sympy.Symbol("x", integer=True, nonnegative=True)
>>> y= sympy.Symbol("y", integer=True, nonnegative=True)
>>> z = sympy.Symbol("z", integer=True, nonnegative=True)
>>> sympy.Mod(x*z + y*z, x + y)
0
from pytorch.
yup, we have our own
class Mod(sympy.Function):
"""
We maintain this so that we avoid SymPy correctness issues, such as:
https://github.com/sympy/sympy/issues/25146
"""
nargs = (2,)
from pytorch.
Related Issues (20)
- ERROR: Could not find a version that satisfies the requirement torch (from versions: none) HOT 1
- fatal: not a git repository: '.git' HOT 1
- `store_param_remainders` from Apex DistributedFusedAdam
- Unify async_save and sync_save in state_dict_saver from distributed checkpointing
- Segmentation fault when importing `sklearn.model_selection` HOT 2
- Should `torch.Size` convert np.ndarrays to lists of ints? HOT 1
- torch.topk results differ on CPU and CUDA
- Tensors of the same index must be on the same device and the same dtype except step tensors that can be CPU and float32 notwithstanding. HOT 4
- A UserWarning occurs after CBAM attention is added HOT 2
- DISABLED test_large_mmaped_weights_non_abi_compatible_cuda (__main__.AOTInductorTestNonABICompatibleCuda) HOT 1
- Tensor Parallel cannot work when tp mesh size is 1 HOT 2
- No way to config profiling scope in torch.autograd.profile
- Comparing dynamic shapes fails with KeyError HOT 1
- lacking checking for ConvTranspose's parameters when running with GPUs
- Migrate `CalculateSmallVectorDefaultInlinedElements` to constexpr Function for SmallVector HOT 1
- [BUG] torch.linalg.lstsq returning wrong result. HOT 3
- RuntimeError: grid_sampler_2d_cpu not implemented for Half HOT 3
- make_graphed_callables don't work with FSDP at all even on a simple network HOT 3
- Inconsistent gradients of Conv2d layers when training the same model using CPU and GPU HOT 1
- Tensor slicing reducing dimensionality of tensor HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch.