Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

test: add gpu test for set embedding #164

Merged
merged 6 commits into from
Oct 23, 2021
Merged

test: add gpu test for set embedding #164

merged 6 commits into from
Oct 23, 2021

Conversation

bwanglzu
Copy link
Member

@bwanglzu bwanglzu commented Oct 23, 2021

#163 (comment)

  1. add gpu test for set_embeddings.
  2. fix pytorch error, model not placed to gpu device.

@github-actions github-actions bot added size/s area/testing This issue/PR affects testing labels Oct 23, 2021
@codecov
Copy link

codecov bot commented Oct 23, 2021

Codecov Report

Merging #164 (61ffa3b) into main (43480cc) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #164      +/-   ##
==========================================
+ Coverage   85.70%   85.71%   +0.01%     
==========================================
  Files          25       25              
  Lines        1189     1190       +1     
==========================================
+ Hits         1019     1020       +1     
  Misses        170      170              
Flag Coverage Δ
finetuner 85.71% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
finetuner/embedding.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43480cc...61ffa3b. Read the comment docs.

@bwanglzu bwanglzu marked this pull request as ready for review October 23, 2021 14:34
@bwanglzu bwanglzu requested a review from hanxiao October 23, 2021 14:34
@hanxiao hanxiao merged commit 0d8e0b5 into main Oct 23, 2021
@hanxiao hanxiao deleted the test-gpu-set-embedding branch October 23, 2021 16:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants