Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
winer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
winer
Commits
679a70c2
Commit
679a70c2
authored
2 years ago
by
Wiktor Walentynowicz
Browse files
Options
Downloads
Patches
Plain Diff
Change dependencies installation for CPU image.
parent
a575a27f
Branches
Branches containing commit
1 merge request
!5
Develop
Pipeline
#6874
passed with stage
in 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+3
-0
3 additions, 0 deletions
Dockerfile
requirements.txt
+0
-2
0 additions, 2 deletions
requirements.txt
with
3 additions
and
2 deletions
Dockerfile
+
3
−
0
View file @
679a70c2
FROM
python:3.10
RUN
wget https://download.pytorch.org/whl/cpu/torch-1.13.0%2Bcpu-cp310-cp310-linux_x86_64.whl
RUN
python3
-m
pip
install
./torch-1.13.0+cpu-cp310-cp310-linux_x86_64.whl
&&
rm
torch-1.13.0+cpu-cp310-cp310-linux_x86_64.whl
COPY
requirements.txt requirements.txt
RUN
python3
-m
pip
install
-r
requirements.txt
&&
rm
requirements.txt
...
...
This diff is collapsed.
Click to expand it.
requirements.txt
+
0
−
2
View file @
679a70c2
--index-url https://download.pytorch.org/whl/cpu
torch
==1.13.0
--index-url https://pypi.clarin-pl.eu/simple/
nlp_ws
winer
==0.3.1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment