Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M metaseq
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 95
    • Issues 95
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 41
    • Merge requests 41
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • metaseq
  • Issues
  • #35
Closed
Open
Issue created May 04, 2022 by Administrator@rootOwner

175B download script downloads with api key appended to filename

Created by: tsor13

🐛 Bug

When you run the download_opt17b.sh script to download the weights, it currently downloads as "checkpoint_last-model-part--shard.pt?&Policy=<policy_key>" instead of just "checkpoint_last-model-part--shard.pt".

To Reproduce

Steps to reproduce the behavior (always include the command you ran):

  1. Run cmd 'bash metaseq/scripts/download_opt175b.sh "<presigned_url_given_in_email>"'
  2. Run cmd ls *pt*

Code sample

I believe this is an easy fix, just change wget "${presigned_url/$str_to_replace/$filename}" to wget -O "$filename" "${presigned_url/$str_to_replace/$filename}"

Expected behavior

I would expect it to save it in the form of ....pt files.

Environment

  • fairseq Version (e.g., 1.0 or master): master
  • PyTorch Version (e.g., 1.0)
  • OS (e.g., Linux): Ubuntu
  • How you installed fairseq (pip, source): source
  • Build command you used (if compiling from source):
  • Python version:
  • CUDA/cuDNN version:
  • GPU models and configuration:
  • Any other relevant information:
  • wget version: 1.20.3-1ubuntu1

Additional context

Assignee
Assign to
Time tracking