mirror of
https://github.com/huggingface/xet-core.git
synced 2026-06-04 13:30:29 +08:00
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -195,7 +195,7 @@ jobs:
|
||||
with:
|
||||
name: dbg-musllinux-${{ matrix.python-version }}-${{ matrix.platform.target }}
|
||||
path: hf_xet/dbg
|
||||
- name: Upload wheels with seperated debug symbols
|
||||
- name: Upload wheels with separated debug symbols
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels-musllinux-${{ matrix.python-version }}-${{ matrix.platform.target }}
|
||||
|
||||
@@ -267,7 +267,7 @@ AddChunk(file[ChunkStart...])
|
||||
|
||||
\begin_layout Standard
|
||||
(Note that this simplified formulation does not cover more advanced procedures
|
||||
like the the low variance chunking method in the Git Is for Data Paper,
|
||||
like the low variance chunking method in the Git Is for Data Paper,
|
||||
nor the adaptive chunking method in FastCDC).
|
||||
\end_layout
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ use hub_client::{HFRepoType, RepoInfo};
|
||||
|
||||
use crate::errors::{GitXetError, Result};
|
||||
|
||||
// This mod implements funtionalities to handle Git remote URLs, especially tailored for
|
||||
// This mod implements functionalities to handle Git remote URLs, especially tailored for
|
||||
// Git LFS and Hugging Face repo needs, including deriving Git LFS server endpoint from
|
||||
// Git remote URL and handling HF specific repo types.
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ pub enum InitRequest {
|
||||
pub struct InitRequestInner {
|
||||
pub remote: String, // the Git remote, this can either be a remote name like "origin" or a remote URL
|
||||
pub concurrent: bool, // if git-lfs will split the transfer workload
|
||||
pub concurrenttransfers: Option<u32>, /* the number of custom tranfer agent processes that git-lfs will spawn
|
||||
pub concurrenttransfers: Option<u32>, /* the number of custom transfer agent processes that git-lfs will spawn
|
||||
* Note that this reflects the value of "lfs.concurrenttransfers" in Git config,
|
||||
* and is just an "FYI" to each agent process. git-lfs splits the transfer workload evenly
|
||||
* between the agent processes.
|
||||
|
||||
@@ -6,7 +6,7 @@ use crate::file_structs::MDBFileInfo;
|
||||
#[cfg_attr(target_family = "wasm", async_trait::async_trait(?Send))]
|
||||
pub trait FileReconstructor<E> {
|
||||
/// Returns a pair of (file reconstruction information, maybe shard ID)
|
||||
/// Err(_) if an error occured
|
||||
/// Err(_) if an error occurred
|
||||
/// Ok(None) if the file is not found.
|
||||
async fn get_file_reconstruction_info(
|
||||
&self,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// Convert a usize into an output string, chooosing the nearest byte prefix.
|
||||
/// Convert a usize into an output string, choosing the nearest byte prefix.
|
||||
///
|
||||
/// # Arguments
|
||||
/// * `v` - the size in bytes
|
||||
|
||||
Reference in New Issue
Block a user