"vscode:/vscode.git/clone" did not exist on "5e7f085fcc944ca3c6f99a34ff1cad6a38ef6685"
  1. 06 May, 2024 6 commits
    • Lucain's avatar
      Respect `resume_download` deprecation (#30620) · 835de4c8
      Lucain authored
      
      
      * Deprecate resume_download
      
      * remove default resume_download value
      
      ---------
      Co-authored-by: default avatarLysandre Debut <hi@lysand.re>
      835de4c8
    • Nate Cibik's avatar
      Trainer - add cache clearing and the option for batched eval metrics computation (#28769) · df475bf8
      Nate Cibik authored
      * Added cache clearing for GPU efficiency.
      
      * Added cache clearing for GPU efficiency.
      
      * Added batch_eval_metrics capability
      
      * Ran make fixup
      
      * Fixed bug
      
      * Fixed whitespace issue
      
      * Fixed outdated condition
      
      * Updated docstrings with instructions for batch_eval_metrics. Updated end of dataloader logic
      
      * Added first version of batch_eval_metrics Trainer test
      
      * Fixed batch_eval_metrics Trainer tests for both eval and predict
      
      * Fixed batch_eval_metrics behavior for new Trainer variables
      
      * Fixed batch_eval_metrics Trainer tests
      
      * Ran fixup
      df475bf8
    • Clara Pohland's avatar
      Trainer._load_from_checkpoint - support loading multiple Peft adapters (#30505) · e0769530
      Clara Pohland authored
      
      
      * Trainer: load checkpoint model with multiple adapters
      
      * Trainer._load_from_checkpoint support multiple active adapters
      
      * PeftModel.set_adapter does not support multiple adapters yet
      
      * Trainer._load_from_checkpoint test multiple adapters
      
      ---------
      Co-authored-by: default avatarClara Luise Pohland <clara-luise.pohland@telekom.de>
      e0769530
    • Marc Sun's avatar
      Fix llava next tie_word_embeddings config (#30640) · aa64f086
      Marc Sun authored
      
      
      * fix llava next embedding
      
      * add docstring
      
      * Update src/transformers/models/llava_next/configuration_llava_next.py
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      
      ---------
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      aa64f086
    • jiaqianjing's avatar
    • Arthur's avatar
      [`CI update`] Try to use dockers and no cache (#29202) · 307f632b
      Arthur authored
      
      
      * change cis
      
      * nits
      
      * update
      
      * minor updates
      
      * [push-ci-image]
      
      * nit [push-ci-image]
      
      * nitsssss
      
      * [build-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * both
      
      * [push-ci-image]
      
      * this?
      
      * [push-ci-image]
      
      * pypi-kenlm needs g++
      
      * [push-ci-image]
      
      * nit
      
      * more nits [push-ci-image]
      
      * nits [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * add vision
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * add new dummy file but will need to update them [push-ci-image]
      
      * [push-ci-image]
      
      * show package size as well
      
      * [push-ci-image]
      
      * potentially ignore failures
      
      * workflow updates
      
      * nits [push-ci-image]
      
      * [push-ci-image]
      
      * fix consistency
      
      * clean nciida triton
      
      * also show big packages [push-ci-image]
      
      * nit
      
      * update
      
      * another one
      
      * line escape?
      
      * add accelerate [push-ci-image]
      
      * updates [push-ci-image]
      
      * nits to run tests, no push-ci
      
      * try to parse skip reason to make sure nothing is skipped that should no be skippped
      
      * nit?
      
      * always show skipped reasons
      
      * nits
      
      * better parsing of the test outputs
      
      * action="store_true",
      
      * failure on failed
      
      * show matched
      
      * debug
      
      * update short summary with skipped, failed and errors
      
      * nits
      
      * nits
      
      * coolu pdates
      
      * remove docbuilder
      
      * fix
      
      * always run checks
      
      * oups
      
      * nits
      
      * don't error out on library printing
      
      * non zero exi codes
      
      * no warning
      
      * nit
      
      * WAT?
      
      * format nit
      
      * [push-ci-image]
      
      * fail if fail is needed
      
      * [push-ci-image]
      
      * sound file for torch light?
      
      * [push-ci-image]
      
      * order is important [push-ci-image]
      
      * [push-ci-image] reduce even further
      
      * [push-ci-image]
      
      * use pytest rich !
      
      * yes [push-ci-image]
      
      * oupsy
      
      * bring back the full traceback, but pytest rich should help
      
      * nit
      
      * [push-ci-image]
      
      * re run
      
      * nit
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * empty push to trigger
      
      * [push-ci-image]
      
      * nit? [push-ci-image]
      
      * empty
      
      * try to install timm with no deps
      
      * [push-ci-image]
      
      * oups [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image] ?
      
      * [push-ci-image] open ssh client for git checkout fast
      
      * empty for torch light
      
      * updates [push-ci-image]
      
      * nit
      
      * @v4 for checkout
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * fix fetch tests with parallelism
      
      * [push-ci-image]
      
      * more parallelism
      
      * nit
      
      * more nits
      
      * empty to re-trigger
      
      * empty to re-trigger
      
      * split by timing
      
      * did not work with previous commit
      
      * junit.xml
      
      * no path?
      
      * mmm this?
      
      * junitxml format
      
      * split by timing
      
      * nit
      
      * fix junit family
      
      * now we can test if the xunit1 is compatible!
      
      * this?
      
      * fully list tests
      
      * update
      
      * update
      
      * oups
      
      * finally
      
      * use classname
      
      * remove working directory to make sure the path does not interfere
      
      * okay no juni should have the correct path
      
      * name split?
      
      * sort by classname is what make most sense
      
      * some testing
      
      * naem
      
      * oups
      
      * test something fun
      
      * autodetect
      
      * 18?
      
      * nit
      
      * file size?
      
      * uip
      
      * 4 is best
      
      * update to see versions
      
      * better print
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * please install the correct keras version
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * uv is fucking me up
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * nits
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * install issues an pins
      
      * tapas as well
      
      * nits
      
      * more paralellism
      
      * short tb
      
      * soundfile
      
      * soundfile
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * oups
      
      * [push-ci-image]
      
      * fix some things
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * use torch-light for hub
      
      * small git lfs for hub job
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * fix tf tapas
      
      * [push-ci-image]
      
      * nits
      
      * [push-ci-image]
      
      * don't update the test
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * no use them
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * update tf proba
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * woops
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * test with built dockers
      
      * [push-ci-image]
      
      * skip annoying tests
      
      * revert fix copy
      
      * update test values
      
      * update
      
      * last skip and fixup
      
      * nit
      
      * ALL GOOOD
      
      * quality
      
      * Update tests/models/layoutlmv2/test_image_processing_layoutlmv2.py
      
      * Update docker/quality.dockerfile
      Co-authored-by: default avatarLysandre Debut <hi@lysand.re>
      
      * Update src/transformers/models/tapas/modeling_tf_tapas.py
      Co-authored-by: default avatarLysandre Debut <hi@lysand.re>
      
      * Apply suggestions from code review
      Co-authored-by: default avatarLysandre Debut <hi@lysand.re>
      
      * use torch-speed
      
      * updates
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      * fuck ken-lm [push-ci-image]
      
      * [push-ci-image]
      
      * [push-ci-image]
      
      ---------
      Co-authored-by: default avatarLysandre Debut <hi@lysand.re>
      307f632b
  2. 03 May, 2024 4 commits
  3. 02 May, 2024 13 commits
  4. 01 May, 2024 6 commits
  5. 30 Apr, 2024 9 commits
    • Yih-Dar's avatar
      Remove `use_square_size` after loading (#30567) · 78fdd64d
      Yih-Dar authored
      
      
      * fix
      
      * add test
      
      ---------
      Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
      78fdd64d
    • Raushan Turganbay's avatar
      Fix generation doctests (#30263) · b8ac4d03
      Raushan Turganbay authored
      * fix doctest
      
      * fix torch doctest
      
      * make CI happy
      
      * raise error
      
      * make fixup
      b8ac4d03
    • DarshanDeshpande's avatar
      Add chat templating support for KeyDataset in text-generation pipeline (#30558) · 2ecefc39
      DarshanDeshpande authored
      * added chat templating support for keydataset in generation pipeline
      
      * fixed and improved test
      
      * fix formatting test failures
      
      * Fix tests
      
      * Fix tests
      2ecefc39
    • Jiarui Xu's avatar
      BlipModel: get_multimodal_features method (#30438) · 0cdb6b3f
      Jiarui Xu authored
      * add_blip_get_multimodal_feautres
      
      * Fix docstring error
      
      * reimplement get_multimodal_features
      
      * fix error
      
      * recheck code quality
      
      * add new necessary tests
      0cdb6b3f
    • Anton Vlasjuk's avatar
      Fix seq2seq collator padding (#30556) · 9112520b
      Anton Vlasjuk authored
      * fix seq2seq data collator to respect the given padding strategy
      
      further added tests for the seq2seq data collator in the style of the `data_collator_for_token_classification` (pt, tf, np)
      
      * formatting and change bool equals "==" to "is"
      
      * add missed return types in tests
      
      * update numpy test as it can handle unequal shapes, not like pt or tf
      9112520b
    • Joao Gante's avatar
      DBRX: make fixup (#30578) · 78a57c5e
      Joao Gante authored
      78a57c5e
    • Joao Gante's avatar
      75bbfd5b
    • Jacky Lee's avatar
      Enable multi-device for more models (#30409) · 0ae789e0
      Jacky Lee authored
      * feat: support for dinov2
      
      * feat: support for depth_anything
      
      * feat: support for efficientformer
      
      * feat: support for bert (is this right?)
      
      * update: embedding split
      
      * remove: empty string
      
      * feat: support for align
      
      * fix: copies
      
      * fix: QAQBertEmbeddings
      
      * fix: more consistency issues
      
      * revert: support for effientformer
      
      * feat: support for altclip
      
      * feat: support for blip_text
      
      * support for ChineseCLIP
      
      * feat: support for depth anything
      
      * feat: support for dpt
      
      * feat: support for dpt
      
      * feat: support for git
      
      * feat: support for groupvit
      
      * update: format
      
      * fix: support for clip
      
      * fix: consistency
      
      * feat: support for pvt
      
      * feat: support for vit_msn
      
      * fix: consistency
      
      * fix: other copies
      
      * remove: device transfer
      
      * revert: in-place add
      
      * update: support for align
      
      * update: support for bert
      
      * update: support for Chinese CLIP
      
      * revert: changes to efficientformer
      
      * update: support for dpt
      
      * update: support for efficientformer
      
      * revert: changes to git
      
      * revert: changes to groupvit
      
      * revert: changes to roc_bert
      
      * update: support for vit_msn
      
      * revert: changes to dpt
      
      * remove: extra space
      
      * style: extra space
      0ae789e0
    • Raushan Turganbay's avatar
      Pass `use_cache` in kwargs for GPTNeoX (#30538) · c712d05a
      Raushan Turganbay authored
      pass use_cache in kwargs
      c712d05a
  6. 29 Apr, 2024 2 commits