How it works

%%xetmemo input=df,clean_data output=model
df_processed = clean_data(df)
model = RandomForestClassifier(n_estimators=10)
model.fit(df_processed)
Step 1

Add a single line to the top of any cell with complicated values or expensive calculations to automatically cache its state. Specify the inputs that the cache depends on.

Step 2

That's it! Future runs of the same cell will automatically load from cache based on the inputs.

Optional

Share with others! By pushing your notebook and the generated xmemo folder to XetHub, other people can use the same cache and save time and compute.

Learn more

Read more about XetCache and why we built it in our blog post. Or dig into the details in the documentation.

Power up your ML stack

XetHub consolidates your workflows for accelerated development and delivery.

Power up your ML stack

XetHub consolidates your workflows for accelerated development and delivery.

Power up your ML stack

XetHub consolidates your workflows for accelerated development and delivery.