Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,10 +1,32 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
colorFrom: yellow
|
5 |
-
colorTo:
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
---
|
9 |
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
title: InternViT Fixed Test
|
3 |
+
emoji: 🚀
|
4 |
colorFrom: yellow
|
5 |
+
colorTo: red
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
---
|
9 |
|
10 |
+
# InternViT-6B with Fixed Quotes
|
11 |
+
|
12 |
+
This Space demonstrates loading and using the InternViT-6B model with a patched flash-attn implementation.
|
13 |
+
|
14 |
+
## Fixes Applied
|
15 |
+
|
16 |
+
1. Fixed the f-string quote issue in the Python script
|
17 |
+
2. Uses a separate Python file instead of embedding it in the Dockerfile
|
18 |
+
3. Includes a dummy flash-attn implementation to avoid compilation
|
19 |
+
4. Provides detailed diagnostics on startup
|
20 |
+
|
21 |
+
## Benefits
|
22 |
+
|
23 |
+
- Much faster build time
|
24 |
+
- No compilation errors or timeouts
|
25 |
+
- Still loads the full 6B parameter model
|
26 |
+
- Demonstrates basic functionality
|
27 |
+
|
28 |
+
## Instructions
|
29 |
+
|
30 |
+
1. Click the "Test Model Loading" button
|
31 |
+
2. Wait for the model to load and run the test
|
32 |
+
3. Check the results for success or errors
|