You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26-6Lines changed: 26 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,32 @@
2
2
3
3
All notable changes to LocalLab will be documented in this file.
4
4
5
+
## 0.4.23 - 2025-03-13
6
+
7
+
### Fixed
8
+
9
+
- Fixed critical issue with BERT model loading by removing device_map for BERT models
10
+
- Added proper BERT model configuration for text generation
11
+
- Improved model loading process with better architecture detection
12
+
- Enhanced error handling for different model architectures
13
+
- Fixed memory management for CPU-only environments
14
+
- Added automatic model type detection and configuration
15
+
- Improved compatibility with various model architectures
16
+
- Enhanced error messages for better debugging
17
+
18
+
### Added
19
+
20
+
- Added support for BERT models in text generation mode
21
+
- Implemented automatic model architecture detection
22
+
- Added proper model-specific configurations
23
+
- Enhanced memory optimization for different model types
24
+
5
25
## 0.4.22 - 2025-03-12
6
26
7
27
### Fixed
8
28
9
29
- Fixed critical issue with server not terminating properly when Ctrl+C is pressed
10
-
- Improved process termination by using os.\_exit() instead of sys.exit() for clean shutdown
30
+
- Improved process termination by using os._exit() instead of sys.exit() for clean shutdown
11
31
- Added CPU compatibility by disabling quantization when CUDA is not available
12
32
- Fixed bitsandbytes error for CPU-only systems with clear warning messages
13
33
- Enhanced user experience with better error handling for non-GPU environments
@@ -55,7 +75,7 @@ All notable changes to LocalLab will be documented in this file.
55
75
- Implemented proper ASGI server in SimpleTCPServer for handling API requests
56
76
- Added support for uvicorn's H11Protocol for better request handling
57
77
- Improved fallback server implementation with proper HTTP request parsing
58
-
-Enhanced API documentation to show correct URLs based on environment
78
+
-Fixed API documentation to show correct URLs based on environment
59
79
- Fixed API examples to show local URL or ngrok URL based on configuration
60
80
- Ensured server works correctly in both local and Google Colab environments
61
81
@@ -108,7 +128,7 @@ All notable changes to LocalLab will be documented in this file.
108
128
109
129
- Fixed critical error: "'Config' object has no attribute 'server_class'"
110
130
- Implemented custom startup method that doesn't rely on config.server_class
111
-
- Fixed import issues in Google Colab by properly exposing start_server in **init**.py
131
+
- Fixed import issues in Google Colab by properly exposing start_server in __init__.py
112
132
- Enhanced compatibility with different versions of uvicorn
113
133
- Improved server initialization for more reliable startup
114
134
- Added direct TCPServer initialization for better compatibility
@@ -139,7 +159,7 @@ All notable changes to LocalLab will be documented in this file.
139
159
140
160
### Fixed
141
161
142
-
- Fixed critical error: "LifespanOn.**init**() takes 2 positional arguments but 3 were given"
162
+
- Fixed critical error: "LifespanOn.__init__() takes 2 positional arguments but 3 were given"
143
163
- Enhanced lifespan initialization to handle different uvicorn versions with varying parameter requirements
144
164
- Implemented comprehensive parameter testing for all lifespan classes to ensure compatibility
145
165
- Added detailed logging for lifespan initialization to aid in troubleshooting
@@ -149,7 +169,7 @@ All notable changes to LocalLab will be documented in this file.
149
169
150
170
### Fixed
151
171
152
-
- Fixed critical error with LifespanOn initialization: "LifespanOn.**init**() got an unexpected keyword argument 'logger'"
172
+
- Fixed critical error with LifespanOn initialization: "LifespanOn.__init__() got an unexpected keyword argument 'logger'"
153
173
- Improved compatibility with different versions of uvicorn by properly handling lifespan initialization
154
174
- Enhanced error handling for different lifespan implementations
155
175
- Added graceful fallbacks when lifespan initialization fails
@@ -487,4 +507,4 @@ All notable changes to LocalLab will be documented in this file.
487
507
- Refactored `run_server_proc` in the spawned process to initialize a dedicated logger ("locallab.spawn") to avoid inheriting SemLock objects from a fork context.
488
508
- Ensured that the log queue is created using the multiprocessing spawn context, preventing runtime errors in Google Colab.
489
509
- Updated Mermaid diagrams in `README.md` and `docs/colab/README.md` to enclose node labels in double quotes, resolving parse errors in GitHub rendering.
490
-
- Removed duplicate architecture diagrams from the root `
510
+
- Removed duplicate architecture diagrams from the root `README.md` file.
0 commit comments