Instructions to use Motif-Technologies/optimizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use Motif-Technologies/optimizer with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("Motif-Technologies/optimizer") - Notebooks
- Google Colab
- Kaggle
Revert "fix: disable CUDA graphs in Newton-Schulz for cpu_offload compatibility" (#29)
Browse files* Revert "fix: disable CUDA graphs in Newton-Schulz for cpu_offload compatibility"
* Add built binary [skip-build]
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- build/torch210-cxx11-cu126-x86_64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu126-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch210-cxx11-cu126-x86_64-linux/newton_schulz.py +4 -0
- build/torch210-cxx11-cu128-x86_64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu128-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch210-cxx11-cu128-x86_64-linux/newton_schulz.py +4 -0
- build/torch210-cxx11-cu130-x86_64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu130-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch210-cxx11-cu130-x86_64-linux/newton_schulz.py +4 -0
- build/torch210-cxx11-rocm70-x86_64-linux/_ops.py +3 -3
- build/torch210-cxx11-rocm70-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch210-cxx11-rocm70-x86_64-linux/newton_schulz.py +4 -0
- build/torch210-cxx11-rocm71-x86_64-linux/_ops.py +3 -3
- build/torch210-cxx11-rocm71-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch210-cxx11-rocm71-x86_64-linux/newton_schulz.py +4 -0
- build/torch28-cxx11-cu126-x86_64-linux/_ops.py +3 -3
- build/torch28-cxx11-cu126-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch28-cxx11-cu126-x86_64-linux/newton_schulz.py +4 -0
- build/torch28-cxx11-cu128-x86_64-linux/_ops.py +3 -3
- build/torch28-cxx11-cu128-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch28-cxx11-cu128-x86_64-linux/newton_schulz.py +4 -0
- build/torch28-cxx11-cu129-x86_64-linux/_ops.py +3 -3
- build/torch28-cxx11-cu129-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch28-cxx11-cu129-x86_64-linux/newton_schulz.py +4 -0
- build/torch28-cxx11-rocm63-x86_64-linux/_ops.py +3 -3
- build/torch28-cxx11-rocm63-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch28-cxx11-rocm63-x86_64-linux/newton_schulz.py +4 -0
- build/torch28-cxx11-rocm64-x86_64-linux/_ops.py +3 -3
- build/torch28-cxx11-rocm64-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch28-cxx11-rocm64-x86_64-linux/newton_schulz.py +4 -0
- build/torch29-cxx11-cu126-x86_64-linux/_ops.py +3 -3
- build/torch29-cxx11-cu126-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch29-cxx11-cu126-x86_64-linux/newton_schulz.py +4 -0
- build/torch29-cxx11-cu128-x86_64-linux/_ops.py +3 -3
- build/torch29-cxx11-cu128-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch29-cxx11-cu128-x86_64-linux/newton_schulz.py +4 -0
- build/torch29-cxx11-cu130-x86_64-linux/_ops.py +3 -3
- build/torch29-cxx11-cu130-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch29-cxx11-cu130-x86_64-linux/newton_schulz.py +4 -0
- build/torch29-cxx11-rocm63-x86_64-linux/_ops.py +3 -3
- build/torch29-cxx11-rocm63-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch29-cxx11-rocm63-x86_64-linux/newton_schulz.py +4 -0
- build/torch29-cxx11-rocm64-x86_64-linux/_ops.py +3 -3
- build/torch29-cxx11-rocm64-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so} +1 -1
- build/torch29-cxx11-rocm64-x86_64-linux/newton_schulz.py +4 -0
- torch-ext/optimizer/newton_schulz.py +4 -0
build/torch210-cxx11-cu126-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch210-cxx11-cu126-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1940944
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb6163428ce86500d61c2b765eecd7eb6f31c092066278e1d1af7a0848dc5126
|
| 3 |
size 1940944
|
build/torch210-cxx11-cu126-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch210-cxx11-cu128-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch210-cxx11-cu128-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2004144
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:017323d479e8fbd3ed1f550f95fc4ba9f2e304dbe9351c0eaa75543ebe775e18
|
| 3 |
size 2004144
|
build/torch210-cxx11-cu128-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch210-cxx11-cu130-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch210-cxx11-cu130-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2004728
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:783a161f2d28e4244226c9d6e59ac33f74f7a79aad17c06e8ce027dd6182e03c
|
| 3 |
size 2004728
|
build/torch210-cxx11-cu130-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch210-cxx11-rocm70-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch210-cxx11-rocm70-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1866400
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ec2fcc8a9dc8a1e4aa4e925eaee33613177873e474e8d627bf844dae80f5f8b
|
| 3 |
size 1866400
|
build/torch210-cxx11-rocm70-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch210-cxx11-rocm71-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch210-cxx11-rocm71-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1866112
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18373b2e448071735ce724008122f179dd814986925c9cf0fc03f32201b2b1fa
|
| 3 |
size 1866112
|
build/torch210-cxx11-rocm71-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch28-cxx11-cu126-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch28-cxx11-cu126-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1936664
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2db9c7fb764a1fae1872779bc9ffac2aff18d14a238111d6b8b53b7d3dfa0d3
|
| 3 |
size 1936664
|
build/torch28-cxx11-cu126-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch28-cxx11-cu128-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch28-cxx11-cu128-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1999872
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b1ddfe7e38a9213d5dede8052c81b78eca952aef122d4da919950ff504dc3908
|
| 3 |
size 1999872
|
build/torch28-cxx11-cu128-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch28-cxx11-cu129-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch28-cxx11-cu129-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1999872
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db68ba26f1b022f56a5ab4e6e0204bf26df8922750f32f21be0ad76e2674b717
|
| 3 |
size 1999872
|
build/torch28-cxx11-cu129-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch28-cxx11-rocm63-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch28-cxx11-rocm63-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1865080
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a6a8788f055b22d594330fc06487ae2c6eeb2b64e0ab0132b68036a78560cf6
|
| 3 |
size 1865080
|
build/torch28-cxx11-rocm63-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch28-cxx11-rocm64-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch28-cxx11-rocm64-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1865168
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e5e17fd042010ec06456f5885603c4e38476981d43adb1cc99ea6dbe5f57c6f
|
| 3 |
size 1865168
|
build/torch28-cxx11-rocm64-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch29-cxx11-cu126-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch29-cxx11-cu126-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1936664
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6b4b64b9e80383e0e1e9d5482f39dc28256bf901211d60deda16d905f198e70
|
| 3 |
size 1936664
|
build/torch29-cxx11-cu126-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch29-cxx11-cu128-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch29-cxx11-cu128-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1999872
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52bc357d5a5d09094e142d1bf87e9a2ba819a6770b8b34ab9469ceb2414ad29e
|
| 3 |
size 1999872
|
build/torch29-cxx11-cu128-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch29-cxx11-cu130-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch29-cxx11-cu130-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2000456
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:faa0fc60fea48f7ba85933fb35d3c96afb6f5b357d4e28565e8112848fed890a
|
| 3 |
size 2000456
|
build/torch29-cxx11-cu130-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch29-cxx11-rocm63-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch29-cxx11-rocm63-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1865112
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8cf990229d1c3dc8378e74487af28ab48ffb91ec12869ddb0839d3b4cddc03e
|
| 3 |
size 1865112
|
build/torch29-cxx11-rocm63-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
build/torch29-cxx11-rocm64-x86_64-linux/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _optimizer_38f9b8e_dirty
|
| 3 |
+
ops = torch.ops._optimizer_38f9b8e_dirty
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_optimizer_38f9b8e_dirty::{op_name}"
|
build/torch29-cxx11-rocm64-x86_64-linux/{_optimizer_2dce952_dirty.abi3.so → _optimizer_38f9b8e_dirty.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1865232
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fbdc2be035c0380bdd9ea10a0f913ecf5b6be29d4d7d74e1bd4056143393f28d
|
| 3 |
size 1865232
|
build/torch29-cxx11-rocm64-x86_64-linux/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|
torch-ext/optimizer/newton_schulz.py
CHANGED
|
@@ -213,8 +213,10 @@ def zeropower_via_newtonschulz5(G, steps=5):
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
|
|
|
| 216 |
"shape_padding": False
|
| 217 |
})
|
|
|
|
| 218 |
return _ns_per_shape[key](G, steps).clone()
|
| 219 |
|
| 220 |
|
|
@@ -227,6 +229,8 @@ def zeropower_via_newtonschulz5_batched(G, steps=5):
|
|
| 227 |
_ns_per_shape[key] = torch.compile(
|
| 228 |
_zeropower_via_newtonschulz5_batched,
|
| 229 |
options={
|
|
|
|
| 230 |
"shape_padding": False
|
| 231 |
})
|
|
|
|
| 232 |
return _ns_per_shape[key](G, steps).clone()
|
|
|
|
| 213 |
if key not in _ns_per_shape:
|
| 214 |
_ns_per_shape[key] = torch.compile(_zeropower_via_newtonschulz5,
|
| 215 |
options={
|
| 216 |
+
"triton.cudagraphs": True,
|
| 217 |
"shape_padding": False
|
| 218 |
})
|
| 219 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 220 |
return _ns_per_shape[key](G, steps).clone()
|
| 221 |
|
| 222 |
|
|
|
|
| 229 |
_ns_per_shape[key] = torch.compile(
|
| 230 |
_zeropower_via_newtonschulz5_batched,
|
| 231 |
options={
|
| 232 |
+
"triton.cudagraphs": True,
|
| 233 |
"shape_padding": False
|
| 234 |
})
|
| 235 |
+
torch.compiler.cudagraph_mark_step_begin()
|
| 236 |
return _ns_per_shape[key](G, steps).clone()
|