Remove tree_map import

This commit is contained in:
Angelos Katharopoulos 2024-09-12 16:05:46 -07:00
parent b0a42d091e
commit ece20f1d64

View File

@ -11,7 +11,7 @@ import mlx.core as mx
import mlx.nn as nn
import numpy as np
from mlx.nn.utils import average_gradients
from mlx.utils import tree_flatten, tree_map
from mlx.utils import tree_flatten
def grad_checkpoint(layer):