Commit Graph
948 Commits
Author SHA1 Message Date
furyhawk 23e798bb7c Refactor model loading script and add Ollama notebook
- Updated the Modelfile path in `pull-deepseek-model.sh` to use an absolute path for model files.
- Simplified the model loading process by removing unnecessary directory changes and directly referencing the mounted Modelfile.
- Added a new Jupyter notebook `ollama.ipynb` that demonstrates the usage of the Ollama API with a sample query and error handling for unsupported tools.
2025-06-16 15:41:55 +08:00
furyhawk 3cfd66a31b fix: Update container commands from Docker to Podman in pull-deepseek-model.sh 2025-06-16 13:17:47 +08:00
furyhawk f8fad71b74 Add initial pyproject.toml for pydantic-ai project with dependencies 2025-06-16 13:11:17 +08:00
furyhawk 59e5f20dbb Implement feature X to enhance user experience and fix bug Y in module Z 2025-06-16 07:15:12 +08:00
furyhawk 3dbefacf1b Refactor code structure and remove redundant functions for improved readability and maintainability 2025-06-15 20:22:05 +08:00
furyhawk f07aeaf812 Remove empty notebook and add comprehensive LlamaCPP API examples with health check, server info, text completion, chat completion, streaming, and utility functions. 2025-06-15 10:43:52 +08:00
furyhawk 13698884f7 fix: Update container check from Docker to Podman in LlamaCPP script 2025-06-15 09:11:35 +08:00
furyhawk a3710d70a7 fix: Improve huggingface-hub installation process with enhanced logging and fallback methods 2025-06-15 08:50:28 +08:00
furyhawk 4136655e74 fix: Enhance huggingface-hub installation process with improved error handling and fallback options 2025-06-15 08:45:16 +08:00
furyhawk 3177afddba fix: Improve huggingface-hub installation process and add error handling 2025-06-15 08:44:03 +08:00
furyhawk 96b4b2c0b0 feat: Add host networking option for LlamaCPP build and update help text 2025-06-15 08:35:19 +08:00
furyhawk 22e8c795c7 fix: Add ai_stack/llamacpp/models/ to .gitignore to prevent tracking of model files 2025-06-15 08:30:10 +08:00
furyhawk a8dad3debe fix: Update model file references and enhance Dockerfile for LlamaCPP setup 2025-06-15 08:29:42 +08:00
furyhawk e9dc288cef Add Ollama Docker setup and model management scripts
- Created README.md for Ollama Docker setup with instructions for running and using models.
- Added docker-compose.yml for Ollama service configuration.
- Introduced scripts for model setup, including pulling models from Hugging Face and loading them into Ollama.
- Implemented AI launcher script to choose between Ollama and LlamaCPP backends.
- Added GPU support scripts for LlamaCPP with detailed logging and error handling.
- Included simple model pull script for easier model management.
- Established a structured approach for model management and integration with Ollama API.
2025-06-14 21:31:16 +08:00
furyhawk a54b7ffc38 refactor: Remove unused dependencies from pyproject.toml 2025-06-03 18:21:21 +08:00
furyhawk bf91dfb2ea Refactor code structure for improved readability and maintainability 2025-06-03 15:31:35 +08:00
furyhawk 11f83042ae Add toggle_nvidia.sh script for managing NVIDIA persistence mode and performance state
This script allows users to easily enable or disable NVIDIA persistence mode and adjust the performance state of the GPU. It includes options to set the clock speeds and reload the NVIDIA Unified Memory kernel module. Usage instructions are provided for clarity.
2025-06-03 13:18:36 +08:00
furyhawk 3c75694260 Add Unsloth notebook for fast finetuning with Llama and Qwen models
- Introduced a new Jupyter notebook `unsloth_nb.ipynb` for utilizing the Unsloth library.
- Implemented code to load and patch FastLanguageModel and FastQwen2Model for improved training speed.
- Configured models to support 4-bit quantization for reduced memory usage.
- Included detailed logging for model loading and system specifications.
2025-06-02 17:26:25 +08:00
furyhawk d69ef91778 refactor: Remove unnecessary React import from weather hub component v3.0 2025-05-29 09:22:11 +08:00
furyhawk 26e4f7bb04 refactor: Replace ChakraCard with Card component and improve spacing in weather components 2025-05-28 22:46:33 +08:00
furyhawk 85c34ba376 refactor: Update card component usage and spacing in FourDayOutlook 2025-05-28 22:33:57 +08:00
furyhawk 60c42651fa feat: Add weather components for air temperature, wind direction, and forecasts
- Implemented AirTemperature component to display average temperature and readings by station.
- Created FourDayOutlook component for displaying a four-day weather outlook.
- Added MapComponents for handling map invalidation and centering.
- Developed TwoHourForecast component to show forecasts for the next two hours with area selection.
- Built WeatherMap component to visualize temperature and wind data on a map.
- Introduced WeatherStatistics component to summarize weather conditions across areas.
- Created WindDirection component to calculate and display average wind direction.
- Added utility function to get weather icons based on forecast descriptions.
2025-05-28 22:11:22 +08:00
furyhawk f1cd7c3063 refactor: Update map handling in WeatherMap and TwoHourForecast components 2025-05-28 21:43:47 +08:00
furyhawk 26fab5b01f refactor: Add MapCenter component for auto-centering the map and improve map integration in WeatherMap 2025-05-28 21:20:23 +08:00
furyhawk fe1fbca07a refactor: Add MapInvalidator component to handle map size invalidation on tab visibility 2025-05-28 20:26:50 +08:00
furyhawk 39ff52c1f6 refactor: Add view mode toggle and map display for TwoHourForecast component 2025-05-28 19:56:50 +08:00
furyhawk 4a836220bb refactor: Improve WeatherMap component by enhancing marker display with temperature and wind direction 2025-05-28 19:13:28 +08:00
furyhawk c1eb7400d9 refactor: Enhance WeatherMap component by adding temperature display above markers 2025-05-28 16:35:20 +08:00
furyhawk 33873fe260 refactor: Add WeatherMap component with Leaflet integration for displaying air temperature readings 2025-05-28 16:23:35 +08:00
furyhawk b84abc0982 refactor: Restructure WindReading and WindStation interfaces, enhance wind direction calculations, and improve data handling in WindDirection component 2025-05-28 16:09:58 +08:00
furyhawk dab8d8dc14 refactor: Improve Air Temperature data handling and enhance station mapping in readings 2025-05-28 15:59:07 +08:00
furyhawk dea08f4b7b refactor: Enhance data handling in weather API responses with flattened readings structure 2025-05-28 15:37:57 +08:00
furyhawk 67a0ff692a refactor: Update OutlookForecast interface to use timestamp and add day field 2025-05-28 14:51:28 +08:00
furyhawk 68192a2803 refactor: Enhance OutlookForecast structure and improve getWeatherIcon function 2025-05-28 14:23:11 +08:00
furyhawk 690a9535f6 fix: Update Weather Hub sidebar link path to correct routing 2025-05-28 14:19:07 +08:00
furyhawk f3817680b0 feat: Add Weather Hub component with real-time weather data and forecasts 2025-05-28 13:31:47 +08:00
furyhawk 1065b6e712 refactor: Remove unused client services file from the project 2025-05-28 13:16:42 +08:00
furyhawk 8de21b8c15 refactor: Remove unused weather route and related references from route tree 2025-05-28 13:16:20 +08:00
furyhawk fcc06452e7 refactor: Remove unused weather components and related types 2025-05-28 13:14:55 +08:00
furyhawk d6d08cb7c6 refactor: Correct Docker Compose file references in makefile to use the standard docker-compose.yml 2025-05-28 11:51:58 +08:00
furyhawk f0a8bf7286 refactor: Update makefile to include specific Docker Compose files for all targets 2025-05-28 07:22:00 +08:00
furyhawk 846dee37d4 refactor: Add network target to create traefik-public network before starting containers 2025-05-27 20:24:43 +08:00
furyhawk fe36257af0 refactor: Update Docker image references in .env and docker-compose.yml for consistency 2025-05-27 20:14:45 +08:00
furyhawk 6d1dd32c67 refactor: Update makefile to consistently use environment file for Podman commands 2025-05-27 20:09:51 +08:00
furyhawk 9defb712a7 refactor: Update weather components to use new forecast types and improve data handling 2025-05-27 16:09:30 +08:00
furyhawk 7a6b278eb4 refactor: Remove unused WeatherForecast component and related files 2025-05-27 15:12:54 +08:00
furyhawk 727568c217 Implement feature X to enhance user experience and fix bug Y in module Z 2025-05-27 14:54:29 +08:00
furyhawk 52976c7411 Refactor generated types for consistency and clarity
- Updated type definitions in `types.gen.ts` to use consistent formatting and remove unnecessary line breaks.
- Renamed types for better readability, such as changing `BodyLoginLoginAccessToken` to `Body_login_login_access_token`.
- Consolidated similar types and ensured all properties are consistently formatted.
- Added new types for item and user operations to enhance API interaction.
- Improved documentation comments for query parameters in weather-related data types.
2025-05-27 14:53:40 +08:00
furyhawk 5127214e2b fix: Update Docker image configuration to use dynamic stack name 2025-05-27 13:56:02 +08:00
furyhawk 8b4841083d feat: Add new weather data types and client configuration
- Introduced new types for air temperature, wind direction, lightning, and WBGT data.
- Updated existing types for user and item management.
- Created a new client configuration file to initialize the API client with default options.
2025-05-26 07:31:22 +08:00