Comments (6)
We have manually changed some original implementations to better support grouping strategy and flash attn, and recommend every VILA user to do so.
Though our codebase should work with higher version transformer, we haven't tested throughfully thus cannot promise anything. Please use v4.36.2 for reproducement.
from vila.
I found "transformers_version": "4.38.1",
in the config.json
of VILA-2.7B. Which version of transformers should we use to run VILA-2.7B? By the way, is there any plan to allow loading VILA models using transformers API only without relying on the current repo?
from vila.
I noticed that you mainly manually implemented class LlamaForCausalLM(LlamaPreTrainedModel)
in I noticed that you mainly manually implemented class LlamaForCausalLM(LlamaPreTrainedModel) in replace
. however, in the code (either train or infer), your implemented class is not be used. What's wrong with it?
Thanks for your reply
from vila.
@Lyken17 : Could you please share some details for this ?
from vila.
please use 4.36.2 for now, we will upgrade to 4.37 in next release :)
from vila.
Also why manually replace the files?
Why not use monkeypatching, or reregister your versions with transformers using exist_ok=True?
from vila.
Related Issues (20)
- How to convert model to gguf HOT 3
- Deployment to SageMaker and/or HuggingFace Inference Endpoints Fails With Error HOT 5
- Whether the visual encoder participates in training HOT 1
- Support for multi-video captioning with multiple grid image inputs? HOT 1
- Multi-Image or Multi-Video Inference Example HOT 2
- question: what does 'repack_multimodal_data' function do? HOT 1
- release schedule for the "VILA1.5-34b-4bit-AWQ" model. HOT 1
- Is there any way to increase the context window? HOT 4
- Question re. LanguageModel vs LanguageModelForCausalLM functionalies HOT 2
- Llama2 or Llama3
- What is the conv_mode for VILA-1.5-3B ? HOT 1
- AttributeError: 'Image' object has no attribute 'shape' HOT 6
- Support VILA with lmdeploy
- Image text retrieval support
- COYO-700M Dataset Download Script Error
- Issue with Flash Attention on V100 GPU for Llama-3-VILA1.5-8B Model HOT 3
- [Help] Using VILA1.5-40b model for Video Descriptions
- [HELP] Do we have any docker image for Jetson platform ?
- No training scripts in scripts/v1_5/paper/
- About sharegpt_video. How do you make video file from jpeg images?
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 vila.