Giter VIP home page Giter VIP logo

mlx-ui's People

Contributors

da-z avatar ggaabe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mlx-ui's Issues

Getting errors when I run.

In UI:
ValueError: Missing parameters: lm_head.biases lm_head.scales.
Traceback:
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
exec(code, module.dict)
File "/Users/bradn/mlx-ui/app.py", line 58, in
model, tokenizer = load_model(model_ref)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 212, in wrapper
return cached_func(*args, **kwargs)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 241, in call
return self._get_or_create_cached_value(args, kwargs)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 267, in _get_or_create_cached_value
return self._handle_cache_miss(cache, value_key, func_args, func_kwargs)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 321, in _handle_cache_miss
computed_value = self._info.func(*func_args, **func_kwargs)
File "/Users/bradn/mlx-ui/app.py", line 55, in load_model
return load(ref)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/mlx_lm/utils.py", line 232, in load
model = load_model(model_path)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/mlx_lm/utils.py", line 205, in load_model
model.load_weights(list(weights.items()))
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/mlx/nn/layers/base.py", line 151, in load_weights
raise ValueError(f"Missing parameters: {missing}.")

CLI:
Traceback (most recent call last):█████████| 16.1G/16.1G [08:33<00:00, 56.1MB/s]
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 264, in _get_or_create_cached_value
cached_result = cache.read_result(value_key)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/caching/cache_resource_api.py", line 498, in read_result
raise CacheKeyNotFoundError()
streamlit.runtime.caching.cache_errors.CacheKeyNotFoundError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 312, in _handle_cache_miss
cached_result = cache.read_result(value_key)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/caching/cache_resource_api.py", line 498, in read_result
raise CacheKeyNotFoundError()
streamlit.runtime.caching.cache_errors.CacheKeyNotFoundError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
exec(code, module.dict)
File "/Users/bradn/mlx-ui/app.py", line 58, in
model, tokenizer = load_model(model_ref)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 212, in wrapper
return cached_func(*args, **kwargs)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 241, in call
return self._get_or_create_cached_value(args, kwargs)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 267, in _get_or_create_cached_value
return self._handle_cache_miss(cache, value_key, func_args, func_kwargs)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 321, in _handle_cache_miss
computed_value = self._info.func(*func_args, **func_kwargs)
File "/Users/bradn/mlx-ui/app.py", line 55, in load_model
return load(ref)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/mlx_lm/utils.py", line 232, in load
model = load_model(model_path)
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/mlx_lm/utils.py", line 205, in load_model
model.load_weights(list(weights.items()))
File "/Users/bradn/mlx-ui/venv/lib/python3.10/site-packages/mlx/nn/layers/base.py", line 151, in load_weights
raise ValueError(f"Missing parameters: {missing}.")
ValueError: Missing parameters: lm_head.biases lm_head.scales.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.