Replies: 1 comment 1 reply
-
|
I figured it out - there was a version compatibility within the virtual environment. I reinstalled the compatible versions within the venv and it worked. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I don't know if this is my mistake, but I am having trouble starting the program with my 2013 Mac Pro. I followed the instructions and everything installed properly, but it crashes out of starting. I keep getting the error below - any assistance would be appreciated. I have Automatic1111 running on my machine successfully but it generates slowly and I'm hoping this hardware utilization will help.
Error:
NotFoundError: dlopen(/Users/user1/MetalDiffusion/venv/lib/python3.9/site-packages/tensorflow-pl ugins/libmetal_plugin.dylib, 0x0006): Symbol not found: (_OBJC_CLASS_$_MPSGraphGRUDescriptor) Referenced from: '/Users/user1/MetalDiffusion/venv/lib/python3.9/site-packages/tensorflow-plugins/ libmetal_plugin.dylib' Expected in: '/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Versions/A/Me talPerformanceShadersGraph'Full message:
╭───────────────────── Traceback (most recent call last) ──────────────────────╮ │ /Users/user1/MetalDiffusion/dream.py:45 in <module> │ │ │ │ 42 import numpy as np │ │ 43 │ │ 44 ### Import Stable Diffusion modules │ │ ❱ 45 from stableDiffusionTensorFlow.stableDiffusion import StableDiffusion │ │ 46 from stableDiffusionDiffusers.stableDiffusion import StableDiffusionD │ │ 47 print("...[bold]Stable Diffusion[/bold] modules loaded...") │ │ 48 │ │ │ │ ╭───────────────────────────────── locals ─────────────────────────────────╮ │ │ │ argparse = <module 'argparse' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/lib/python3.9/argparse.py… │ │ │ │ box = <module 'rich.box' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/lib/python3.9/site-packages… │ │ │ │ gc = <module 'gc' (built-in)> │ │ │ │ install = <function install at 0x1041173a0> │ │ │ │ np = <module 'numpy' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/lib/python3.9/site-packages… │ │ │ │ os = <module 'os' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/lib/python3.9/os.py'> │ │ │ │ Panel = <class 'rich.panel.Panel'> │ │ │ │ print = <function print at 0x103a1e160> │ │ │ │ random = <module 'random' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/lib/python3.9/random.py'> │ │ │ │ Text = <class 'rich.text.Text'> │ │ │ │ time = <module 'time' (built-in)> │ │ │ ╰──────────────────────────────────────────────────────────────────────────╯ │ │ │ │ /Users/user1/MetalDiffusion/stableDiffusionTensorFlow/stableDiffusion.py:32 │ │ in <module> │ │ │ │ 29 warnings.simplefilter(action = 'ignore', category = Warning) │ │ 30 │ │ 31 # TensorFlow module │ │ ❱ 32 import tensorflow as tf │ │ 33 │ │ 34 # More supressed warnings from TensorFlow │ │ 35 tf.get_logger().setLevel('INFO') │ │ │ │ ╭───────────────────────────────── locals ─────────────────────────────────╮ │ │ │ box = <module 'rich.box' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/lib/python3.9/site-packages… │ │ │ │ datetime = <module 'datetime' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/lib/python3.9/datetime.py… │ │ │ │ gc = <module 'gc' (built-in)> │ │ │ │ logging = <module 'logging' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/lib/python3.9/logging/__i… │ │ │ │ np = <module 'numpy' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/lib/python3.9/site-packages… │ │ │ │ os = <module 'os' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/lib/python3.9/os.py'> │ │ │ │ Panel = <class 'rich.panel.Panel'> │ │ │ │ print = <function print at 0x103a1e160> │ │ │ │ random = <module 'random' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/lib/python3.9/random.py'> │ │ │ │ sys = <module 'sys' (built-in)> │ │ │ │ Text = <class 'rich.text.Text'> │ │ │ │ warnings = <module 'warnings' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/lib/python3.9/warnings.py… │ │ │ ╰──────────────────────────────────────────────────────────────────────────╯ │ │ │ │ /Users/user1/MetalDiffusion/venv/lib/python3.9/site-packages/tensorflow/__ini │ │ t__.py:441 in <module> │ │ │ │ 438 for _s in _site_packages_dirs: │ │ 439 │ _plugin_dir = _os.path.join(_s, 'tensorflow-plugins') │ │ 440 │ if _os.path.exists(_plugin_dir): │ │ ❱ 441 │ _ll.load_library(_plugin_dir) │ │ 442 │ # Load Pluggable Device Library │ │ 443 │ _ll.load_pluggable_device_library(_plugin_dir) │ │ 444 │ │ │ │ ╭───────────────────────────────── locals ─────────────────────────────────╮ │ │ │ _api = <module 'tensorflow._api' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _API_MODULE = <module 'tensorflow._api.v2.bitwise' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _compat = <module │ │ │ │ 'tensorflow.python.compat.v2_compat' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _current_file_location = '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _current_module = <module 'tensorflow' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _distutils = <module 'distutils' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/… │ │ │ │ _estimator_module = 'tensorflow_estimator.python.estima… │ │ │ │ _fi = <module │ │ │ │ 'tensorflow.python.lib.io.file_io' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _inspect = <module 'inspect' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/… │ │ │ │ _keras = <repr-error │ │ │ │ "dlopen(/Users/user1/MetalDiffusion/… │ │ │ │ 0x0006): Symbol not found: │ │ │ │ (_OBJC_CLASS_$_MPSGraphGRUDescripto… │ │ │ │ Referenced from: │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ Expected in: │ │ │ │ '/System/Library/Frameworks/MetalPe… │ │ │ │ _keras_module = 'keras.api._v2.keras' │ │ │ │ _kernel_dir = '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _LazyLoader = <class │ │ │ │ 'tensorflow.python.util.lazy_loader… │ │ │ │ _ll = <module │ │ │ │ 'tensorflow.python.framework.load_l… │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _logging = <module 'logging' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/… │ │ │ │ _major_api_version = 2 │ │ │ │ _module_dir = '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _module_util = <module │ │ │ │ 'tensorflow.python.tools.module_uti… │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _os = <module 'os' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/… │ │ │ │ _plugin_dir = '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _running_from_pip_package = <function _running_from_pip_package │ │ │ │ at 0x115d44ee0> │ │ │ │ _s = '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _site = <module 'site' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/… │ │ │ │ _site_packages_dirs = [ │ │ │ │ │ │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ ] │ │ │ │ _sys = <module 'sys' (built-in)> │ │ │ │ _tf2 = <module 'tensorflow.python.tf2' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _tf_api_dir = '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _tf_dir = '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ _typing = <module 'typing' from │ │ │ │ '/Users/user1/.pyenv/versions/3.9.0/… │ │ │ │ abs = <function abs at 0x11abbb1f0> │ │ │ │ acos = <function acos at 0x11ac9e670> │ │ │ │ acosh = <function acosh at 0x117aad940> │ │ │ │ add = <function add at 0x11ac0faf0> │ │ │ │ add_n = <function add_n at 0x11ac0fca0> │ │ │ │ AggregationMethod = <class │ │ │ │ 'tensorflow.python.ops.gradients_ut… │ │ │ │ approx_top_k = <function approx_top_k at │ │ │ │ 0x11aaf6e50> │ │ │ │ argmax = <function argmax_v2 at 0x11abaeaf0> │ │ │ │ argmin = <function argmin_v2 at 0x11abbb040> │ │ │ │ argsort = <function argsort at 0x11c1f9040> │ │ │ │ as_dtype = <function as_dtype at 0x116084a60> │ │ │ │ as_string = <function as_string at 0x11c6b2ee0> │ │ │ │ asin = <function asin at 0x117abd040> │ │ │ │ asinh = <function asinh at 0x117abd280> │ │ │ │ Assert = <function Assert at 0x11ad880d0> │ │ │ │ assert_equal = <function assert_equal_v2 at │ │ │ │ 0x11af9db80> │ │ │ │ assert_greater = <function assert_greater_v2 at │ │ │ │ 0x11afa6ca0> │ │ │ │ assert_less = <function assert_less_v2 at │ │ │ │ 0x11afa65e0> │ │ │ │ assert_rank = <function assert_rank_v2 at │ │ │ │ 0x11afb1430> │ │ │ │ atan = <function atan at 0x117abd4c0> │ │ │ │ atan2 = <function atan2 at 0x117abd700> │ │ │ │ atanh = <function atanh at 0x117abd940> │ │ │ │ audio = <module 'tensorflow._api.v2.audio' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ autodiff = <module │ │ │ │ 'tensorflow._api.v2.autodiff' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ autograph = <module │ │ │ │ 'tensorflow._api.v2.autograph' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ batch_to_space = <function batch_to_space_v2 at │ │ │ │ 0x117e9cee0> │ │ │ │ bfloat16 = tf.bfloat16 │ │ │ │ bitcast = <function bitcast at 0x117505dc0> │ │ │ │ bitwise = <module 'tensorflow._api.v2.bitwise' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ bool = tf.bool │ │ │ │ boolean_mask = <function boolean_mask_v2 at │ │ │ │ 0x117b63790> │ │ │ │ broadcast_dynamic_shape = <function broadcast_dynamic_shape at │ │ │ │ 0x117b535e0> │ │ │ │ broadcast_static_shape = <function broadcast_static_shape at │ │ │ │ 0x117b53790> │ │ │ │ broadcast_to = <function broadcast_to at │ │ │ │ 0x11750c820> │ │ │ │ case = <function case_v2 at 0x11ad92430> │ │ │ │ cast = <function cast at 0x11abcc040> │ │ │ │ clip_by_global_norm = <function clip_by_global_norm at │ │ │ │ 0x11ba70e50> │ │ │ │ clip_by_norm = <function clip_by_norm at │ │ │ │ 0x11ba70af0> │ │ │ │ clip_by_value = <function clip_by_value at │ │ │ │ 0x11ba708b0> │ │ │ │ compat = <module 'tensorflow._api.v2.compat' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ compiler = <module 'tensorflow.compiler' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ complex = <function complex at 0x11abc25e0> │ │ │ │ complex128 = tf.complex128 │ │ │ │ complex64 = tf.complex64 │ │ │ │ concat = <function concat at 0x117b63430> │ │ │ │ cond = <function cond_for_tf_v2 at │ │ │ │ 0x11ad8a5e0> │ │ │ │ config = <module 'tensorflow._api.v2.config' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ constant = <function constant at 0x11718f5e0> │ │ │ │ constant_initializer = <class │ │ │ │ 'tensorflow.python.ops.init_ops_v2.… │ │ │ │ control_dependencies = <function control_dependencies at │ │ │ │ 0x1171750d0> │ │ │ │ conv2d_backprop_filter_v2 = <function conv2d_backprop_filter_v2 │ │ │ │ at 0x11ab0fdc0> │ │ │ │ conv2d_backprop_input_v2 = <function conv2d_backprop_input_v2 │ │ │ │ at 0x11ab16280> │ │ │ │ convert_to_tensor = <function │ │ │ │ convert_to_tensor_v2_with_dispatch │ │ │ │ at 0x11715bee0> │ │ │ │ core = <module 'tensorflow.core' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ cos = <function cos at 0x117acc700> │ │ │ │ cosh = <function cosh at 0x117acc940> │ │ │ │ CriticalSection = <class │ │ │ │ 'tensorflow.python.ops.critical_sec… │ │ │ │ cumsum = <function cumsum at 0x11ac8d160> │ │ │ │ custom_gradient = <function custom_gradient at │ │ │ │ 0x11d49b0d0> │ │ │ │ data = <module 'tensorflow._api.v2.data' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ debugging = <module │ │ │ │ 'tensorflow._api.v2.debugging' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ device = <function device_v2 at 0x117172e50> │ │ │ │ DeviceSpec = <class │ │ │ │ 'tensorflow.python.framework.device… │ │ │ │ distribute = <module │ │ │ │ 'tensorflow._api.v2.distribute' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ divide = <function divide at 0x11abbb670> │ │ │ │ double = tf.float64 │ │ │ │ dtensor = <module 'tensorflow.dtensor' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ DType = <class │ │ │ │ 'tensorflow.python.framework.dtypes… │ │ │ │ dtypes = <module 'tensorflow._api.v2.dtypes' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ dynamic_partition = <function dynamic_partition at │ │ │ │ 0x11a9b7d30> │ │ │ │ dynamic_stitch = <function dynamic_stitch at │ │ │ │ 0x11a9b7f70> │ │ │ │ edit_distance = <function edit_distance at │ │ │ │ 0x117d6a160> │ │ │ │ eig = <function eig at 0x11ba90670> │ │ │ │ eigvals = <function eigvals at 0x11ba90820> │ │ │ │ einsum = <function einsum at 0x11ba5e310> │ │ │ │ ensure_shape = <function ensure_shape at │ │ │ │ 0x11afc4b80> │ │ │ │ equal = <function equal at 0x11abea5e0> │ │ │ │ errors = <module 'tensorflow._api.v2.errors' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ estimator = <repr-error │ │ │ │ "dlopen(/Users/user1/MetalDiffusion/… │ │ │ │ 0x0006): Symbol not found: │ │ │ │ (_OBJC_CLASS_$_MPSGraphGRUDescripto… │ │ │ │ Referenced from: │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ Expected in: │ │ │ │ '/System/Library/Frameworks/MetalPe… │ │ │ │ executing_eagerly = <function executing_eagerly at │ │ │ │ 0x115d46310> │ │ │ │ exp = <function exp at 0x11ac9e160> │ │ │ │ expand_dims = <function expand_dims_v2 at │ │ │ │ 0x117b530d0> │ │ │ │ experimental = <module │ │ │ │ 'tensorflow._api.v2.experimental' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ extract_volume_patches = <function extract_volume_patches at │ │ │ │ 0x11751c670> │ │ │ │ eye = <function eye at 0x11ba90310> │ │ │ │ feature_column = <module │ │ │ │ 'tensorflow._api.v2.feature_column' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ fill = <function fill at 0x117b4ba60> │ │ │ │ fingerprint = <function fingerprint at │ │ │ │ 0x117eb6e50> │ │ │ │ float16 = tf.float16 │ │ │ │ float32 = tf.float32 │ │ │ │ float64 = tf.float64 │ │ │ │ floor = <function floor at 0x11ac9e820> │ │ │ │ foldl = <function foldl_v2 at 0x11b5a2c10> │ │ │ │ foldr = <function foldr_v2 at 0x11b5b4040> │ │ │ │ function = <function function at 0x11b6b4d30> │ │ │ │ gather = <function gather_v2 at 0x117ead430> │ │ │ │ gather_nd = <function gather_nd_v2 at │ │ │ │ 0x117eada60> │ │ │ │ get_current_name_scope = <function get_current_name_scope at │ │ │ │ 0x117179a60> │ │ │ │ get_logger = <function get_logger at 0x115d1f550> │ │ │ │ get_static_value = <function constant_value at │ │ │ │ 0x11718ef70> │ │ │ │ grad_pass_through = <function grad_pass_through at │ │ │ │ 0x11d49b700> │ │ │ │ gradients = <function gradients_v2 at │ │ │ │ 0x11c95a430> │ │ │ │ GradientTape = <class │ │ │ │ 'tensorflow.python.eager.backprop.G… │ │ │ │ Graph = <class │ │ │ │ 'tensorflow.python.framework.ops.Gr… │ │ │ │ graph_util = <module │ │ │ │ 'tensorflow._api.v2.graph_util' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ greater = <function greater at 0x117adf4c0> │ │ │ │ greater_equal = <function greater_equal at │ │ │ │ 0x117adf700> │ │ │ │ group = <function group at 0x11ad8faf0> │ │ │ │ guarantee_const = <function guarantee_const at │ │ │ │ 0x117ec24c0> │ │ │ │ half = tf.float16 │ │ │ │ hessians = <function HessiansV2 at 0x11c95a5e0> │ │ │ │ histogram_fixed_width = <function histogram_fixed_width at │ │ │ │ 0x11eae9f70> │ │ │ │ histogram_fixed_width_bins = <function histogram_fixed_width_bins │ │ │ │ at 0x11eae9dc0> │ │ │ │ identity = <function identity at 0x117b4bc10> │ │ │ │ identity_n = <function identity_n at 0x1179faee0> │ │ │ │ image = <module 'tensorflow._api.v2.image' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ import_graph_def = <function import_graph_def at │ │ │ │ 0x11af23700> │ │ │ │ IndexedSlices = <class │ │ │ │ 'tensorflow.python.framework.indexe… │ │ │ │ IndexedSlicesSpec = <class │ │ │ │ 'tensorflow.python.framework.indexe… │ │ │ │ init_scope = <function init_scope at 0x117175dc0> │ │ │ │ inside_function = <function inside_function at │ │ │ │ 0x117175ee0> │ │ │ │ int16 = tf.int16 │ │ │ │ int32 = tf.int32 │ │ │ │ int64 = tf.int64 │ │ │ │ int8 = tf.int8 │ │ │ │ io = <module 'tensorflow._api.v2.io' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ is_tensor = <function is_tf_type at 0x11718f0d0> │ │ │ │ keras = <repr-error │ │ │ │ "dlopen(/Users/user1/MetalDiffusion/… │ │ │ │ 0x0006): Symbol not found: │ │ │ │ (_OBJC_CLASS_$_MPSGraphGRUDescripto… │ │ │ │ Referenced from: │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ Expected in: │ │ │ │ '/System/Library/Frameworks/MetalPe… │ │ │ │ less = <function less at 0x117aee040> │ │ │ │ less_equal = <function less_equal at 0x117aee280> │ │ │ │ linalg = <module 'tensorflow._api.v2.linalg' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ linspace = <function linspace_nd at │ │ │ │ 0x11abae310> │ │ │ │ lite = <module 'tensorflow._api.v2.lite' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ load_library = <function load_library at │ │ │ │ 0x124783160> │ │ │ │ load_op_library = <function load_op_library at │ │ │ │ 0x124751f70> │ │ │ │ logical_and = <function logical_and at │ │ │ │ 0x117aeedc0> │ │ │ │ logical_not = <function logical_not at │ │ │ │ 0x117af5040> │ │ │ │ logical_or = <function logical_or at 0x117af5280> │ │ │ │ lookup = <module 'tensorflow._api.v2.lookup' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ make_ndarray = <function MakeNdarray at │ │ │ │ 0x11718edc0> │ │ │ │ make_tensor_proto = <function make_tensor_proto at │ │ │ │ 0x11718ed30> │ │ │ │ map_fn = <function map_fn_v2 at 0x11ba83d30> │ │ │ │ math = <module 'tensorflow._api.v2.math' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ matmul = <function matmul at 0x11ac0f1f0> │ │ │ │ matrix_square_root = <function matrix_square_root at │ │ │ │ 0x11aa69dc0> │ │ │ │ maximum = <function maximum at 0x117af5940> │ │ │ │ meshgrid = <function meshgrid at 0x117d62e50> │ │ │ │ minimum = <function minimum at 0x117afb040> │ │ │ │ mlir = <module 'tensorflow._api.v2.mlir' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ Module = <class │ │ │ │ 'tensorflow.python.module.module.Mo… │ │ │ │ multiply = <function multiply at 0x11abbb820> │ │ │ │ name_scope = <class │ │ │ │ 'tensorflow.python.framework.ops.na… │ │ │ │ negative = <function neg at 0x117afbb80> │ │ │ │ nest = <module 'tensorflow._api.v2.nest' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ newaxis = None │ │ │ │ nn = <module 'tensorflow._api.v2.nn' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ no_gradient = <function no_gradient at │ │ │ │ 0x1171645e0> │ │ │ │ no_op = <function no_op at 0x11acb6af0> │ │ │ │ nondifferentiable_batch_function = <function batch_function at │ │ │ │ 0x11ead5dc0> │ │ │ │ norm = <function norm_v2 at 0x11ba90ee0> │ │ │ │ not_equal = <function not_equal at 0x11abea790> │ │ │ │ numpy_function = <function numpy_function at │ │ │ │ 0x11c975700> │ │ │ │ one_hot = <function one_hot at 0x117ea40d0> │ │ │ │ ones = <function ones at 0x117d62700> │ │ │ │ ones_initializer = <class │ │ │ │ 'tensorflow.python.ops.init_ops_v2.… │ │ │ │ ones_like = <function ones_like_v2 at │ │ │ │ 0x117d624c0> │ │ │ │ Operation = <class │ │ │ │ 'tensorflow.python.framework.ops.Op… │ │ │ │ OptionalSpec = <class │ │ │ │ 'tensorflow.python.data.ops.optiona… │ │ │ │ pad = <function pad_v2 at 0x117d62a60> │ │ │ │ parallel_stack = <function parallel_stack at │ │ │ │ 0x117b5cc10> │ │ │ │ pow = <function pow at 0x11abc2430> │ │ │ │ print = <function print_v2 at 0x11c6fd9d0> │ │ │ │ profiler = <module │ │ │ │ 'tensorflow._api.v2.profiler' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ py_function = <function eager_py_func at │ │ │ │ 0x11c975280> │ │ │ │ python = <module 'tensorflow.python' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ qint16 = tf.qint16 │ │ │ │ qint32 = tf.qint32 │ │ │ │ qint8 = tf.qint8 │ │ │ │ quantization = <module │ │ │ │ 'tensorflow._api.v2.quantization' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ queue = <module 'tensorflow._api.v2.queue' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ quint16 = tf.quint16 │ │ │ │ quint8 = tf.quint8 │ │ │ │ ragged = <module 'tensorflow._api.v2.ragged' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ RaggedTensor = <class │ │ │ │ 'tensorflow.python.ops.ragged.ragge… │ │ │ │ RaggedTensorSpec = <class │ │ │ │ 'tensorflow.python.ops.ragged.ragge… │ │ │ │ random = <module 'tensorflow._api.v2.random' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ random_index_shuffle = <function random_index_shuffle at │ │ │ │ 0x11ae020d0> │ │ │ │ random_normal_initializer = <class │ │ │ │ 'tensorflow.python.ops.init_ops_v2.… │ │ │ │ random_uniform_initializer = <class │ │ │ │ 'tensorflow.python.ops.init_ops_v2.… │ │ │ │ range = <function range at 0x11abeaca0> │ │ │ │ rank = <function rank at 0x117b5c310> │ │ │ │ raw_ops = <module 'tensorflow._api.v2.raw_ops' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ realdiv = <function real_div at 0x117b0e820> │ │ │ │ recompute_grad = <function recompute_grad at │ │ │ │ 0x11d49b670> │ │ │ │ reduce_all = <function reduce_all at 0x11ac07550> │ │ │ │ reduce_any = <function reduce_any at 0x11ac079d0> │ │ │ │ reduce_logsumexp = <function reduce_logsumexp at │ │ │ │ 0x11ac07e50> │ │ │ │ reduce_max = <function reduce_max at 0x11ac07040> │ │ │ │ reduce_mean = <function reduce_mean at │ │ │ │ 0x11abf3ee0> │ │ │ │ reduce_min = <function reduce_min at 0x11abfcb80> │ │ │ │ reduce_prod = <function reduce_prod at │ │ │ │ 0x11abfc430> │ │ │ │ reduce_sum = <function reduce_sum at 0x11abf33a0> │ │ │ │ register_tensor_conversion_function <function │ │ │ │ = register_tensor_conversion_function │ │ │ │ at 0x1170be9d0> │ │ │ │ RegisterGradient = <class │ │ │ │ 'tensorflow.python.framework.ops.Re… │ │ │ │ repeat = <function repeat at 0x117ec2310> │ │ │ │ required_space_to_batch_paddings = <function │ │ │ │ required_space_to_batch_paddings at │ │ │ │ 0x117e9c0d0> │ │ │ │ reshape = <function reshape at 0x117b4b8b0> │ │ │ │ resource = tf.resource │ │ │ │ reverse = <function reverse_v2 at 0x117a2eca0> │ │ │ │ reverse_sequence = <function reverse_sequence_v2 at │ │ │ │ 0x117ea4f70> │ │ │ │ roll = <function roll at 0x11ba9d9d0> │ │ │ │ round = <function round at 0x11abc2e50> │ │ │ │ saturate_cast = <function saturate_cast at │ │ │ │ 0x11abcc1f0> │ │ │ │ saved_model = <module │ │ │ │ 'tensorflow._api.v2.saved_model' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ scalar_mul = <function scalar_mul_v2 at │ │ │ │ 0x11abc2280> │ │ │ │ scan = <function scan_v2 at 0x11b5b4430> │ │ │ │ scatter_nd = <function scatter_nd at 0x117a2eee0> │ │ │ │ searchsorted = <function searchsorted at │ │ │ │ 0x117eb6820> │ │ │ │ sequence_mask = <function sequence_mask at │ │ │ │ 0x117ea4310> │ │ │ │ sets = <module 'tensorflow._api.v2.sets' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ shape = <function shape_v2 at 0x117b53940> │ │ │ │ shape_n = <function shape_n at 0x117b53d30> │ │ │ │ sigmoid = <function sigmoid at 0x11ac7ddc0> │ │ │ │ sign = <function sign at 0x11abc2790> │ │ │ │ signal = <module 'tensorflow._api.v2.signal' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ sin = <function sin at 0x117b28c10> │ │ │ │ sinh = <function sinh at 0x117b28e50> │ │ │ │ size = <function size_v2 at 0x117b53ee0> │ │ │ │ slice = <function slice at 0x117b5c820> │ │ │ │ sort = <function sort at 0x11c1ece50> │ │ │ │ space_to_batch = <function space_to_batch_v2 at │ │ │ │ 0x117e9c4c0> │ │ │ │ space_to_batch_nd = <function space_to_batch_nd at │ │ │ │ 0x117a3a160> │ │ │ │ sparse = <module 'tensorflow._api.v2.sparse' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ SparseTensor = <class │ │ │ │ 'tensorflow.python.framework.sparse… │ │ │ │ SparseTensorSpec = <class │ │ │ │ 'tensorflow.python.framework.sparse… │ │ │ │ split = <function split at 0x117b63d30> │ │ │ │ sqrt = <function sqrt at 0x11ac93f70> │ │ │ │ square = <function square at 0x117b3b0d0> │ │ │ │ squeeze = <function squeeze_v2 at 0x117ea4790> │ │ │ │ stack = <function stack at 0x117b5cdc0> │ │ │ │ stop_gradient = <function stop_gradient at │ │ │ │ 0x117ec25e0> │ │ │ │ strided_slice = <function strided_slice at │ │ │ │ 0x117b5c9d0> │ │ │ │ string = tf.string │ │ │ │ strings = <module 'tensorflow._api.v2.strings' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ subtract = <function subtract at 0x11abbbaf0> │ │ │ │ summary = <module │ │ │ │ 'tensorboard.summary._tf.summary' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ switch_case = <function switch_case at │ │ │ │ 0x11ad924c0> │ │ │ │ sysconfig = <module │ │ │ │ 'tensorflow._api.v2.sysconfig' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ tan = <function tan at 0x117b3b9d0> │ │ │ │ tanh = <function tanh at 0x117b3bc10> │ │ │ │ Tensor = <class │ │ │ │ 'tensorflow.python.framework.ops.Te… │ │ │ │ tensor_scatter_nd_add = <function tensor_scatter_add at │ │ │ │ 0x117a425e0> │ │ │ │ tensor_scatter_nd_max = <function tensor_scatter_max at │ │ │ │ 0x117a42790> │ │ │ │ tensor_scatter_nd_min = <function tensor_scatter_min at │ │ │ │ 0x117a429d0> │ │ │ │ tensor_scatter_nd_sub = <function tensor_scatter_sub at │ │ │ │ 0x117a42ca0> │ │ │ │ tensor_scatter_nd_update = <function tensor_scatter_nd_update │ │ │ │ at 0x117eadd30> │ │ │ │ TensorArray = <class │ │ │ │ 'tensorflow.python.ops.tensor_array… │ │ │ │ TensorArraySpec = <class │ │ │ │ 'tensorflow.python.ops.tensor_array… │ │ │ │ tensordot = <function tensordot at 0x11ac93040> │ │ │ │ TensorShape = <class │ │ │ │ 'tensorflow.python.framework.tensor… │ │ │ │ TensorSpec = <class │ │ │ │ 'tensorflow.python.framework.tensor… │ │ │ │ test = <module 'tensorflow._api.v2.test' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ tile = <function tile at 0x117a483a0> │ │ │ │ timestamp = <function timestamp at 0x11ad28790> │ │ │ │ tools = <module 'tensorflow.tools' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ tpu = <module 'tensorflow._api.v2.tpu' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ tpu_partitioned_output_v2 = <function tpu_partitioned_output_v2 │ │ │ │ at 0x11d68e160> │ │ │ │ train = <module 'tensorflow._api.v2.train' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ transpose = <function transpose_v2 at │ │ │ │ 0x117b63ee0> │ │ │ │ truediv = <function truediv at 0x11abd4700> │ │ │ │ truncatediv = <function truncate_div at │ │ │ │ 0x117b430d0> │ │ │ │ truncatemod = <function truncate_mod at │ │ │ │ 0x117b43310> │ │ │ │ tsl = <module 'tensorflow.tsl' from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ tuple = <function tuple_v2 at 0x11ad8fd30> │ │ │ │ type_spec_from_value = <function type_spec_from_value at │ │ │ │ 0x1170fedc0> │ │ │ │ types = <module 'tensorflow._api.v2.types' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ TypeSpec = <class │ │ │ │ 'tensorflow.python.framework.type_s… │ │ │ │ uint16 = tf.uint16 │ │ │ │ uint32 = tf.uint32 │ │ │ │ uint64 = tf.uint64 │ │ │ │ uint8 = tf.uint8 │ │ │ │ UnconnectedGradients = <enum 'UnconnectedGradients'> │ │ │ │ unique = <function unique at 0x117b639d0> │ │ │ │ unique_with_counts = <function unique_with_counts at │ │ │ │ 0x117b63b80> │ │ │ │ unravel_index = <function unravel_index at │ │ │ │ 0x117a563a0> │ │ │ │ unstack = <function unstack at 0x117b63280> │ │ │ │ Variable = <class │ │ │ │ 'tensorflow.python.ops.variables.Va… │ │ │ │ variable_creator_scope = <function variable_creator_scope at │ │ │ │ 0x11af20310> │ │ │ │ VariableAggregation = <enum 'VariableAggregationV2'> │ │ │ │ VariableSynchronization = <enum 'VariableSynchronization'> │ │ │ │ variant = tf.variant │ │ │ │ vectorized_map = <function vectorized_map at │ │ │ │ 0x11c6149d0> │ │ │ │ version = <module 'tensorflow._api.v2.version' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ where = <function where_v2 at 0x117ea4af0> │ │ │ │ while_loop = <function while_loop_v2 at │ │ │ │ 0x11ad8f820> │ │ │ │ xla = <module 'tensorflow._api.v2.xla' │ │ │ │ from │ │ │ │ '/Users/user1/MetalDiffusion/venv/li… │ │ │ │ zeros = <function zeros at 0x117b6bca0> │ │ │ │ zeros_initializer = <class │ │ │ │ 'tensorflow.python.ops.init_ops_v2.… │ │ │ │ zeros_like = <function zeros_like_v2 at │ │ │ │ 0x117d62040> │ │ │ ╰──────────────────────────────────────────────────────────────────────────╯ │ │ │ │ /Users/user1/MetalDiffusion/venv/lib/python3.9/site-packages/tensorflow/pytho │ │ n/framework/load_library.py:151 in load_library │ │ │ │ 148 │ kernel_libraries = [library_location] │ │ 149 │ │ │ 150 │ for lib in kernel_libraries: │ │ ❱ 151 │ py_tf.TF_LoadLibrary(lib) │ │ 152 │ │ 153 else: │ │ 154 │ raise OSError( │ │ │ │ ╭───────────────────────────────── locals ─────────────────────────────────╮ │ │ │ directory_contents = [ │ │ │ │ │ 'tools', │ │ │ │ │ '__init__.py', │ │ │ │ │ '__pycache__', │ │ │ │ │ 'libmetal_plugin.dylib' │ │ │ │ ] │ │ │ │ kernel_libraries = [ │ │ │ │ │ │ │ │ │ '/Users/user1/MetalDiffusion/venv/lib/python3.9/sit… │ │ │ │ ] │ │ │ │ lib = '/Users/user1/MetalDiffusion/venv/lib/python3.9/sit… │ │ │ │ library_location = '/Users/user1/MetalDiffusion/venv/lib/python3.9/sit… │ │ │ ╰──────────────────────────────────────────────────────────────────────────╯ │ ╰──────────────────────────────────────────────────────────────────────────────╯ NotFoundError: dlopen(/Users/user1/MetalDiffusion/venv/lib/python3.9/site-packages/tensorflow-pl ugins/libmetal_plugin.dylib, 0x0006): Symbol not found: (_OBJC_CLASS_$_MPSGraphGRUDescriptor) Referenced from: '/Users/user1/MetalDiffusion/venv/lib/python3.9/site-packages/tensorflow-plugins/ libmetal_plugin.dylib' Expected in: '/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Versions/A/Me talPerformanceShadersGraph'Beta Was this translation helpful? Give feedback.
All reactions