Commit 70e573d
committed
Merge branch 'main' into zhenyuan_enable_studio
Bring the Intel XPU Studio enablement up to date with main (post unslothai#5819) and
resolve the four conflicts additively, keeping every non-XPU backend
(NVIDIA CUDA, AMD ROCm, CPU, Apple MLX) byte-for-byte unchanged.
- utils/hardware/hardware.py: re-apply the XPU points on top of main's
refactor -- detect_hardware explicit-XPU hint, XPU as a supported
selection backend (auto_select_gpu_ids, prepare_gpu_selection,
get_device_map), ZE_AFFINITY_MASK visibility (_get_parent_visible_gpu_spec,
get_visible_gpu_count, _backend_visible_devices_env, apply_gpu_ids),
backend-aware clear_gpu_cache, package versions, per-device info, and the
fork-after-Level-Zero-init guard. CUDA/ROCm/CPU/MLX paths are untouched.
- core/training/trainer.py: route the three codec cache clears through the
backend-aware clear_gpu_cache(); keep codec device as CUDA-or-CPU because
the SNAC/Spark-TTS/OuteTTS codecs are not yet validated on XPU.
- core/inference/llama_cpp.py: take main's Vulkan GGUF design verbatim;
llama.cpp Intel inference (Vulkan) is decoupled from torch XPU training.
- tests/test_gpu_selection.py: XPU is now a supported selection backend.1,678 files changed
Lines changed: 464127 additions & 38151 deletions
File tree
- .github
- scripts
- workflows
- images
- scripts
- data
- studio
- backend
- assets
- chat_templates
- configs
- model_defaults
- ernie
- falcon
- gemma
- gpt-oss
- granite
- llama
- llasa
- mistral
- other
- phi
- qwen
- auth
- core
- data_recipe
- jobs
- oxc-validator
- export
- inference
- rag
- training
- hub
- routes
- schemas
- services
- datasets
- models
- storage
- tests
- utils
- workers
- loggers
- models
- plugins
- data-designer-github-repo-seed
- src/data_designer_github_repo_seed
- scraper_impl
- data-designer-unstructured-seed/src/data_designer_unstructured_seed
- requirements
- single-env
- routes
- data_recipe
- state
- storage
- tests
- utils
- datasets
- hardware
- inference
- models
- paths
- security
- frontend
- public
- hub/profile/logo
- provider-logos
- misc
- src
- app
- routes
- assets
- components
- assistant-ui
- model-selector
- tauri
- ui
- web
- config
- features
- auth
- components
- chat
- adapters
- api
- artifacts
- components
- hooks
- lib
- presets
- prompt-storage
- stores
- tour
- types
- utils
- data-recipes
- learning-recipes
- pages
- export
- api
- components
- hooks
- lib
- stores
- hub
- catalog
- components
- download-manager
- hooks
- inventory
- lib
- stores
- native-intents
- components
- onboarding/components
- steps
- profile
- components
- hooks
- stores
- utils
- rag
- api
- components
- types
- recipe-studio
- api
- blocks
- components
- executions
- inline
- runtime
- dialogs
- models
- seed
- easy
- executions
- hooks
- stores
- helpers
- types
- utils
- graph
- import
- parsers
- payload
- security
- api
- components
- hooks
- lib
- stores
- settings
- api
- components
- stores
- tabs
- studio
- sections
- charts
- tour/steps
- tour
- components
- lib
- training
- api
- hooks
- lib
- stores
- types
- hooks
- i18n
- locales
- lib
- types
- utils
- src-tauri
- capabilities
- icons
- linux
- src
- diagnostics
- preflight
- windows
- branding
- tests
- notebooks
- python
- qlora
- saving
- gpt-oss-merge
- language_models
- non_peft
- text_to_speech_models
- vision_models
- security
- fixtures
- sh
- studio_setup_ps1
- studio
- install
- load_freeze
- utils
- version_compat
- vllm_compat
- unsloth_cli
- commands
- tests
- unsloth
- dataprep
- kernels
- moe
- benchmark
- grouped_gemm
- kernels
- reference
- layers
- tests
- models
- optimizers
- registry
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
11 | 20 | | |
12 | | - | |
13 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
14 | 33 | | |
15 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
16 | 39 | | |
17 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
18 | 44 | | |
19 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
20 | 87 | | |
21 | | - | |
| 88 | + | |
22 | 89 | | |
23 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
24 | 96 | | |
25 | | - | |
| 97 | + | |
| 98 | + | |
26 | 99 | | |
27 | 100 | | |
0 commit comments