We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5c464a commit 539cb19Copy full SHA for 539cb19
build/builder.py
@@ -381,6 +381,10 @@ def _initialize_model(
381
print(f"Time to load model: {time.time() - t0:.02f} seconds")
382
383
try:
384
+ if "mps" in builder_args.device:
385
+ print("Warning: MPS currently does not support DSO models. Trying to load for CPU.")
386
+ builder_args.device = "cpu"
387
+
388
# Replace model forward with the AOT-compiled forward
389
# This is a hacky way to quickly demo AOTI's capability.
390
# model is still a Python object, and any mutation to its
0 commit comments