MCPcopy Create free account

hub / github.com/unslothai/unsloth / functions

Functions18,583 in github.com/unslothai/unsloth

↓ 2,194 callersMethodget
(self, *args, **kwargs)
studio/backend/hub/tests/conftest.py:53
↓ 1,706 callersMethodget
( self, entry_id: str, *, subject: Optional[str] = None, )
studio/backend/core/inference/api_monitor.py:250
↓ 1,069 callersMethodjoin
(self, timeout = 5.0)
studio/backend/tests/test_tool_approvals.py:69
↓ 897 callersMethodinfo
(self, event, **kw)
studio/backend/tests/test_llama_stats.py:15
↓ 848 callersMethodget
(self, *a, **k)
studio/backend/tests/test_training_pump_resilience.py:205
↓ 758 callersFunctionset
(key: K)
studio/frontend/src/features/chat/chat-settings-sheet.tsx:761
↓ 651 callersFunctionField
({ className, orientation = "vertical", ...props }: React.ComponentProps<"div"> & VariantProps<typeof fi
studio/frontend/src/components/ui/field.tsx:73
↓ 635 callersFunctioncn
(...inputs: ClassValue[])
studio/frontend/src/lib/utils.ts:7
↓ 579 callersMethodresolve
(self)
studio/backend/tests/test_cached_gguf_routes.py:458
↓ 553 callersMethodmkdir
(self, *, parents: bool, exist_ok: bool)
studio/backend/hub/tests/test_model_services.py:213
↓ 466 callersFunctionlist
()
studio/frontend/src/features/chat/runtime-provider.tsx:651
↓ 404 callersMethodfilter
(self, record: logging.LogRecord)
studio/backend/run.py:107
↓ 403 callersMethodget
(self, *args, **kwargs)
unsloth/import_fixes.py:1603
↓ 402 callersMethodwarning
(self, msg, *args)
studio/backend/tests/test_bootstrap_timeout.py:175
↓ 390 callersMethoderror
(self, event, **kw)
studio/backend/tests/test_logging_middleware.py:22
↓ 363 callersMethodrun
()
studio/backend/tests/test_middleware.py:390
↓ 282 callersMethodhas
(key: K)
studio/frontend/src/features/hub/lib/lru-map.ts:18
↓ 269 callersMethodexecute
(self)
studio/backend/hub/tests/test_dataset_services.py:84
↓ 250 callersMethoddebug
(self, *a, **k)
studio/backend/tests/test_llama_stats.py:18
↓ 249 callersMethodadd
({ file }: { file: File })
studio/frontend/src/features/chat/runtime-provider.tsx:91
↓ 240 callersMethodget
( self, key: str, default: Any = None, )
studio/backend/plugins/data-designer-github-repo-seed/src/data_designer_github_repo_seed/scraper_impl/state_store.py:28
↓ 229 callersMethodclose
(self)
studio/backend/tests/test_gemini_provider.py:5174
↓ 196 callersFunctionopen
()
studio/frontend/src/components/assistant-ui/tool-ui-knowledge-base.tsx:37
↓ 189 callersMethodget
(key: K)
studio/frontend/src/features/hub/lib/lru-map.ts:22
↓ 180 callersFunctionVersion
(version)
unsloth/import_fixes.py:47
↓ 170 callersMethoddecode
( self, ids, skip_special_tokens = False, )
studio/backend/tests/test_mlx_inference_backend.py:228
↓ 167 callersMethodset
(key: K, value: V)
studio/frontend/src/features/hub/lib/lru-map.ts:30
↓ 165 callersFunctionauthFetch
( input: RequestInfo | URL, init?: RequestInit, )
studio/frontend/src/features/auth/api.ts:152
↓ 161 callersMethodjson
(self)
studio/backend/tests/test_rag_captioning.py:172
↓ 156 callersMethodencode
(self, texts, **_kw)
studio/backend/tests/test_rag_embeddings.py:103
↓ 156 callersMethodrun
(self, tree: ast.Module)
scripts/verify_import_hoist.py:377
↓ 139 callersMethodstart
(audioTrack?: MediaStreamTrack)
studio/frontend/src/speech-recognition.d.ts:43
↓ 137 callersMethodread
(self)
studio/backend/tests/test_llama_stats.py:104
↓ 122 callersMethodclear
(self)
studio/backend/core/inference/api_monitor.py:272
↓ 119 callersMethodfrom_pretrained
( model_name = "unsloth/Llama-3.2-11B-Vision-Instruct-bnb-4bit", max_seq_length = 2048,
unsloth/models/loader.py:937
↓ 118 callersMethoditem
(index: number)
studio/frontend/src/speech-recognition.d.ts:17
↓ 118 callersFunctiononUpdate
(patch: Partial<NodeConfig>)
studio/frontend/src/features/recipe-studio/components/recipe-graph-node.tsx:298
↓ 115 callersMethodis_set
(self)
unsloth_cli/tests/test_studio_cloudflare_flag.py:296
↓ 111 callersFunctionmake_host
(**overrides)
tests/studio/install/test_selection_logic.py:109
↓ 110 callersMethodis_dir
(self)
studio/backend/tests/test_cached_gguf_routes.py:455
↓ 107 callersMethodset
(self, key: str, value: Any)
studio/backend/plugins/data-designer-github-repo-seed/src/data_designer_github_repo_seed/scraper_impl/state_store.py:36
↓ 105 callersMethodupdate
(self, key: str, **kwargs)
studio/backend/plugins/data-designer-github-repo-seed/src/data_designer_github_repo_seed/scraper_impl/state_store.py:41
↓ 104 callersMethoddelete
(key: K)
studio/frontend/src/features/hub/lib/lru-map.ts:39
↓ 100 callersMethod_estimate_kv_cache_bytes
( self, n_ctx, cache_type = None, n_parallel = 1, **_k, )
studio/backend/tests/test_mtp_vram_budget.py:139
↓ 97 callersMethodopen
( self, req, timeout = None, )
studio/backend/tests/test_gemini_provider.py:2960
↓ 90 callersMethodadd
(self, name: str, b: Binding)
scripts/verify_import_hoist.py:105
↓ 86 callersMethodfail
(self, entry_id: Optional[str], error: str)
studio/backend/core/inference/api_monitor.py:215
↓ 81 callersMethodis_dir
(self)
studio/backend/hub/tests/test_model_services.py:217
↓ 81 callersFunctionlog
(message: str)
studio/install_llama_prebuilt.py:472
↓ 80 callersFunctionreadString
(value: unknown)
studio/frontend/src/features/recipe-studio/utils/import/helpers.ts:10
↓ 77 callersFunctionget_logger
Get a bound structured logger for a module (name is usually __name__).
studio/backend/loggers/handlers.py:174
↓ 76 callersMethodreshape
(self, *_args, **_kwargs)
tests/test_multi_image_grpo_chunking.py:140
↓ 74 callersFunction_extract_evidence
Pull matching lines as evidence snippets (``max_matches=0`` means all). Records every matching line in full, not a truncated sample, so an extra
scripts/scan_packages.py:1363
↓ 73 callersFunction_capture_body
Drive a single stream and return the captured outbound request body.
studio/backend/tests/test_gemini_provider.py:91
↓ 67 callersFunctionfetch_text
Fetch a file from GitHub raw. None on 404; skips on transient network errors.
tests/version_compat/_fetch.py:15
↓ 65 callersFunctioncalculate_cost
Return a per-turn USD cost breakdown (per-bucket + total). Unknown model -> ``priced`` False and USD fields 0.0 (token counts still report).
studio/backend/core/inference/pricing.py:106
↓ 64 callersMethodput
Receive new token IDs from model.generate().
studio/backend/core/inference/inference.py:84
↓ 63 callersFunctionmake_release
(artifacts, **overrides)
tests/studio/install/test_selection_logic.py:147
↓ 63 callersMethodupdate
(self, *a, **k)
tests/_zoo_aggressive_cuda_spoof.py:183
↓ 62 callersMethodcpu
(self)
tests/test_multi_image_grpo_chunking.py:137
↓ 62 callersMethodsnapshot
( self, *, include_details: bool = True, subject: Optional[str] = None, )
studio/backend/core/inference/api_monitor.py:237
↓ 61 callersMethod_update_progress
Update training progress and notify callbacks
studio/backend/core/training/trainer.py:243
↓ 61 callersMethodfinish
(self)
studio/backend/routes/inference.py:7823
↓ 60 callersFunction_sse
(delta: dict)
studio/backend/tests/test_llama_cpp_tool_loop.py:28
↓ 60 callersMethodsave_pretrained
(self, *args, **kwargs)
tests/saving/test_patch_saving_none_tokenizer.py:42
↓ 60 callersMethodwarning_once
(self, *args, **kwargs)
tests/saving/test_preserve_tokenizer_eos_token.py:9
↓ 59 callersFunction_wire
(monkeypatch, *, enabled, resolves_to, backend, recorder)
studio/backend/tests/test_openai_auto_switch.py:63
↓ 59 callersMethoddecode
( self, token_ids, skip_special_tokens = False, )
tests/test_raw_text.py:89
↓ 59 callersMethodis_available
()
studio/backend/tests/test_mlx_inference_backend.py:10
↓ 59 callersFunctionsafe_remove_directory
(path)
tests/utils/cleanup_utils.py:201
↓ 57 callersFunctionextract_arch_config
(hf_config)
studio/backend/utils/hardware/vram_estimation.py:229
↓ 55 callersFunctionget_connection
Open studio.db with WAL mode, create tables once per process, enable foreign keys.
studio/backend/storage/studio_db.py:503
↓ 55 callersMethodwhich
(cmd)
tests/studio/install/test_rocm_support.py:489
↓ 54 callersMethodabort
()
studio/frontend/src/speech-recognition.d.ts:45
↓ 54 callersFunctionmake_artifact
(asset_name, **overrides)
tests/studio/install/test_selection_logic.py:131
↓ 53 callersFunction_done
()
studio/backend/tests/test_llama_cpp_tool_loop.py:32
↓ 53 callersMethodclear
()
studio/frontend/src/features/hub/lib/lru-map.ts:43
↓ 53 callersFunctionget_transformers_tier
Return the transformers tier required for *model_name*. Returns ``"510"`` for models needing transformers 5.10.x (Gemma 4 Unified), ``"550"``
studio/backend/utils/transformers_version.py:1116
↓ 53 callersFunctionis_vision_model
Detect VLMs via the config architecture (works for fine-tunes); transformers-5.x models are checked in a .venv_t5/ subprocess. Cached per (model_n
studio/backend/utils/models/model_config.py:798
↓ 52 callersMethodapply_chat_template
(self, *args, **kwargs)
unsloth/tokenizer_utils.py:1246
↓ 52 callersMethodpost
(self, *args, **kwargs)
studio/backend/tests/test_export_absolute_paths.py:43
↓ 51 callersFunctionhas_def
Grep for `class Name`, `def name`, or `Name = ...` at any indent (no ast.parse).
tests/version_compat/_fetch.py:33
↓ 51 callersFunctioninfo
(s)
tests/studio/playwright_chat_ui.py:66
↓ 51 callersFunctionparse_tool_calls_from_text
( content: str, *, id_offset: int = 0, allow_incomplete: bool = True, )
studio/backend/core/inference/tool_call_parser.py:16
↓ 51 callersMethodwrite
(self, data)
studio/backend/tests/test_server_disk_logging.py:38
↓ 50 callersFunction_isclose
( a, b, tol = 1e-6, )
studio/backend/tests/test_pricing.py:24
↓ 49 callersMethodclose
No-op — the underlying client is shared across requests.
studio/backend/core/inference/external_provider.py:6199
↓ 48 callersMethoddim
Embedding width, probed via a 1-text encode and cached per model (_resolve_model_path clears it when the effective repo changes). Unlo
studio/backend/core/rag/embed_llama_server.py:491
↓ 48 callersMethodis_alive
(self)
studio/backend/tests/test_training_xet_fallback.py:102
↓ 48 callersFunctionrun
()
studio/backend/tests/test_gemini_provider.py:133
↓ 47 callersFunction_friendly_error
Extract a user-friendly message from known llama-server errors.
studio/backend/routes/inference.py:128
↓ 47 callersFunction_import_mlx_unsloth
Import unsloth and skip when the current platform is not using MLX.
tests/python/test_mlx_public_trainer_api.py:18
↓ 47 callersFunctionuseT
()
studio/frontend/src/i18n/index.ts:33
↓ 45 callersMethodwarning
(self, *args, **kwargs)
studio/backend/hub/tests/test_model_services.py:128
↓ 44 callersMethodaclose
(self)
studio/backend/tests/test_llama_route_timeouts.py:179
↓ 43 callersFunctioncompute_lora_params
(arch: ModelArchConfig, lora_rank: int, target_modules: list)
studio/backend/utils/hardware/vram_estimation.py:910
↓ 43 callersFunctionlog_and_http_error
Log ``error`` in full server-side and return an ``HTTPException`` whose ``detail`` is only ``public_message`` -- never the raw exception text.
studio/backend/utils/utils.py:51
↓ 43 callersFunctionsource_archive_logical_name
(upstream_tag: str)
studio/install_llama_prebuilt.py:630
↓ 42 callersMethodfind_spec
( self, fullname, path = None, target = None, )
unsloth/import_fixes.py:2341
↓ 42 callersFunctionget_llama_cpp_backend
()
studio/backend/routes/inference.py:2266
next →1–100 of 18,583, ranked by callers