Comments (3)
I'm also having the same issue with the same error. I also tried to convert a gguf model file and received a different error.
from mlx-examples.
The example has been tested with Llama v1 7B but the fixes to the weight converter should be fairly easy to do.
For the above error, changing value.numpy()
to value.float().half().numpy()
would work but it would set the weight to float16
. The reason is that numpy doesn't support bfloat16
.
from mlx-examples.
- The BF16 issue is fixed in main.
- Converting sharded models is not supported yet, but we should add that. Marking this as duplicate with #35 which we can use for this feature.
from mlx-examples.
Related Issues (20)
- How could I deal with the GPU memory issue when fine-tune with lora? HOT 5
- Add wav2vec2 support for real-time ASR
- [Feature Request] LLaVA 1.6 LoRA fine-tuning example HOT 15
- How to do the LoRA fine-tuning incrementally HOT 3
- Error in finetuning mistralai/Mixtral-8x7B-v0.1 using mlx_lm.lora HOT 10
- https://github.com/ml-explore/mlx-examples/blob/main/llms/mlx_lm/SERVER.md example is broken HOT 3
- Can't finetune mixtral-8x7B base model HOT 5
- No attribute 'state' issue when fine-tune with lora. HOT 1
- Question
- Question about code HOT 1
- Can't generate token with lora adapter HOT 14
- Getting nan values for training and validation loss HOT 34
- When loading an adapter in mlx_lm, the rank, alpha and dropout are not loaded to what was trained with HOT 9
- Whisper is incredibly slow, PyTorch and even Whisper.cpp blow this out of the water HOT 4
- Doesn't change the value in the class. HOT 1
- Mixtral model crashing with long prompt HOT 19
- [Feature Request] Finetune Command-R HOT 2
- SDXL Turbo + CFG Param HOT 2
- Please share the sample of chat format for LoRA Fine-tuning HOT 4
- [Feature Request] A better Finetune method
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlx-examples.